Simplify color mode button labels - #95837
Conversation
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
|
Merged via squash.
Thanks @SannidhyaSah! |
Dependency graph changes are blockedOpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph. Detected dependency graph changes:
Auto-scrub was not attempted because this PR changes package manifest dependency graph fields:
Dependency graph changes must be reviewed by security or handled by maintainers internally. Please remove lockfile changes manually if they are not needed. To remove lockfile changes, restore them from the target branch: git fetch origin
git checkout 'origin/main' -- 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git pushIf this PR intentionally needs a dependency graph change, ask a repository admin or member of The action will approve the current head SHA ( |
Merged via squash. Prepared head SHA: 3da7299 Co-authored-by: SannidhyaSah <186946675+SannidhyaSah@users.noreply.github.com> Co-authored-by: hannesrudolph <49103247+hannesrudolph@users.noreply.github.com> Reviewed-by: @hannesrudolph
What Problem This Solves
The Control UI theme mode buttons repeated the surrounding group label in each tooltip and accessible button label, producing labels like
Color mode: Lighteven though the button group is already labeledColor mode.Why This Change Was Made
This changes each theme mode button to expose only the differentiating mode name:
System,Light, orDark. The surrounding group keeps the broaderColor modelabel, so the UI still has the same context without repeating it on every button.The now-unused
common.colorModeOptiontranslation key was removed and the locale bundles were regenerated.User Impact
Users see shorter hover tooltips for the theme mode controls, and assistive technology gets less repetitive button labels while retaining the group context.
Evidence
pnpm ui:buildpnpm test:uigit diff --checkBefore:
After: