Refine commit popover experience
Context
#561788 implemented a commit popover to give users at-a-glance information for commits without forcing users to leave the context of the page they're on.
Reference: Popovers in Source Code
From #448868 (comment 2117391060)
| Popover Element | Screenshot |
|---|---|
| MR |
|
| Issue |
|
| Epic |
|
| Open MR popover |
|
| Username |
|
Design proposal
-
Refine commit popover details
-
Increase the size of the Commit title from 12px to 14px (h5) for consistency with the MR / Issue / Epic popovers.
-
The username and commit metadata appear on different lines. Elements should be inline with each other and wrap for consistency with other popovers.
Current Proposed Commit title is 12px
Commit title should be an h5 (14px)
-
-
Add this popover to other areas in Source Code / GitLab where the commit link appears:
Product area Location Screen Source Code Code > Branches > User hovers over commit link
Source Code Code > Tags > User hovers over commit link
Code Review Merge request > User links to a commit in an MR description / comment
Plan Issues > User links to a commit in an Issue description / comment
CI/CD Pipeline > User hovers over a commit link
- Show commit popover
Pipeline > User hovers over an MR
- Show MR popover
CI/CD Jobs > User hovers over a commit link
CI/CD Artifacts > User hovers over a commit link













