Skip to content

Add URL to CI/CD catalog release tag badge

What does this MR do and why?

NOTE: This MR was originally created with !190298 (closed), but the pipeline could not run successfully so I was asked to recreate it as a public fork.

On the CI/CD Catalog page, the latest release tag is shown as a badge for each component. However, there is no link back to the component itself. Once selecting a component, the subsequent page has a similar latest release tag badge with one notable difference - it has a link back to the tag of the component. This link is helpful as it makes it easier for the user to navigate back to the component source. I updated the initial summary page so that the link is displayed there as well.

NOTE: I copied the approach already in use in the ci_resource_header.vue.

References

Screenshots or screen recordings

Before After
before-no_link after-with_link
before_no_link2 after-with_link2

How to set up and validate locally

  1. Ensure a CI/CD component has been released and published to the catalog
  2. Navigate to Explore -> CI/CD Catalog
  3. Hover over release tag badge for any component (notice no link to component project source)

MR acceptance checklist

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

Edited by Jonathan Dorsey

Merge request reports

Loading