Replace visitUrl with Gl-Link in ci-badge-link
What does this MR do and why?
@cwoolley-gitlab called out that we can't "open in new window/tab". While looking to add that functionality to visitUrl @dpisek called out that we could probably just use gl-link here (and gain other benefits like supporting middle click, right click etc).
This MR replaces visitUrl with gl-link.
Screenshots or screen recordings
Before
After
Recreation steps
- Navigate to a project's pipeline list e.g. http://gdk.test:3000/flightjs/Flight/-/pipelines
- Select a pipeline e.g. http://gdk.test:3000/flightjs/Flight/-/pipelines/2
- Command/ctrl click the status badge in the top left (should open in a new tab/window); or
- Right click (you should see the open in new tab/window option); or
- Middle click (should open in a new tab/window); or
- Hover over (you should see the link path in the status bar)
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 Lee Tickett