Change tool filter to not extend simple filter
What does this MR do and why?
This MR changes tool_filter.vue
to no longer extend simple_filter.vue
by copying the same code that the other filters use (severity_filter.vue
, status_filter.vue
, etc). This allows us to remove simple_filter.vue
in a follow-up MR. There are no UI or behavior changes otherwise.
How to set up and validate locally
- Enable the
refactor_vulnerability_tool_filter
feature flag. - Create a new group.
- Clone this project into the group: https://gitlab.com/svedova/test-remediations-v2
- Run a pipeline against the master branch for the project.
- Go to the group vulnerability report.
- Verify that the tool filter dropdown is shown and is working as intended.
- Click on the hamburger menu on the upper left and click on Security.
- Go to
Security -> Settings
, search for the project you just cloned, and add it. - Go to
Security -> Vulnerability report
. - Verify that the tool filter dropdown is shown and is working as intended.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #393102 (closed)
Edited by Daniel Tian