Repository navigation
Polish Settings and the modals and fix their walk bugs (ENG-2956) - #159
Merged
Merged
Conversation
Owner
Author
|
auto-merge declined: one of five parallel aide polish PRs (ENG-2952 to ENG-2956). The brief asks to open the PR and stop, and the user lands the batch in order (CHANGELOG and ENG-2952's tokens overlap). |
quanticstudios
force-pushed
the
polish-settings
branch
4 times, most recently
from
November 2, 2026 20:03
185c15e to
c857a68
Compare
A custom font that is not installed now falls back to the default stack instead of serif: font-preference quotes each typed family and appends the styles.css default. Jev gate thresholds keep a draft while you type. A value outside 0 to 1, or past its partner bar, stays on screen with the reason under it and is not saved; leaving the field shows the saved value again. The check lives in shared/jev-gates (jevGateThresholdError) so the sidebar can use it too. Jev settings show "Saved" after a save. Settings search no longer leaves the previous category highlighted. Lane routing and Completion check say pitwall chats ignore them, since pitwall's daemon applies only the tool call gate. The unused JevGateControls component, which carried the old fleet copy, is gone. Acknowledge in the update dialog records only the acknowledgement. The health-report disclosure moves out of the HeroUI Switch, whose disabled state dimmed it twice to a quarter opacity. Smaller finish: focus edges on settings inputs, a stable scrollbar gutter, a 13px Animations select, styled Jev buttons, hints and errors, and the Delete workspace and Worktree setup dialogs on the shared surface with a ghost Cancel.
…any case (ENG-2956) Saving on every keystroke stored each valid prefix, so typing 0.907 into Allow below saved 0.9 before the error appeared, widening auto-approval. The field now keeps a draft and saves it on blur or Enter, only when it passes jevGateThresholdError. An invalid draft is dropped and the saved value shows again. fontStack treated "Monospace" as a family name and quoted it, so the stack fell through to Geist. Unquoted generic keywords now match in any case. A quoted generic stays a family name, as CSS reads it.
The Saved confirmation carried role="status", so the form had two status
regions and the e2e lookups of settings.getByRole('status') hit two
elements. aria-live still announces Saved without adding a second status.
…NG-2956) The walk found that Acknowledge also switched sharing on, which reads as reading a disclosure, not opting in. The spec asserted that old behaviour; it now acknowledges, then switches sharing on and off with Space.
…(ENG-2956) healthReportingEnabled defaults to true and only the acknowledgement gates it, so sending the acknowledgement alone still started sharing. Acknowledge now writes reporting off as well, and the switch turns it on. The unit test uses the real default, which the earlier fixture hid.
A switch with a save in flight was disabled, and a disabled input drops keyboard focus, so a second Space after toggling went nowhere. The e2e that toggles health reporting on and back off hit this at its second press. Read-only keeps focus and still ignores presses until the save finishes.
quanticstudios
force-pushed
the
polish-settings
branch
from
November 2, 2026 20:24
255ca2e to
b83ca82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BLUF
Fixes the six walk findings in Settings and the modals, and polishes both to the shared look.
Changes
font-preference.ts: a code or interface font that isn't installed falls back to the default stack instead of serif. Typed families are quoted and the styles.css default goes after them.Monospacematch in any case. A quoted generic stays a family name, as CSS reads it.shared/jev-gates.ts: the rule isjevGateThresholdError, so the sidebar can use it too.healthReportingEnableddefaults to true behind the acknowledgement. Turning on sharing is its own switch.e2e/electron-navigation.spec.ts: the update-health spec asserted the old behaviour, so it now expects sharing to stay off after Acknowledge, then turns it on and off with Space.aria-live, so the readiness line stays the form's onlyrole="status", which the e2e lookups rely on.internal/decide/gates.go).JevGateControls.tsx: deleted. Nothing imported it, and it held a second copy of the fleet text.aria-describedby, so it stays readable while sharing is off.floating-surfaceand a ghost Cancel, like the other dialogs. The Delete checkbox takes the primary accent.--primaryedge. Before this, the caret was the only sign of focus.Linear
ENG-2956
Verification
bun run testpasses. Each fix's new test fails on the code it replaces, including successive keystrokes, blur, Enter and mixed-case generics.bunx tsc --noEmit,bun run test:design-tokensandbun run buildexit 0.bun run checkexits 0. Locally it needs the uncommitted.claude/settings.local.jsonedit set aside.DejaVu Sans Mono, the root--code-font-familyresolves to it followed by the default monospace stack.origin/mainafter Polish the panes and fix their walk bugs (ENG-2955) #157, Polish the chat surface and fix its walk bugs (ENG-2954) #160 and Fix daemon startup and workspace lifecycle walk bugs, and polish their surfaces (ENG-2953) #158.JevSetup.tsxkeeps Fix daemon startup and workspace lifecycle walk bugs, and polish their surfaces (ENG-2953) #158's first-run hint and settings-changed event alongside the Saved confirmation,JevSetup.test.tsxholds both suites, and the CHANGELOG keeps every line.Screenshots
Local files in the worktree's
polish-shots/, not committed:before-review-gate-blurred-light-1440.pngvsafter-review-gate-typed-light-1440.pngandafter-review-gate-blurred-light-1440.pngbefore-settings-jev-gates-light-1440.pngvsafter-state-gate-invalid-light-1440.pngbefore-settings-jev-light-1440.pngvsafter-state-jev-saved-light-1440.pngbefore-modal-update-light-1440.pngvsafter-modal-update-dark-1440.pngbefore-modal-delete-light-1440.pngvsafter-modal-delete-contrast-1440.pngafter-state-search-font-light-1440.pngRefs
SidebarTree.tsx, outside this area) still save on every keystroke and clamp without saying so. They can usejevGateThresholdErrorand the same blur and Enter commit.🤖 Generated with Claude Code