Skip to content

Update compliance framework badge

What does this MR do and why?

This updates the Compliance Framework badge component to truncate long names and show the name and description in the popup.

This update also replaces all badges in the Compliance Center to use this component and also updated the Group level view of Projects to use this component component.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Compliance-center--Gitlab-Org--GitLab

How to set up and validate locally

Example below:

  1. Ensure you have a Ultimate license
  2. Got to the Compliance Center in a top-level group and create two Frameworks (one long name and one short)
  3. Use the Compliance Center -> Project tab to assign the Frameworks to Projects.
  4. Review the Group level Project view and ensure using Compliance Framework badge, without edit button.
  5. Review the Compliance Center tabs and confirm they all use the Compliance Framework badge

Related to #428340 (closed) #432014 (closed)

Edited by Nate Rosandich

Merge request reports