[WEB-3589] improvement: reset language to default on sign out#6775
[WEB-3589] improvement: reset language to default on sign out#6775sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
|
Pull Request Linked with Plane Issues References Comment Automatically Generated by Plane |
WalkthroughThis pull request renames the constant used for language storage from Changes
Sequence Diagram(s)sequenceDiagram
participant App
participant TranslationStore
participant LocalStorage
App->>TranslationStore: initializeLanguage()
Note right of TranslationStore: Directly set language to FALLBACK_LANGUAGE
TranslationStore->>LocalStorage: Save LANGUAGE_STORAGE_KEY = FALLBACK_LANGUAGE
sequenceDiagram
participant User
participant RootStore
participant LocalStorage
User->>RootStore: signOut()
RootStore->>LocalStorage: Set theme in localStorage
RootStore->>LocalStorage: Set LANGUAGE_STORAGE_KEY = FALLBACK_LANGUAGE
Possibly related PRs
Suggested reviewers
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Definitions (1)packages/i18n/src/store/index.ts (2)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (7)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Type of Change
References
WEB-3589
Summary by CodeRabbit