Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting of commit graph does not consider longer real name #17944

Closed
eeyrjmr opened this issue Dec 10, 2021 · 0 comments · Fixed by #17947
Closed

Formatting of commit graph does not consider longer real name #17944

eeyrjmr opened this issue Dec 10, 2021 · 0 comments · Fixed by #17947
Labels
topic/ui Change the appearance of the Gitea UI

Comments

@eeyrjmr
Copy link
Contributor

eeyrjmr commented Dec 10, 2021

Gitea Version

1.16.0+dev-670-gc7e23401a

Git Version

2.34

Operating System

Windows

How are you running Gitea?

windows service

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

if a user has a full name longer than TBD, in conjunction with a long commit message, the datetime reference is overwritten with the commit+name

https://try.gitea.io/eeyrjmr/test_issues/graph

NOTE: "full name" is not unexpected, colleague's name is 20characters, mine is 23 but this is just a red-herring as the clash is with the commit message

Screenshots

Annotation 2021-12-10 001112

@lunny lunny added the topic/ui Change the appearance of the Gitea UI label Dec 10, 2021
silverwind added a commit to silverwind/gitea that referenced this issue Dec 10, 2021
Limit commit message to 50% width. This is rather crude but should work
for common use cases with not too-long author names.

Fixes: go-gitea#17944
lafriks pushed a commit that referenced this issue Dec 11, 2021
* Fix overflow in commit graph

Limit commit message to 50% width. This is rather crude but should work
for common use cases with not too-long author names.

Fixes: #17944

* Make it work with dynamic width

* use span

* use explicit none

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Chianina pushed a commit to Chianina/gitea that referenced this issue Mar 28, 2022
* Fix overflow in commit graph

Limit commit message to 50% width. This is rather crude but should work
for common use cases with not too-long author names.

Fixes: go-gitea#17944

* Make it work with dynamic width

* use span

* use explicit none

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants