Skip to content

Adherence Report Filtering

Jay Montal requested to merge 413734-adherence-report-filtering into master

What does this MR do and why?

What

Adds filtering to the standards adherence report

Why

  • Adds the ability for users to filter out their adherences by either:
    • Project
    • Check
    • Standard

Screenshots or screen recordings

Filter by Standard 2023-11-06_23.23.17
Filter by Project 2023-11-06_23.23.34
Filter by Check 2023-11-06_23.23.52
Multiple Filters 2023-11-07_15.20.30
Clearing Filters 2023-11-07_15.21.39

How to set up and validate locally

Enable FFs

  1. In the rails console (rails c) enable the following features:
  2. adherence_report_ui (Feature.enable(:adherence_report_ui))
  3. compliance_adherence_report (Feature.enable(:compliance_adherence_report))

Setup Adherences

  1. Visit group settings and enable "Prevent approval by author" from the 'Merge Request Approval' section.
  2. This will create a couple of rows inside the project_compliance_standards_adherence table.

Visit Standard Adherence page

  1. Visit a group, under Secure (new UI) or Security & Compliance (old UI) > Compliance center
  2. Use the new filter

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #413734 (closed)

Edited by Jay Montal

Merge request reports