Commit Graph

5 Commits

Author SHA1 Message Date
Zhicheng Han c2068302c3 feat: enhance usage analytics dashboard (#666)
- visualize input, output, and cache token segments in usage charts
- add usage period selector for 7d, 30d, 90d, and 365d
- guard usage stats against stale overlapping period requests
- normalize blank model usage into unknown buckets
- add client and server coverage for usage analytics behavior
2026-05-13 07:41:49 +08:00
Zhicheng Han c36b320e18 fix: prompt reload for stale Web UI bundle (#641) 2026-05-12 09:03:07 +08:00
ekko e6a0f5b6f2 fix: sync zh-TW locale with zh (add model alias and visibility keys) (#635)
Add missing keys: removeCustomModel, aliasEdit/Title/Placeholder/etc
(10 alias keys), and visibilitySelectOne to match zh.ts.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 22:33:34 +08:00
ekko 7b781b4f42 chore: update 0.5.17 changelog with all merged PRs since 0.5.16 (#633)
Expand changelog from 5 to 25 entries covering all changes:
comic theme, kanban parity, model visibility, TTS settings,
Windows/Termux compat, YAML parsing, gateway ownership, etc.

Also backfill zh-TW locale with missing keys (changelog, model
visibility, TTS rate/pitch).

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 22:15:41 +08:00
Weil Jimmer c6fb449a19 feat(client): add Traditional Chinese (zh-TW) language support (#612)
* feat(client): add Traditional Chinese (zh-TW) language support

Update language switcher and i18n configuration to include Traditional Chinese.
Modify locale resolution to prioritize exact matches (zh-TW) over base codes (zh),
ensuring accurate browser language detection. Add complete translation set.

Co-authored-by: Copilot <copilot@github.com>

* feat(i18n): improve BCP-47 locale resolution and browser languages

Refactor resolveLocale to use a normalize helper that correctly maps BCP-47 tags to supported locale keys, properly distinguishing Traditional vs Simplified Chinese variants. Additionally, iterate over navigator.languages instead of relying solely on navigator.language to respect the browser's full language preference list.

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-11 21:22:57 +08:00