[Frontend] Add QuerySync logic to Status Token
Summary
Similar to the one implemented in ee/app/assets/javascripts/security_dashboard/components/shared/filters/status_filter.vue
, we need to add a querystring-sync
component in the Status Token:
ee/app/assets/javascripts/security_dashboard/components/shared/filtered_search/tokens/status_token.vue
This component will sync the query parameters with the component state.
Verification steps
-
Go to https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects/verify-epic-3429/-/security/vulnerability_report -
Verify selecting a status filter updates the URL
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 Lorenz van Herwaarden