Skip to content

feat(project-filters): Simplify All/My Projects toggle#111331

Draft
JonasBa wants to merge 1 commit intomasterfrom
cursor/project-filters-toggle-ux-b46b
Draft

feat(project-filters): Simplify All/My Projects toggle#111331
JonasBa wants to merge 1 commit intomasterfrom
cursor/project-filters-toggle-ux-b46b

Conversation

@JonasBa
Copy link
Copy Markdown
Member

@JonasBa JonasBa commented Mar 23, 2026

Implement UX improvement suggested by @TkDodo to make 'All Projects' and 'My Projects' work as a simple toggle between two mutually exclusive states.

Previous behavior (complex):

  • Clicking 'All Projects' when selected would deselect
  • Clicking 'My Projects' when 'All Projects' was active would show only non-member projects
  • Multiple clicks were needed to switch between states

New behavior (simple toggle):

  • Clicking 'All Projects' always selects all projects
  • Clicking 'My Projects' always selects member projects
  • Single click to toggle between the two states

This is technically less precise (can't have partial selections via these shortcuts) but provides much better UX with clearer, more predictable behavior.

Updated tests to reflect new toggle behavior and removed unused helper function.

Implement UX improvement suggested by @TkDodo to make 'All Projects' and
'My Projects' work as a simple toggle between two mutually exclusive states.

Previous behavior (complex):
- Clicking 'All Projects' when selected would deselect
- Clicking 'My Projects' when 'All Projects' was active would show only non-member projects
- Multiple clicks were needed to switch between states

New behavior (simple toggle):
- Clicking 'All Projects' always selects all projects
- Clicking 'My Projects' always selects member projects
- Single click to toggle between the two states

This is technically less precise (can't have partial selections via these shortcuts)
but provides much better UX with clearer, more predictable behavior.

Updated tests to reflect new toggle behavior and removed unused helper function.

Co-authored-by: Jonas <JonasBa@users.noreply.github.com>
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 23, 2026
Copy link
Copy Markdown
Collaborator

@TkDodo TkDodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much simpler too 🎉

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

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants