Add ability to sort compliance frameworks

What does this MR do and why?

Add ability to sort compliance frameworks

Compliance frameworks are now sorted by their last updated time on page load. Users can sort compliance frameworks by name and last updated time.

EE: true Changelog: added

References

In order to implement the second solution suggestion in #535118 (closed) we need to add sorting to the Last updated column and fix the sorting in Name column, on the compliance framework table

MR Description
!190655 (merged) Add updated_at field to ComplianceFrameworkType
!190668 (merged) Add last updated information to Compliance Frameworks table
!192475 (merged) Add sorting to compliance_frameworks GraphQL field
!192560 (merged) 👈 you're here

Screenshots or screen recordings

Before After After -> Project list
192560_before 192560_after_group 192560_after_project

How to set up and validate locally

  1. Have a group with Ultimate subscription
  2. Navigate to Secure > Compliance Frameworks
  3. Create some frameworks; assign them to a project
  4. Click on the columns that have sorting allowed
  5. To check the project's view, go to the project, then Secure > Compliance Frameworks

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.

Edited by Sheldon Led

Merge request reports

Loading