memos/web/src/utils
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
..
remark-plugins chore: remove unused syntax 2025-10-27 08:31:57 +08:00
attachment.ts feat: generate thumbnails for images stored in S3 and generate thumbnails with a maximum size (#5179) 2025-10-23 21:29:22 +08:00
i18n.ts feat(web): add quick language and theme switchers to user menu 2025-10-28 22:32:25 +08:00
markdown-list-detection.ts refactor: update markdown parser 2025-10-26 11:28:40 +08:00
markdown-manipulation.ts refactor: update markdown parser 2025-10-26 11:28:40 +08:00
memo.ts chore: update url of memo detail page 2025-02-07 20:51:04 +08:00
theme.ts feat(web): add quick language and theme switchers to user menu 2025-10-28 22:32:25 +08:00
user.ts chore: fix user checks 2024-09-03 20:48:23 +08:00
uuid.ts feat: implement memo chat frontend (#1938) 2023-07-14 13:09:21 +08:00