Repository navigation
improve(ui): read the model defaults as one row list - #191380
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR groups related model defaults, standardizes control sizing and label casing, and moves discovery feedback into the section header. Example: Open Settings → Models on a desktop.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored UI improvement is useful, but the discovery indicator introduces overlapping text on localized phone layouts. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI renders Gateway-provided model catalogs and saved defaults through existing settings components; selection callbacks continue to use the existing configuration mutation owner. flowchart TD
A[Gateway catalog and configuration] --> B[Models page]
B --> C[DefaultModels view]
C --> D[Shared settings controls]
C --> E[Discovery header feedback]
D --> F[Existing configuration mutations]
F --> A
Technical reviewBest possible solution: Keep the existing owners and compact controls, but reserve nonoverlapping header space for localized discovery feedback. Do we have a high-confidence way to reproduce the issue? The CSS and shipped French strings establish the overlap path at a 390px viewport during discovery; this review did not execute a browser reproduction. Is this the best way to solve the issue? Reordering existing rows and removing local sizing overrides is appropriately small, but absolute positioning needs a layout that accounts for the heading's actual width. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 99e521412641. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +13, Tests 0. Total +13 across 12 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 2, 2026, 1:40 PM ET / 18:40 UTC. |
improve(ui): read the model defaults as one row list
What Problem This Solves
Defaults for all agents already use setting rows, but they don't read as a short list. Pickers are 48px beside 36px segmented controls, the order mixes the main model's settings with utility and decision settings, the card ends in about 58px of blank space reserved for a discovery message, and labels mix Title Case with sentence case.
User Impact
The main model's settings come first: Model, Fallback model, Thinking, Fast mode. Utility model, Utility fallback model and Decision model follow. Every control is the standard settings height and 340px wide, and the card ends at its last row. Discovering more models now reports on the section's heading line, so nothing moves when it comes and goes. A discovery failure takes its own line because it has to be read and retried.
Why This Change Was Made
The original finding, a label and select grid instead of row anatomy, no longer holds on main, so this changes what was still off: control size, order, the reserved hole, casing and a subtitle that repeated the section title.
Decision modelandFast modechange in the shared strings, so other surfaces that use them get sentence case as well.Evidence
Mock data layer with real components. Provider rows below the defaults are unchanged here.
Checks: oxfmt, oxlint, stylelint,
tsgo:ui,ui:check-performance:base, Models page unit tests, the select picker browser test, and themodel-providers-layout(including the no-move assertion during discovery),settings-layout,curated-settings-defaults,model-defaults-capabilities,model-defaults-recoveryandmodel-providers-helpe2e suites pass.ui:i18n:checkreports drift for the changed English strings, which the locale refresh workflow translates after merge.