Base Pipeline Artifact Missing errors are not easily discoverable or correctable
Problem
We currently display a short error message on hover when there is no CodeQuality artifact to use as a base for the MR widget diff:
I think there are two usability issues with this messaging:
- It doesn't present clearly enough that people notice it: https://gitlab.com/gitlab-org/gitlab-experiment/-/issues/15#note_465434518
- It doesn't present a corrective action that can be easily taken to get a diff.
Proposal
- Display messaging directly in the widget, instead of in a popover:
- Include corrective actions in the messaging.
- "There are no CodeQuality artfifacts in your target branch. Do your branch pipelines run CodeQuality on
<target-branch-name>
?" - "
<target-branch-name>
HEAD has a report, rebase your feature branch to see a diff"