Re-add missing merge date tooltip to Vue MR list page
What does this MR do and why?
For part of #504362 (closed)
Adds a wee tooltip to the "Merged" badge on the MR list.
This tooltip is missing since the page was refactored from HAML to Vue.
The code does this by adding the tooltip to the generic issuable_item
, but the value is only filled with some text (the timestamp) if the issuable has a mergedAt
value, which should only exist for merged
-state issuables (aka merged Merge Requests).
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 before image is showing no tooltip (or any hover effect at all).
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Have a merged MR
- Go to the Merge Requests page
- Click the "Merged" tab
- Hover over the "Merged" badge
Edited by Thomas Randolph