Skip to content

Add QuerySync component to the Status Token

Savas Vedova requested to merge 440420-add-query-sync-to-status-token into master

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

querysync

How to set up and validate locally

  1. Fork https://gitlab.com/gitlab-examples/security/security-reports/
  2. Create vulnerabilities by running a pipeline against the default branch
  3. Go the Secure > Vulnerability Report inside the project
  4. Make sure to enable the feature flag: echo "Feature.enable(:vulnerability_report_advanced_filtering)" | rails c
  5. See the Filtered Search

Related to #440420 (closed)

Merge request reports