To-Dos filters > Make group and project filters mutually aware

In the To-Dos list, one can filter their to-dos by group and/or project.

Filtering by group and project
Screenshot_2024-10-04_at_10.07.13_AM

At the moment, both of those filters are unaware of each other. This means that filtering by a given group does not affect what projects are available in the Project filter, making it possible to select a project that's not part of the selected group, which inevitably produces no results:

Selecting GitLab.org as the group, and a project within the GitLab.com group
Screenshot_2024-10-04_at_10.13.18_AM

Conversely, once the list is filtered by a given project, selecting a group filter would normally be a no-op.

Proposal

  • When a group is selected, the project filter's query should be updated to only look for projects within that group.
  • When a project is selected, the group filter should be disabled.
Edited by Paul Gascou-Vaillancourt