Add compliance framework label to projects page and listings
What does this MR do?
In !28182 (merged) we added a new compliance framework setting to projects. This MR adds a new badge/label/pill (still don't get the terminology!) onto the project home page and the project listings for:
- User profile
- Projects dashboard
- Search
- Projects forks listing
- Explore
The tabs under explore and explore/projects
are excluded as with other meta-information on the listing.
With this MR the MVC #118671 (closed) for this new feature will be complete.
Database footprints
Page | Queries |
---|---|
Project home page |
(+1) SELECT "project_compliance_framework_settings".* FROM "project_compliance_framework_settings" WHERE "project_compliance_framework_settings"."project_id" = 1
|
User profile |
(+1) SELECT "project_compliance_framework_settings".* FROM "project_compliance_framework_settings" WHERE "project_compliance_framework_settings"."project_id" IN ($1, $2)
|
Projects dashboard |
(+1) SELECT "project_compliance_framework_settings".* FROM "project_compliance_framework_settings" WHERE "project_compliance_framework_settings"."project_id" IN ($1, $2)
|
Search |
(+1) SELECT "project_compliance_framework_settings".* FROM "project_compliance_framework_settings" WHERE "project_compliance_framework_settings"."project_id" IN ($1, $2)
|
Projects forks listing |
(+1) SELECT "project_compliance_framework_settings".* FROM "project_compliance_framework_settings" WHERE "project_compliance_framework_settings"."project_id" IN ($1, $2)
|
Explore |
(+1) SELECT "project_compliance_framework_settings".* FROM "project_compliance_framework_settings" WHERE "project_compliance_framework_settings"."project_id" IN ($1, $2)
|
Screenshots
Project home page
Framework | Image |
---|---|
GDPR | |
HIPPA | |
PCI-DSS | |
SOC-2 | |
SOX |
Project listing
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Separation of EE specific content
Availability and Testing
Edited by Tan Le