[Frontend] Add Severity filter to the filtered search component
Summary
Create a component for the Filtered Search Component that replicates the logic in Severity Filter. We can re-use the same logic, but the presentational layer needs to be adapted.
Verification plan
-
Go to https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects/verify-epic-3429/-/security/vulnerability_report -
Click on the Severity Token -
Select/Unselect items and verify they're behaving the same as https://gitlab.com/gitlab-examples/security/security-reports/-/security/vulnerability_report
Known issues:
- The vulnerability report won't load due to missing filters
- Selecting a severity filter won't trigger an API call because of the missing filters logic
Edited by David Pisek