Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.3k
Adds title on branch commit counts#34869
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
lunny commentedJun 26, 2025
It needs to be translationable. |
silverwind commentedJun 26, 2025
Use |
a60ece2 to556fcf7CompareUh oh!
There was an error while loading.Please reload this page.
delvh commentedJun 30, 2025
Also, wouldn't it make sense to unify both titles into a single title on the parent element? |
wxiaoguang commentedJun 30, 2025
My thought is that why duplicate the numbers in the tooltip .... could it simply just show a fixed tool tip like "Commits ahead", and let users read the rendered number on the UI? |
ajmeese7 commentedJun 30, 2025
That is what GitLab does, that is the behavior I am emulating |
ajmeese7 commentedJun 30, 2025
Working on this now. |
wxiaoguang commentedJul 1, 2025
The current texts are not really translatable. I'd prefer GitHub's wording, so I think we can make it "Behind count: %d, ahead count: %d", then everything can be simplified. Will make some changes. |
wxiaoguang commentedJul 1, 2025
ajmeese7 commentedJul 1, 2025
Uh oh!
There was an error while loading.Please reload this page.
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
wxiaoguang commentedJul 1, 2025
Anything else to improve? |
35f0b5a intogo-gitea:mainUh oh!
There was an error while loading.Please reload this page.
* giteaofficial/main: [skip ci] Updated translations via Crowdin Improve html escape (go-gitea#34911) Adds tooltip on branch commit counts (go-gitea#34869) Fix PR toggle WIP (go-gitea#34920)

Adds a
titleto the commit counts when comparing branches, making it easier for novice users to understand what the numbers mean.Fixes#34867.