Add project compliance labels to the Compliance Dashboard

Problem to solve

We introduced compliance labels for projects in %12.10 as a fundamental building block for providing necessary reporting and compliance management features. This information, however, is important to see on the Compliance Dashboard because it provides another way for users to quickly focus on only the projects they may be interested in: regulated projects.

The Compliance Dashboard does not currently present these compliance labels, which can make it difficult to focus time and attention on the most important projects, from a compliance perspective.

Proposal

Add the compliance framework label as the last line item on the left hand side of the row in the Compliance Dashboard.

Dashboard_with_label

Implementation

Total weight 3️⃣

backend - Estimated weight of 2️⃣

  1. Add the MR's project compliance framework to MergeRequestComplianceEntity.
  2. Update specs

frontend - Estimated weight of 1️⃣

  1. Create a new the ComplianceFramework.vue component to display each framework using GlBadge in ~/vue_shared.
  2. Update specs
Edited by Robert Hunt