Skip to content

Draft: Add pagination to compliance Framework Report

What does this MR do and why?

Continues implementation of new Compliance Framework Report from Draft: Basic compliance Framework Report data f... (!110855 - closed)

Add pagination to the new report table. Allow going forward/back pages, and allow selecting a page size.

Screenshots or screen recordings

compliance-report-pagination

How to set up and validate locally

  1. Browse to a Group -> Security & Compliance -> Compliance Report -> Frameworks tab
  2. It should load 20 projects (if the group has that many) and show Prev / Next
  3. Selecting page size should re-fetch data with the new page size
  4. If all results fit on one page, pagination will be hidden
Feature.enable(:compliance_frameworks_report)
Feature.disable(:compliance_frameworks_report)

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 #387910 (closed)

Edited by Elwyn Benson

Merge request reports