Skip to content

Repo paging in dashboard shows too many pages with 30 repos #15601

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

Closed
2 of 5 tasks
fnetX opened this issue Apr 23, 2021 · 2 comments · Fixed by #16382
Closed
2 of 5 tasks

Repo paging in dashboard shows too many pages with 30 repos #15601

fnetX opened this issue Apr 23, 2021 · 2 comments · Fixed by #16382
Labels
good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI

Comments

@fnetX
Copy link
Contributor

fnetX commented Apr 23, 2021

  • Gitea version (or commit ref): 1.13 (Codeberg), 1.15 (try.gitea.io)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

Description

The paging of repos is broken in the user dashboard with (n)*15 repos, n >= 2.
So with 15 repos, there is no paging yet, but with exactly 30 repos, you can click to the second page, and it also offers you to navigate to the third page (repos 31 - 45) - but it is just empty because there are no more repos to show.
I assume that this also happens with 45, 60, 75, 90 repos etc.

Feel free to join the 30repos org on try.gitea.io, I assume the maintainers have admin accounts on the instance.

Screenshots

screenshot, second page still offers a button to the right

@fnetX
Copy link
Contributor Author

fnetX commented Apr 23, 2021

Since this is just a minor thing, it's probably a good first issue? Won't find the time to look at the code the coming weeks though ...

@techknowlogick techknowlogick added good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI labels Apr 23, 2021
@jannaahs
Copy link

jannaahs commented Jul 3, 2021

Hi, I would like to work on it. Is it ok?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI
Projects
None yet
3 participants