gitea
gitea copied to clipboard
Add tag name in the commits list
Fix #10036
This PR adds some labels for tags of this commit after the commit message on the commits table. The tag template is share as commit graph's.
Desktop:
Mobile:
Do we have other places where we can re-use that new subtemplate? I think commit graph likely has similar tags, but with a border there (I think I like a border on these).
Do we have other places where we can re-use that new subtemplate? I think commit graph likely has similar tags, but with a border there (I think I like a border on these).
aebfe5c604d147be02cac680e174981fb32d7794 use the shared tag name template with commit graph.
Thanks, it does need some style adjustments, the icon makes it too big. Can check later, maybe remove icon. Also I wonder what the significance of the blue border is.
Should we also show tags in mobile views? It looks not good. If you commit with a long message and a few tags, I think this will be a disaster
https://github.com/go-gitea/gitea/pull/31160 will rewrite the commits table and make a lot of space for this, so I think we should wait on that to land here.
#31160 will rewrite the commits table and make a lot of space for this, so I think we should wait on that to land here.
I don't think #31160 could be merged at a short time. So I think maybe this can be merged first.