Repository navigation
日本語の表示無効化の解禁 - #5288
Merged
Merged
日本語の表示無効化の解禁#5288
Conversation
Contributor
📝 Walkthroughウォークスルー翻訳キーの追加と言語認識型のナビゲーションロジックを導入し、複数言語間での状態遷移を管理する新しいユーティリティを実装しています。有効な言語のトグル制御と対応するテストも含まれます。 変更内容
シーケンス図sequenceDiagram
participant User as ユーザー
participant Settings as EnabledLanguagesSettings
participant Hook as useTransitionHeaderState
participant Utils as enabledLanguages Utils
participant Store as LanguageStore
User->>Settings: 言語トグルをクリック
Settings->>Utils: getToggledEnabledLanguages()
Utils-->>Settings: 更新された言語リスト
Settings->>Utils: isLanguageToggleDisabled()
Utils-->>Settings: トグル可能判定
alt トグル可能の場合
Settings->>Store: enabledLanguagesを更新
Store-->>Hook: 言語状態が変更
Hook->>Hook: enabledLanguagesを再計算
Hook->>Hook: getNextAvailableLang()で次言語を決定
Hook->>Hook: toHeaderTransitionState()で状態遷移を作成
Hook->>Store: headerStateを更新
else トグル不可の場合
Settings->>User: 検証メッセージ表示
end
推定コードレビュー時間🎯 3 (中程度) | ⏱️ ~25 分 関連する可能性のあるPR
推奨ラベル
詩
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Comment |
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.
close #5287
Summary by CodeRabbit
リリースノート
新機能
改善