Skip to content

Frontend: Add an indicator to the catalog resource project

Briley Sandlin requested to merge 394818-ci-cd-badge into master

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
page_before page_after
list_before list_after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a new project in GDK. Make sure to add a project description.
  2. Navigate to Settings >> General and expand Visibility, project features, permissions
  3. Below "Releases", you will see the option to mark your project as a CI catalog resource.
  4. Navigate to the project page (example /flightjs/test-project) and insure that the badge renders beside the project name.
  5. 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.

Edited by Briley Sandlin

Merge request reports