-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Truncate repository name if too long #2287
Comments
Thanks your feedback! Any exmaple screenshots? |
Right now I can't, however, a name longer than 40 characters should do it. Happy Christmas! |
ping @drsect0r |
Thank you! |
From my duplicate issue: Here's a screenshot of the sidebar and news feed: The names stretch past the "My Repositories" box and push the stars down. The second repo's star shifts by using ellipses: by breaking the line: Both repositories have names with the maximum length (100) |
Thanks your info @stonewareslord ! |
Hi all, please test out |
It almost works well. The repo names are truncated correctly on the dashboard: The repo URL on the right (in One more issue is that in the project page, the project name pushes down the The profile page works well if the monitor is large enough: But when the window is smaller than the repo name, it just cuts off (instead of being broken into two lines as in the last Github screenshot in my previous comment): Here is what the dashboard and repo pages look like on a smaller monitor: They look okay to me with the exception of the repo name pushing |
@stonewareslord URL fixes are pushed to And I found |
are you tried the full function test, this fix may cause the error message about "template: user/dashboard/feeds:10:52: executing "user/dashboard/feeds" at <.ShortActUserName>: ShortActUserName is not a field of struct type *models.Action". @unknwon it looks like that you have not committed the file of "routers/user/home.go" |
@bygreencn I think you update the source code but did not recompile the Gogs..? |
i found the error. |
@bygreencn I see, I think you're talking about this: #2416 |
Close as fixed. |
If the name of the repository is too long It would be nice to truncate it with dots instead of messing up the dashboard.
The text was updated successfully, but these errors were encountered: