feat(dashboard): add language switcher in ThemePicker panel#374
Open
Mowen559 wants to merge 4 commits into
Open
feat(dashboard): add language switcher in ThemePicker panel#374Mowen559 wants to merge 4 commits into
Mowen559 wants to merge 4 commits into
Conversation
- Add setLanguage callback to I18nContext via onLanguageChange prop - Pass setOutputLanguage from App.tsx to I18nProvider - Add Language section in ThemePicker with 6 locale options (English, 简体中文, 繁體中文, 日本語, 한국어, Русский) - Add language field to all 6 locale common sections
…de viewer back button - Add sidebarPosition (left/right) and sidebarCollapsed state to store - Sidebar tab bar now shows position toggle and collapse buttons - Sidebar renders on left or right side based on position setting - Collapsed state shows a thin edge button to re-expand - CodeViewer header adds a back arrow button using nodeHistory/goBackNode - Add i18n keys: sidebar.moveLeft, moveRight, collapse, expand, codeViewer.goBack - All 6 locale files updated (en, zh, zh-TW, ja, ko, ru)
4 tasks
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
Linked issue(s)
How I tested this
pnpm lintpnpm --filter @understand-anything/core testpnpm testVersioning