Skip to content

Add pagination to compliance framework report

Illya Klymov requested to merge xanf/add-search-and-pagination into master

What does this MR do and why?

This MR adds filtering/pagination functionality to our frameworks page

Previously group.complianceFrameworks does not include projects field which resulted in problems with pagination & filtering

With recent addition of related graphql fields following changes were made:

  • We no more need ugly projects query to display frameworks table
  • frameworks table can now be safely paginated & filtered

Related issues:

Screenshots or screen recordings

Compliance_center___Commit451___GitLab

How to set up and validate locally

  1. Turn on the feature flag echo "Feature.enable(:compliance_framework_report_ui)" | gdk rails c
  2. Navigate to a group
  3. Open the Compliance center
  4. Add frameworks
  5. Test filtering & pagination

MR acceptance checklist

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

Edited by Illya Klymov

Merge request reports