Tooltip for commit lacks relevant information
Summary
When hovering over a link to a commit in context of an MR1 (e.g. ux-research!19 (a260c922)) a tooltip that is displayed is identical with the tooltip for the link to the MR itself. As a user I do not learn anything more about the commit from the tooltip.
On the other hand, a tooltip for link to the same but commit independent from the MR2 (e.g. ux-research@a260c922) contains the commit message.
Steps to reproduce
- Paste a link to a commit in context of an MR to a comment or description.
- Click preview.
- Hover over the hyperlink text.
What is the current bug behavior?
No info about the commit itself is displayed in the tooltip. MR info might be irrelevant.
What is the expected correct behavior?
Some information about the commit is displayed in the tooltip. MR info might add context.
Relevant logs and/or screenshots
Commit hyperlink tooltip –
| in context of MR | independent |
|---|---|
![]() |
![]() |
Output of checks
This bug happens on GitLab.com
Possible fixes
-
Source link:
https://gitlab.com/gitlab-org/ux-research/-/merge_requests/19/diffs?commit_id=a260c922350c2a1a9da9fd87cdcf58d3f18813c8. Rendered text:gitlab-org/ux-research!19 (a260c922)↩ -
Source link:
https://gitlab.com/gitlab-org/ux-research/-/commit/a260c922350c2a1a9da9fd87cdcf58d3f18813c8?merge_request_iid=19. Rendered text:gitlab-org/ux-research@a260c922↩

