Add QuerySync component to the Status Token
What does this MR do and why?
This MR syncs the Status Token with the URL. Anytime a status filter changes, it will update the URL and on page load it will read the selected values from the URL.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Fork https://gitlab.com/gitlab-examples/security/security-reports/
- Create vulnerabilities by running a pipeline against the default branch
- Go the Secure > Vulnerability Report inside the project
- Make sure to enable the feature flag:
echo "Feature.enable(:vulnerability_report_advanced_filtering)" | rails c
- See the Filtered Search
Related to #440420 (closed)