Repository navigation
feat(ui): every on/off setting is a switch that shows its state at a glance - #482
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 38 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…glance Boolean settings were checkboxes, and email preferences a badge beside a Turn on/off button. Each is now a sliding switch: the client form's scopes and token settings, the admin dashboard's switches, and the inbox's email preferences. Scopes share one boxed list, apart from the other settings.
Its track was the line colour, about 1.3:1 against the surface. The muted text colour clears 3:1 in both themes. A disabled switch no longer brightens on hover.
The switch markup grew both past clippy's large_futures limit.
PiquelChips
force-pushed
the
feat/boolean-settings-sliders
branch
from
November 10, 2026 17:09
5865287 to
e343dff
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.
On/off settings were plain checkboxes, and email preferences were a badge beside a Turn on/off button, so you had to read text to tell whether a setting was on. Every one is now a sliding switch: grey with the knob on the left when off, accent-coloured with the knob on the right when on.
The switches are still checkboxes (or buttons, for email preferences) with
role="switch", drawn by CSS, so they work without scripts. Radio choices are unchanged. The docs now say "turn on" instead of "tick" or "check", and the three affected screenshots are retaken.Proof: the inbox's email-preference database test and the docs screenshot specs pass on a preview; the stylesheet rendered in Chromium in light, dark and at 360px width, where a click on a row or its switch flips it and nothing scrolls sideways.
Reviewed with review-loop: 2 rounds with Claude Opus 5.5 (the two GPT 6.1 Sol reviewers were out of usage). Verdict: approved
Note
Written by Claude Opus 5.5 in Claude Code, with the scopes layout designed by Claude Fable 5.2 (via T3 Code)