Add CI status badge to merge request header
Problem to solve
As a developer, when I open a merge request, the first thing I want to see is what the pipeline status is. But when I open a merge request, what I typically see is this:
Here we are quickly presented with lots of useful information:
- the MR is open
- who created it
- the list of open tasks
- how old it is
But to see if it has a passing test suite I either have to look at the favicon (small, easily ignored, and above all, not in the page) or scroll down well beyond the fold to the pipeline status.
Instead, I propose that the pipeline status, in the form of a CI badge, should be present in the header, ideally next to the status box (here showing OPEN). Ideally, no matter where I scroll on the page, it should always be visible, and ideally actionably (clicking should take me to the pipeline, and if it is failed, it should take me to the errors).
Intended users
Developers who are trying to get their MRs merged, reviewers coming to check on the status of a MR.
What does success look like, and how can we measure that?
Success is, when I load a MR from a link, and can immediately identify the CI status, without having to scroll the page.