Skip to content

Change vulnerability report activity filter design

Daniel Tian requested to merge 370280-activity-filter-rework into master

What does this MR do and why?

This MR changes the vulnerability report activity filter to follow the design in #370280 (closed).

Design: https://gitlab.com/gitlab-org/gitlab/uploads/ac5a75d6501097ef7a86463659978e1f/image.png

Before Now
ksnip_20220916-234409 ksnip_20220916-234236

Note that due to missing GraphQL support, only 2 of the 8 groups in the design have been implemented.

The dropdown has the following behavior:

  1. Only one item per group can be selected. A group can have either 0 or 1 item selected.
  2. Clicking on an unselected item selects it and de-selects other items in the same group.
  3. Clicking on a selected item will de-select it. If all items across all groups are de-selected, the All activity option will be checked.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #370280 (closed)

Edited by Daniel Tian

Merge request reports

Loading