Make tag content more ergonomic on commit list pages
What does this MR do and why?
Make tag content more ergonomic on commit list pages
- Change max width behavior for different breakpoints to expose as much as is reasonable for the available space
- Add a tooltip so that the full list of tags or the full long single tag name can be accessed.
Screenshots or screen recordings
📸 Images
Hovering:
| Before | After |
|---|---|
|
|
|
|
| Size | Before | After |
|---|---|---|
xs (<576px) |
![]() |
![]() |
sm (>=576px) |
![]() |
![]() |
md (>=768px) |
![]() |
![]() |
lg (>=992px) |
![]() |
![]() |
xl (>=1200px) |
![]() |
![]() |
📹 Video
| Before | After |
|---|---|
| Screen_Recording_2024-09-26_at_13.22.39 | Screen_Recording_2024-09-26_at_13.23.46 |
How to set up and validate locally
The easiest way to test this is by creating a release and giving it a really long tag name.
- Check out this branch
- In the GDK, visit a project and go to Deploy > Releases
- Create a new release, and in the tag selector, write a really long tag name and create a new tag
- After creating the release, go to the project's Commits page. The commit at the top of the page will have the really long tag applied to it.
- You should see that the tag has a tooltip on hover or focus that shows the full tag name
- You should see that resizing your viewport makes the max width of the tag change.
Related to #415877 (closed), #474921 (closed)
Edited by Chad Lavimoniere













