Adds sync between filters and url for policy list
What does this MR do and why?
Security Policy list has two filters: policy type
and source
It is beneficial for UX
to sync selected filters with url
parameters, so when user select filters it would be synced with routing history
And when user refreshes the page, selected filters stay selected
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Description | UI |
---|---|
selecting filters |
parameters.mov |
validation |
validations.mov |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to
Group/Project
- Secure => Polices
- Select different filters and refresh the page, return back to initial state
- Travel back and forth browser history
- Try invalid values of wrong parameter names
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 #432335 (closed)