Skip to content

Adds sync between filters and url for policy list

Artur Fedorov requested to merge 432335-policies-sync-filters into master

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.

  1. Go to Group/Project
  2. Secure => Polices
  3. Select different filters and refresh the page, return back to initial state
  4. Travel back and forth browser history
  5. 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.

Related to #432335 (closed)

Merge request reports

Loading