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

Number of commits format #12637

Closed
ghost opened this issue Aug 29, 2020 · 2 comments · Fixed by #21786
Closed

Number of commits format #12637

ghost opened this issue Aug 29, 2020 · 2 comments · Fixed by #21786
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Milestone

Comments

@ghost
Copy link

ghost commented Aug 29, 2020

Use some formatting to improve readability of the number of commits.

Currently it looks like this:
commits

Instead it should look something like this:

10 006 Commits or
10,006 Commits or
10.00K Commits

@Extarys
Copy link

Extarys commented Sep 4, 2020

This could be shown based on localization/language chosen or configurable independently maybe?

@stale
Copy link

stale bot commented Nov 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale stale bot added the issue/stale label Nov 9, 2020
@noerw noerw added the type/enhancement An improvement of existing functionality label Dec 21, 2020
@stale stale bot removed the issue/stale label Dec 21, 2020
@noerw noerw added the topic/ui Change the appearance of the Gitea UI label Dec 21, 2020
techknowlogick pushed a commit that referenced this issue Nov 13, 2022
Use `JsPrettyNumber` to render the number of commits

* Closes #12637

### Before

![1094](https://user-images.githubusercontent.com/20454870/201484428-eaa80d27-eeed-444e-9dc5-ae046424de2f.png)

### After

![1,094](https://user-images.githubusercontent.com/20454870/201484385-b5bdc290-86fd-493b-a87c-c987012b18ad.png)

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
@lunny lunny added this to the 1.19.0 milestone Nov 13, 2022
fsologureng pushed a commit to fsologureng/gitea that referenced this issue Nov 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
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 type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants