Skip to content

[FE] Using `or` in issue/mr/epic list views and boards

Problem To Solve

When filtering issues, I want to filter by ~"group::portfolio management" OR ~"group::certify", so that I can see issues that have one OR (🤣) the other label.

When filtering issues, I want to filter by assignee is @gweaver OR @hollyreynolds OR @kokeefe, so that I see issues that have...

Proposal

  • Add support for OR between values of a given filterable key within the filter bar.
  • Only add support for OR to the gitlab-ui filter bar to prevent duplicating effort in parts of the code that need to be refactored to GitLab UI.

MVC 1

MVC 1

MVC 2

MVC 2

Constraints

  • OR is limited to individual types of parameters assignee = me OR you AND label = foo OR bar, not assignee = me OR label = foo

UI Prototype

https://www.figma.com/proto/7NSXzJaHq5eOtuJ11cOoKC/23532-Using-OR-in-issue-mr-epic-list-views-and-boards?node-id=175%3A1465&viewport=564%2C352%2C0.3289112150669098&scaling=min-zoom

To navigate:

  1. Click on filter bar (launches primary options menu)
  2. Select Assignee
  3. Select = is
  4. Select names in list. All 3 will auto-select - this is due to a limitation in the prototyping tool. The actual checkbox functionality will work as normal.
  5. Click on Assignees list to close
  6. Click filter bar again to launch primary options menu again for a new top level selection

Tier

GitLab Core

Implementation Parts

  • UX for using OR on a per parameter basis
  • Frontend
  • Issue Boards Side

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by Gabe Weaver