Skip to content

Refactor usage of ci-icon in related issuable

Miguel Rincon requested to merge 423028-refactor-related_issuable into master

What does this MR do and why?

Simplifies the CI icon usage in the related issuable component, removing a redundant wrapper link.

MR acceptance checklist

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

Screenshots or screen recordings

The resulting HTML code is changed, removing the double <a> wrapper:

Before before
After after

How to set up and validate locally

  1. Given an MR with a pipeline that has a status
  2. Visit any issue and mention the MR in a comment
  3. Refresh and check the "Related merge requests" in the issue
  4. Confirm the pipeline status icon is rendered correctly and links to the relevant pipeline

Related to #423028 (closed)

Edited by Miguel Rincon

Merge request reports