Show only relevant data in compliance status report
What does this MR do and why?
With introduction of new status report in %18.0 we were displaying group report inside project compliance center due to lack of relevant GraphQL api. With required graphql introduced in List project requirement statuses for project d... (!186260 - merged) we now could switch to proper display of list relevant only to the project
Basically two changes are visible:
- Only list items relevant to current project are displayed
- Filters do not have "project" option to filter by project which obviously makes no sense
Screenshots or screen recordings
How to set up and validate locally
- Enable feature via
Feature.enable(:enable_standards_adherence_dashboard_v2)inrails console - Switch to
xanf-improve-seederbranch - Run
FILTER=compliance_report_data SEED_COMPLIANCE_REPORT_DATA=1 bundle exec rake db:seed_fu - It will report new group seeded
- Go back to this branch
- Open seeded group, open any project there, go to
Secure➡️ Compliance centerand observe data relevant only to this project - Click filters bar and observe no "project" option there
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #540604 (closed)
Edited by Illya Klymov
