memos/web/src/components/Settings
Steven 2371bbb1b7 feat(web): add quick language and theme switchers to user menu
- Add language and theme selector submenus to UserMenu component for quick access
- Refactor shared utilities: extract THEME_OPTIONS constant and getLocaleDisplayName() function
- Update LocaleSelect and ThemeSelect to use shared utilities, eliminating code duplication
- Make UserMenu reactive with MobX observer for real-time setting updates
- Fix language switching reactivity by immediately updating workspaceStore.state.locale
- Add scrollable menu support for language selector (max-h-[90vh])
- Apply same instant locale update to PreferencesSection for consistency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 22:32:25 +08:00
..
AccessTokenSection.tsx feat(web): add accessible ConfirmDialog and migrate confirmations; and Markdown-safe descriptions (#5111) 2025-10-09 00:40:08 +08:00
MemberSection.tsx feat(web): add accessible ConfirmDialog and migrate confirmations; and Markdown-safe descriptions (#5111) 2025-10-09 00:40:08 +08:00
MemoRelatedSettings.tsx fix: adjust badge height 2025-09-02 23:18:11 +08:00
MyAccountSection.tsx feat: migrate dialogs 2025-07-06 22:01:55 +08:00
PreferencesSection.tsx feat(web): add quick language and theme switchers to user menu 2025-10-28 22:32:25 +08:00
SectionMenuItem.tsx chore: fix dark mode 2025-07-05 11:40:49 +08:00
SSOSection.tsx feat(web): add accessible ConfirmDialog and migrate confirmations; and Markdown-safe descriptions (#5111) 2025-10-09 00:40:08 +08:00
StorageSection.tsx chore: tweak links 2025-08-25 19:51:01 +08:00
UserSessionsSection.tsx feat(web): add accessible ConfirmDialog and migrate confirmations; and Markdown-safe descriptions (#5111) 2025-10-09 00:40:08 +08:00
WebhookSection.tsx feat(web): add accessible ConfirmDialog and migrate confirmations; and Markdown-safe descriptions (#5111) 2025-10-09 00:40:08 +08:00
WorkspaceSection.tsx chore: fix linter 2025-08-25 19:52:53 +08:00