Add last updated information to Compliance Frameworks table

What does this MR do and why?

Add last updated information to Compliance Frameworks table

Users can now see in compliance frameworks table when a framework was last updated

EE: true Changelog: added

References

In order to implement the second solution suggestion in #535118 (closed) we need to add Last updated column to the compliance framework table.

MR Description
!190655 (merged) Add updated_at field to ComplianceFrameworkType
!190668 (merged) 👈 you're here
!192475 (merged) Add ability to sort compliance frameworks on GraphQL
!192560 (merged) Add ability to sort compliance frameworks on frontend

Screenshots or screen recordings

Group compliance framework table

Relative time Absolute time
group-compliance_framework-relative group-compliance_framework-absolute

Project compliance framework table

Relative time Absolute time
project-compliance_framework-relative project-compliance_framework-absolute

How to set up and validate locally

  1. Have an Ultimate license set to your instance/group
  2. Navigate to Secure > Compliance center > Frameworks tab
  3. Create frameworks if you don't have any
  4. Observe the Last updated column in the frameworks table

To enable/disable relative time:

  1. Click on your Avatar, then preferences
  2. In the Time preferences section, check/uncheck Use relative times
  3. Click on Save changes
  4. Go back to compliance center and refresh the page

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