Repository navigation
fix(ui): move language selector to general settings - #104638
vyctorbrzezowski merged 2 commits into
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 11, 2026, 4:11 PM ET / 20:11 UTC. Summary PR surface: Source -3, Tests -14. Total -17 across 7 files. Reproducibility: not applicable. This PR relocates an existing selector rather than fixing a failing runtime contract, and the inspected screenshots establish the before-and-after placement. Review metrics: none identified. Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Land the focused single-owner relocation through normal maintainer handling, keeping the language preference backed by the existing Do we have a high-confidence way to reproduce the issue? Not applicable; this PR relocates an existing selector rather than fixing a failing runtime contract, and the inspected screenshots establish the before-and-after placement. Is this the best way to solve the issue? Yes. Moving the sole selector to ConfigPage's existing Settings workspace and deleting the Overview-specific callback is the narrowest maintainable solution without adding configuration or persistence surface. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e34bff22763d. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source -3, Tests -14. Total -17 across 7 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
Merged via squash.
|
* fix(ui): move language selector to general settings * fix(ui): remove stale settings import
What Problem This Solves
The Control UI language selector currently lives in Overview alongside Gateway connection fields, while Settings > General does not expose the preference.
Why This Change Was Made
This PR moves the existing locale selector and persistence behavior into a full-width General card in Settings. It reuses the existing Control UI select styling and removes the selector from Overview without changing the supported locale list.
User Impact
Users can find and change the Control UI language under Settings > General, where a global interface preference is expected.
Evidence
Before on
origin/mainSettings > General starts with Model & Thinking and has no language preference.
Proposed in this PR
Settings > General includes a full-width General card with the styled language selector.
Validated with:
node scripts/run-vitest.mjs ui/src/pages/config/quick.test.ts ui/src/pages/overview/view.render.test.ts— 29 tests passednode scripts/run-tsgo.mjs -p tsconfig.ui.json --incremental --tsBuildInfoFile /tmp/settings-language-ui.tsbuildinfonode_modules/.bin/oxfmt --check ui/src/pages/config/config-page.ts ui/src/pages/config/quick.test.ts ui/src/pages/config/quick.ts ui/src/pages/overview/overview-page.ts ui/src/pages/overview/view.render.test.ts ui/src/pages/overview/view.ts ui/src/styles/config-quick.cssgit diff --check origin/main...HEAD/overviewand/settings/generalAI-assisted: yes. I reviewed the diff and understand the changes.