Skip to content

feat(web): unify boolean controls as square AppSwitch#63

Merged
cocofhu merged 3 commits into
mainfrom
feature/app-switch-square-checkbox
Jul 26, 2026
Merged

feat(web): unify boolean controls as square AppSwitch#63
cocofhu merged 3 commits into
mainfrom
feature/app-switch-square-checkbox

Conversation

@cocofhu

@cocofhu cocofhu commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add shared square AppSwitch (right-angle track, accent on-state, white square thumb) and replace in-scope boolean checkboxes/rounded switches across approving/web.
  • Keep existing business behavior (including OutputSourcesEditor remove-on-off) and a11y (role=switch, keyboard, aria-checked).
  • Sync affected unit/E2E tests; merge origin/main into the feature branch before open.

Test plan

  • vitest: AppSwitch + affected panels (48 passed)
  • playwright: agent-studio-mobile-data (4 passed)
  • Confirm no input[type=checkbox] boolean controls remain under web/src
  • Smoke UI: open/close AppSwitch on Pm/Agent settings and OutputSourcesEditor

AgentBot and others added 3 commits July 25, 2026 23:48
Replace native checkboxes and rounded/inline switches with a shared
square accent AppSwitch so all boolean toggles match the product visual.

Co-authored-by: Cursor <cursoragent@cursor.com>
Explicit rounded-none on track and thumb so UA button radius cannot
drift from the square purple toggle visual; assert aria-label fallthrough.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cocofhu cocofhu changed the title feature/app switch square checkbox feat(web): unify boolean controls as square AppSwitch Jul 26, 2026
@cocofhu
cocofhu merged commit 5d689fb into main Jul 26, 2026
11 checks passed
@cocofhu
cocofhu deleted the feature/app-switch-square-checkbox branch July 26, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant