Skip to content

fix(ui): keep active picker subtext legible - #131402

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
codex/fix-picker-active-description-contrast
Aug 28, 2026
Merged

Patrick-Erichsen merged 1 commit into
mainfrom
codex/fix-picker-active-description-contrast

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where users opening a channel setup account picker would see the active option's descriptive subtext in muted gray against the red active background, making it difficult to read.

Reported directly during maintainer review of the iMessage setup wizard.

Why This Change Was Made

The channel wizard uses the standard shared picker. Its description color explicitly overrode Web Awesome's active-option foreground, so active descriptions now inherit the option's canonical foreground while inactive descriptions remain muted. A browser-rendered regression test covers the real channel-wizard path.

Production LOC: +4/-0 (active-state presentation rule) | Tests: +120/-0

AI-assisted: yes. The patch was inspected and independently autoreviewed; I understand the change.

User Impact

Active option subtext is now as legible as the option label in the channel setup wizard and every other shared picker with descriptions.

Evidence

Before — active label was rgb(255, 255, 255), but subtext stayed rgb(139, 139, 148) on rgb(209, 60, 60):

Before: muted gray active picker subtext

After — active label and subtext both render rgb(255, 255, 255) on the same active background:

After: white active picker subtext

Focused validation:

  • node scripts/run-vitest.mjs ui/src/components/select-picker.test.ts ui/src/e2e/channel-wizard-option-contrast.e2e.test.ts — 3 tests passed across 2 shards
  • node scripts/check-changed.mjs -- ui/src/styles/select-picker.css ui/src/e2e/channel-wizard-option-contrast.e2e.test.ts — passed
  • .agents/skills/autoreview/scripts/autoreview --mode uncommitted --stream-engine-output — no findings; patch correct (0.99 confidence)

Root cause: .picker-select__description set color: var(--muted), overriding the inherited active foreground selected by Web Awesome's current state.

Best-fix verdict: shared picker owner is the correct layer; a wizard-only override would leave model, settings, and other shared pickers inconsistent.

@clawsweeper

clawsweeper Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 28, 2026
@Patrick-Erichsen
Patrick-Erichsen marked this pull request as ready for review August 28, 2026 02:06
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Land-ready verification for exact head 812990fedcc854b77e048b65be0dbc22e80d0045:

Known proof gaps: the Codex in-app browser was unavailable, so before/after proof came from the repository's isolated Playwright Chromium flow. ClawSweeper's separate 30-second live-proof driver timed out before the focused test printed; the same E2E passed locally and in exact-head repository CI.

@Patrick-Erichsen
Patrick-Erichsen merged commit 79a119e into main Aug 28, 2026
149 checks passed
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant