Add filter bar to compliance report
What does this MR do and why?
This MR adds a filter bar to the compliance report to filter by projects and/or date range as described in #299358 (closed).
This MR does not update the apollo query, that will be done in a follow-up MR.
The following changes are made:
- Adds project and date range filters to the compliance report that syncs with the URL parameters.
- Updates VSA shared project dropdown to watch for default projects changes and adds a default projects loading state.
Screenshots or screen recordings
Recording |
---|
Screen_Recording_2022-01-07_at_15.27.01 |
Before | After |
---|---|
How to set up and validate locally
- Enable the new feature flag in your terminal:
echo "Feature.enable(:compliance_violations_report)" | rails c
- View the compliance report and verify that the filter syncs with the URL query:
[GDK_HOST]/groups/gitlab-org/-/security/compliance_dashboard
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 #299358 (closed)
Edited by Jiaan Louw