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

Organization level counters #26826

Closed
KazzmanK opened this issue Aug 30, 2023 · 6 comments
Closed

Organization level counters #26826

KazzmanK opened this issue Aug 30, 2023 · 6 comments
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@KazzmanK
Copy link
Contributor

Description

Inspired by #26456 I`ve created an org level project and suddenly realized that org level counters are missing.
Repository counter is in place, but Projects, Members and Teams are not.

Screenshots

image

Gitea Version

1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Operating System

win

Browser Version

116

@KazzmanK KazzmanK added type/bug topic/ui Change the appearance of the Gitea UI labels Aug 30, 2023
@silverwind
Copy link
Member

IIRC, this was fixed in v1.21, please verify on https://try.gitea.io.

@KazzmanK
Copy link
Contributor Author

It is not well-fixed as of Version:
[1.21.0+dev-678-gc35b16a9a]
projects counter missing
image
Still missing projects counter
image

Repository counter missing AND THIS IS A REGRESSION
image

Repo and Project counters missing
image

@JakobDev
Copy link
Contributor

I have currently a PR open for package counters. I will open another PR for the other ones after this is merged, as I don't want a merge conflict. I can also update the PR to include other counters as well.

@silverwind
Copy link
Member

Ah yes, that was the PR, thought it had already merged. Will try to review it soon.

KazzmanK pushed a commit to KazzmanK/gitea that referenced this issue Sep 6, 2023
A few pages don't load the repo count of an user/org, so it is not shown
in the header. This happens mostly on org pages, but the package
settings applies to the user page as well.

Before:
![Screenshot 2023-08-31 at 12-45-36 Gitea Git with a cup of
tea](https://github.com/go-gitea/gitea/assets/15185051/14a59998-2cf9-4771-82f4-5d1d6fcb31f4)

After:

![grafik](https://github.com/go-gitea/gitea/assets/15185051/ff055aa0-7cde-49be-9522-437bf970be1d)


Seen on go-gitea#26826
Regression of go-gitea#25928
lunny pushed a commit that referenced this issue Sep 6, 2023
A few pages don't load the repo count of an user/org, so it is not shown
in the header. This happens mostly on org pages, but the package
settings applies to the user page as well.

Before:
![Screenshot 2023-08-31 at 12-45-36 Gitea Git with a cup of
tea](https://github.com/go-gitea/gitea/assets/15185051/14a59998-2cf9-4771-82f4-5d1d6fcb31f4)

After:

![grafik](https://github.com/go-gitea/gitea/assets/15185051/ff055aa0-7cde-49be-9522-437bf970be1d)


Seen on #26826
Regression of #25928
@lng2020
Copy link
Member

lng2020 commented Sep 11, 2023

Fixed by #26842 and #26942

@CaiCandong
Copy link
Member

Fixed by #26842 and #26942

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 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/bug
Projects
None yet
Development

No branches or pull requests

5 participants