[Frontend] Add Activity filter to the filtered search component
Summary
Create a component for the Filtered Search Component that replicates the logic in Activity Filter. We can re-use the same logic, but the presentational layer needs to be adapted.
Verification steps
- Go to https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects/verify-epic-3429/-/security/vulnerability_report
- Verify that Activity token "Still detected" is there by default
- Play around with different variations for the activity token
- Selecting "All activity" should deselect all other options
- In each category "Detection"/"Issue"/"Merge request"/... you should be only allowed to select one of the two options
- If all options are deselected, "All activity" should get selected
- The query string updates accordingly
Edited by Lorenz van Herwaarden