Link custom pipeline names to corresponding commit in pipeline list (like commit-message based pipeline names)

Problem to solve

In Add custom names to pipelines with `workflow:na... (#372538 - closed) we added the ability to specify a custom name for pipelines via the workflow:name: keyword. Specifically in Display pipeline name on pipeline details and l... (!101194 - merged) this custom name was added to be shown instead of the commit message in the pipeline list view.

However, the custom name is not linked back to the commit for which the pipeline is/was running. While the commit is explicitly listed as a clickable link in the same view, it's inconsistent that only for some pipelines in that list their name/title can be clicked.

Proposal

Custom pipeline names should also link to their corresponding commit.

Links / references

In mg-linkcustompipelinenames-20230504 I've added a change that would implement this. I tested the change in my local GDK and it behaves as expected.

I have not looked for specs, and I don't know if data-testid="commit-title" belongs to @click="trackClick('click_commit_title')" or not. I removed that, because technically this would not count as click_commit_title. Should a separate event click_custom_name or similar be added?

Edited by Manuel Grabowski