deepseek-harness/packages/client/ui-theme/tests
creatixchu e5563ae433 fix(locale): gate browser detection on window and tolerate a missing languages list
Node >= 21 exposes a global `navigator` reporting the machine's own language,
so gating detection on `navigator` let a non-browser boot of the client tree
resolve to `en` instead of the documented fallback; `window` is the browser
test. `navigator.languages` is spec-required but absent on some embedders and
older WebViews, where spreading it would throw at boot, so the walk tolerates
its absence and `navigator.language` covers that host.

The per-spec pin boilerplate collapses into one suite-level
`usePinnedBrowserLanguages('zh-CN')`, which owns the rationale in
dsh-client-test-runtime, and the English-browser e2e scenario now clears the
console warnings channel too — its page has no closing inventory spec.
2026-07-31 15:49:59 +08:00
..
appearance-row.spec.tsx refactor(client): archivedSessionIds public face becomes a plain array 2026-07-31 14:08:13 +08:00
apply.spec.ts fix(locale): gate browser detection on window and tolerate a missing languages list 2026-07-31 15:49:59 +08:00
invariant.spec.ts refactor(gui): features register their own settings surfaces 2026-07-26 02:51:36 +08:00
scrollbar-styles.spec.ts test(ui-theme): resolve elevated surfaces from the palette, not from rebinds 2026-07-28 18:31:52 +08:00
settings-store.spec.ts docs(gui): regenerate graphs and sync the note's English pair 2026-07-26 02:54:29 +08:00
theme.spec.ts fix(client): lint conformance for the preference services 2026-07-26 01:30:46 +08:00