Repository navigation
improve(ui): stop printing Default in hand-built settings rows - #191409
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 changesRemoves repeated default-value descriptions from Security, Labs, Memory engine, and curated Dreaming settings rows. Example: Open Privacy & Security with browser.enabled explicitly set to true.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the maintainer-approved presentation change is focused and visually demonstrated, but unchanged E2E assertions cause failures that need a narrow test repair. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherControl UI settings components turn configuration projections and plugin presentation metadata into editable rows; existing configuration owners continue handling writes. flowchart LR
A[Gateway configuration] --> B[Configuration owners]
C[Plugin presentation metadata] --> D[Settings components]
B --> D
D --> E[Visible controls]
E --> B
Technical reviewBest possible solution: Keep the presentation deletions and update affected E2E assertions while preserving configuration persistence and inheritance checks. Do we have a high-confidence way to reproduce the issue? Current-main source and supplied before screenshots establish the repeated descriptions; exact-head CI annotations independently demonstrate the stale E2E expectations. Is this the best way to solve the issue? Directly removing the scoped descriptions is the smallest complete implementation; existing configuration owners, controls, and remaining shared-description consumers are appropriately retained. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5c46b0b49382. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource -35, Tests -6. Total -41 across 10 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, 2:50 PM ET / 19:50 UTC. |
…law#191409) improve(ui): stop printing Default in hand-built settings rows
What Problem This Solves
Hand-built settings rows add "Default: Enabled" under any value that was set explicitly, including a value that already equals the default. It reads like a second description and says nothing about what the row does.
User Impact
Privacy & Security, Labs, the Memory engine and the Dreaming settings no longer print "Default:" in their rows. The Dreaming model picker and text inputs still show their default as the first option and the placeholder.
Why This Change Was Made
Generated forms are handled by #191375, which moves their default into the "?", and the Appearance page drops it in #191303. Devices exec approvals stay with the Devices work, and the Dreams header stays with #191362.
SettingsDefaultDescriptionstays until those land.Evidence
Real clicks against an isolated local Gateway with
browser.enabledset, so the row printed its default.oxfmt,oxlint,tsgo:ui,ui:i18n:verifyand the Security, Memory, Curated settings and Labs tests pass.ui:check-performance:basefails on chat boot JS gzip; current main already fails it at 1280046 B against a 1280000 B cap.Before, Absolutely light
After, Absolutely light
After, CRT
After, 390px
curated-settings-defaults.e2enow expects no default narration and passes, withsettings-layout.e2e.