gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Add tag name in the commits list

Open lunny opened this issue 1 year ago • 3 comments

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: image

Mobile: image

lunny avatar May 26 '24 04:05 lunny

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).

silverwind avatar May 27 '24 20:05 silverwind

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.

lunny avatar May 28 '24 02:05 lunny

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.

silverwind avatar May 29 '24 00:05 silverwind

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

yp05327 avatar Jun 04 '24 01:06 yp05327

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.

silverwind avatar Jun 04 '24 09:06 silverwind

#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.

lunny avatar Aug 19 '24 04:08 lunny