Skip to content

Refactor vulnerability report status filter

Daniel Tian requested to merge 376324-refactor-status-filter into master

What does this MR do and why?

This MR refactors the vulnerability report status filter by adding in a new status_filter.vue component instead of using simple_filter.vue with a filter config object. This simplifies the status filter and makes it easier to understand. The behavior is the same as the old status filter.

ksnip_20221107-000817

How to set up and validate locally

  • Enable the refactor_vulnerability_filters feature flag.
  • Go to a project's vulnerability report.
  • Verify that the status filter is working the same as it was before.
  • Go to a group's vulnerability report and verify that it works there too.
  • Go to the instance vulnerability report and verify that it works there too.

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 #376335 (closed)

Edited by Daniel Tian

Merge request reports