Complete full-stack activation of Traditional Chinese (zh-tw) on top of #3064 and #3065:
- Review and refine 683 app.json entries and 9 common.json entries in web/locales/zh-tw/ for Taiwan Traditional Chinese terminology (fixing OpenCC s2twp artifacts and mainland variants such as 許可權→權限, 賬號/賬戶→帳號/帳戶, 回撥→回呼, 自定義→自訂, 閘道器→閘道, 例項→實例, 只讀→唯讀, 憑據→憑證, 服務端→伺服器端, 配置檔案→設定檔, 地址→位址, 埠→連接埠, 映象→映像/鏡像, and curly quotes→「」) while keeping every key, placeholder, code span, and URL intact.
- Add language.chinese_traditional ("繁體中文") across all 14 web locale catalogs (and portuguese_unchanged_ui.json).
- Register zh-tw in web/i18n/languages.ts (preserving zh-tw/zh-hk/zh-mo/zh-hant before zh), dynamic loader web/i18n/init.ts, and web/lib/datetime.ts (zh-TW).
- Add complete Traditional Chinese Desktop shell copy in apps/desktop/src/i18n.mjs and register zh-tw in apps/desktop/src/main.mjs with zh-tw/zh-hant normalization.
- Wire zh-tw into backend deterministic copy and settings: settings_spec.py, runtime/banner.py, services/i18n.py, book/overview_copy.py, book/export.py, book/language.py, api/routers/quiz_judge.py (+ router_index.json), and zh-hk/zh-mo/zh-hant/繁體中文 handling in interface_languages.py and interface_settings.py (_normalize_response_language).
- Add full-stack regression coverage in tests/i18n/test_traditional_chinese_locale.py, apps/desktop/test/i18n.test.mjs, web/tests/language-preferences.test.ts, web/tests/account-role.test.ts, and tests/book/test_overview_copy.py.
Related to #2933
Related to #684
Restore z-40 on the floating settings overlay so the Windows desktop frame audits pass.
Use explicit asyncio.Runner contexts in the Copilot login test so GraphRAG's asyncio patch cannot leave the first event loop open. Includes the fix from #3206.
Web Node Tests and Python 3.12 CI passed.
The Windows desktop frame audit expects the settings shell at z-index 40.
The Claude-style floating card (#2918) dropped the class while moving the
shell to a fixed overlay, so the scrim and card could fall behind the app
surface. Restore z-40.
The sidebar glyph cache is module-scope, so it survived a logout. On an
authenticated deployment the next account's first paint could show the
previous account's workspace name, and a stale cached error could render
after the endpoint recovered.
Move the cache into lib/chat-workspaces-cache.ts and reset it from
invalidateAuthStatusCache(): login, logout and the cross-tab auth
boundary all pass through that function. The hook stays the only reader
and writer of the rows.
Add tests for resetting the cache, for the empty remount after a reset,
and for auth invalidation clearing the rows.
* fix(runtime): keep the Windows kill round distinct from terminate
* test(runtime): let dead-owner recovery settle on Windows
A just-exited PID stays visible to psutil for a few milliseconds on Windows, so one immediate recovery tick can defer without being wrong. Poll with a bounded deadline instead of asserting the very first tick.
---------
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
_remove_element used parent.remove(el), which in lxml also drops el.tail,
so text after a stripped button, icon or aria-hidden span was lost
("The answer is <span aria-hidden>*</span>42." became "The answer is").
Move the tail onto the previous sibling or the parent before removing.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>