Refactor vulnerability report cluster filter
What does this MR do and why?
This MR refactors the cluster filter to detangle from the simple_filter.vue
and instead use the new more basic querystring_sync.vue
component. The goal will make each of the filter components more flexible for customization. Please read this epic for more information > &8872 (closed).
Describe in detail what your merge request does and why.
Screenshots or screen recordings
How to set up and validate locally
- Enable the FF
echo "Feature.enable(:refactor_vulnerability_filters)" | rails c
- Security & Compliance > Vulnerability report
- The dropdown should function as before
Note: if you don't see any cluster vulnerabilities, you can mock it using Tweak
- Install Tweak > https://chrome.google.com/webstore/detail/tweak-mock-and-modify-htt/feahianecghpnipmhphmfgmpdodhcapi/related
- Import mock data > tweak-cluster-agents-1.json
For other methods, please see this comment > sming-gitlab/my-gitlab#52 (comment 1182622809)
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 #376340 (closed)
Edited by Samantha Ming