fix(web): Standard / Fast selection is easy to see in dark mode #42460
Openotavio(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/42460/headopened View on GitHubotavio(GitHub profile, opens in a new tab) linked this to fix #41864
tanstack-source added labelsbug
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XS
juliusmarminge added labelstakeover:in-progress
juliusmarminge added labelstakeover:blocked
juliusmarminge removed labelstakeover:in-progress
Sign in to join this conversation.




No actionable comments were generated in the recent review.
Walkthrough
The permission radio items and speed selector segments now use uniform corner rounding. Selected items use updated background and shadow styles, including a dark-mode background for permission items.
Changes: Composer selection styling
apps/web/src/components/chat/ComposerFooterControls.tsx,apps/web/src/components/chat/ComposerModelEffort.tsxEstimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested reviewers:
maria-rcks,macroscopeappMerge Risk:
Minimal · up to
59868This change makes the selected Standard/Fast and Permissions states easier to see by adjusting styling only. It carries no apparent behavioral risk and is ready to merge.
Pre-merge checks:
4
#41864. It explains the problem and the fix, shows before and after scree…#41864requires a visibly distinct active Standard / Fast segment in dark mode, with a contrasting background or outline and readable labels. The checkmark is given as an example ("such as"), no…Full details: Title check
Explanation
The title follows conventional commit format and names the main change: the Standard / Fast selection is made easier to see in dark mode. The raw summary and PR objectives confirm the styling change to the selected segment and the Permissions row, which matches the title's focus. The title is short and specific.
Full details: Description check
Explanation
The description follows the template. It has Problem, Fix (Change), Screenshots, and Verification sections, and it links issue
#41864. It explains the problem and the fix, shows before and after screenshots for light and dark modes, and reports typecheck and check:changed results with the manual dev-app check. The Scope section is only partly met: it links the issue but does not explicitly say why the fix is a bug fix rather than a feature. The template's note about agent model and harness is also present. Overall the description is mostly complete.Full details: Linked Issues check
Explanation
Issue
#41864requires a visibly distinct active Standard / Fast segment in dark mode, with a contrasting background or outline and readable labels. The checkmark is given as an example ("such as"), not a requirement. Per the whole-PR summary, ComposerModelEffort.tsx (FOOTER_SEGMENT) now styles selected segments with bg-background, a shadow, and rounded corners. ComposerFooterControls.tsx (ComposerPermissionsSection) makes the same change for checked permission items. The PR description states that the dark-mode selected fill is bg-foreground/16, a theme token that differs from the bg-input/40 track. The raw summary says only "a dark-mode background", so the exact dark token rests on the PR description. The repository diff could not be read (changed blobs missing from the checkout), so this verdict relies on the supplied summary and PR description. No automated test is required by the issue. Visual results were reported in screenshots and were not independently verified.Full details: Out of Scope Changes check
Explanation
The issue scope is the speed selector in the shared composer UI. The PR also changes the Permissions row in the same picker and the Ultracode segment in FOOTER_SEGMENT. The PR description discloses the Permissions row change and the PR objectives describe it as in scope. The Ultracode segment change is not named in the PR description. It uses the same segment styling, so it is a closely related styling change and not a demonstrated unrelated change. The PR also states it covers the rounding change in
#29483. The repository diff could not be read, so these conclusions rely on the summary and PR description.Finishing Touches
Generate unit tests (beta)
9208ad4a-3af0-45b3-b512-e94754e95fb0Reviewing files that changed from the base of the PR and between bd3e495b5fc8552a58b255444cac4f4d86af157c and 598683cfc7ffcb1809b954b0b83c98a6820133ec.
apps/web/src/components/chat/ComposerFooterControls.tsxapps/web/src/components/chat/ComposerModelEffort.tsxIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.