hermes-agent/web/src/components
Teknium 00ba8b25a9
fix(web): show current language's flag in switcher, not target (#11262)
The language switcher displayed the *other* language's flag (clicking
the Chinese flag switched to Chinese). This is dissonant — a flag reads
as a state indicator first, so seeing the Chinese flag while the UI is
in English feels wrong. Users expect the flag to reflect the current
language, like every other status indicator.

Flips the flag and label ternaries so English shows UK + EN, Chinese
shows CN + 中文. Tooltip text ("Switch to Chinese" / "切换到英文") still
communicates the click action, which is where that belongs.
2026-04-16 16:36:12 -07:00
..
ui feat: react-router, sidebar layout, sticky header, dropdown component, remove emojis, rounded corners 2026-04-14 00:01:18 -04:00
AutoField.tsx feat: react-router, sidebar layout, sticky header, dropdown component, remove emojis, rounded corners 2026-04-14 00:01:18 -04:00
LanguageSwitcher.tsx fix(web): show current language's flag in switcher, not target (#11262) 2026-04-16 16:36:12 -07:00
Markdown.tsx feat: react-router, sidebar layout, sticky header, dropdown component, remove emojis, rounded corners 2026-04-14 00:01:18 -04:00
ModelInfoCard.tsx feat(web): re-apply dashboard UI improvements on top of i18n 2026-04-14 10:23:43 -04:00
OAuthLoginModal.tsx feat: add internationalization (i18n) to web dashboard — English + Chinese (#9453) 2026-04-13 23:19:13 -07:00
OAuthProvidersCard.tsx feat(web): re-apply dashboard UI improvements on top of i18n 2026-04-14 10:23:43 -04:00
ThemeSwitcher.tsx feat: dashboard theme system with live switching 2026-04-16 02:44:32 -07:00
Toast.tsx feat: dashboard OAuth provider management 2026-04-13 11:18:18 -07:00