tahoiya: isMimicryAllowed・スレッド管理改善・メンション追加・テーマ選択アルゴリズム修正#1206
Merged
Conversation
- 「たほいやランキング」コマンドでELOレーティング順位一覧を表示 - 意味を再送信した場合に「登録した」→「編集した」と通知 - モーダル内にコメント入力欄を統合し、ゲーム終了まで非公開で保存・結果発表後に一括公開 - 過去の対戦ログ(第1〜1100回)をGistからFirestoreへ移行するスクリプトを追加 - 実績タイトルを3件変更(任意お題・レーティング500/800) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
えへ~ ありがとう! レビューさせてもらうにゃ! |
Contributor
|
🤖 I'm sorry @hakatashi, but I was unable to process your request. Please see the logs for more details. |
- 任意お題に isMimicryAllowed フラグを追加し、お題登録フォームとsubmitMeaningModalの注意書きを対応 - 1ゲーム1スレッド方式に統一: collectMeaningMessage・collectBettingsMessage・resultsMessageをbroadcastスレッドリプライとして投稿し、親メッセージと全ステータスメッセージを状態変化時に一括更新 - collectBettingsMessageに意味登録者へのメンションブロックを追加 - #fetchAvailableThemes → #selectNextDailyTheme にリネームし、authorHistoryの最古ユーザー優先アルゴリズムに変更 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- select_themeフェーズ中に「たほいや」と発言すると候補を10個選び直し、古い候補メッセージを削除する(新しいメッセージが親メッセージになる) - statusMessageTss(配列)をstatusMessageTs(単一)に変更。新たにステータスメッセージを投稿する際は以前のメッセージを削除する - collectMeaningsMessageのヘッダーをゲーム種別と時刻に応じて変更(通常/デイリー・21時前後) - collectBettingsMessageに出題者表示を追加、「(ゲーム終了)」テキストを削除 - registerThemeArbitraryModalのmimicry_allowedラベルを簡潔化 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
PR #1195 でのフルリライト後のフォローアップ実装です。
実装済み機能
tahoiya_gamesコレクションに移行するスクリプトを追加isMimicryAllowedフラグ: 任意お題モードのお題登録フォームに「参加者が正解を意図的に登録することを許可する」チェックボックスを追加。submitMeaningModalの注意書きも対応して変化するcollectMeaningMessage・collectBettingsMessage・resultsMessageは全てbroadcastスレッドリプライとして投稿authorHistory未掲載ユーザーのお題を優先し、全員が履歴に含まれる場合は最も古いユーザーのお題を選択(authorHistoryリセットを廃止)select_themeフェーズ中(お題候補を提示している状態)に再度「たほいや」と発言すると、新たに10個の候補を選び直し古い候補メッセージを削除。新しいメッセージがゲームの親メッセージになるstatusMessageTss: string[](複数保持)をstatusMessageTs: string | null(単一保持)に変更。「たほいや」「デイリーたほいや」を複数回発言した場合、以前のステータスメッセージを削除してから新しいものを投稿するコメント機能の仕様
views.updateによりモーダルを閉じずに更新(twenty-questionsの質問送信と同じUX)マイグレーションスクリプトの使い方
🤖 Generated with Claude Code