Add pagination to go to file or find page. #14318

Open
opened 2025-11-02 11:09:40 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @boydaihungst on GitHub (Mar 29, 2025).

Feature Description

I have a large repository with many files that have similar names, and I use the Go to file/Find page frequently. The issue arises when I search for a file that matches a few hundred results. However, the current Gitea web UI only displays fewer than 100 results. It would be great if we could navigate to the next page to see the remaining files.

Screenshots

Here is how github implemented this feature:

Image

When I clicked see all results link:
Image

Originally created by @boydaihungst on GitHub (Mar 29, 2025). ### Feature Description I have a large repository with many files that have similar names, and I use the `Go to file`/`Find` page frequently. The issue arises when I search for a file that matches a few hundred results. However, the current Gitea web UI only displays fewer than 100 results. It would be great if we could navigate to the next page to see the remaining files. ### Screenshots Here is how github implemented this feature: ![Image](https://github.com/user-attachments/assets/cf5d3df4-6334-4b5a-a57f-d4a1c8a8db3e) When I clicked `see all results` link: ![Image](https://github.com/user-attachments/assets/be33e952-7256-43c7-a192-edb5b1838244)
GiteaMirror added the type/proposal label 2025-11-02 11:09:40 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14318