Frontend: Add an indicator to the catalog resource project
What does this MR do and why?
Related to #394818 (closed)
If a project is a catalog resource, we want to render a badge in the project home and project list views.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a new project in GDK. Make sure to add a project description.
- Navigate to Settings >> General and expand Visibility, project features, permissions
- Below "Releases", you will see the option to mark your project as a CI catalog resource.
- Navigate to the project page (example
/flightjs/test-project
) and insure that the badge renders beside the project name. - Navigate to
/explore/projects
to insure that the badge appears beside the project name in the list.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Briley Sandlin