Paginate commits and changes on new pull request #2707

Open
opened 2025-11-02 04:45:09 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @vijfhoek on GitHub (Jan 4, 2019).

Currently, commits and changes on a new pull request are not paginated. I just opened a massive pull request with almost 300 commits, which took about half a minute to render in my browser.

Perhaps we should limit it to ~50 commits (or something) and add pagination to browse through the commits.

I understand it's a pretty rare event, but it'd be nice to have.

Originally created by @vijfhoek on GitHub (Jan 4, 2019). Currently, commits and changes on a new pull request are not paginated. I just opened a massive pull request with almost 300 commits, which took about half a minute to render in my browser. Perhaps we should limit it to ~50 commits (or something) and add pagination to browse through the commits. I understand it's a pretty rare event, but it'd be nice to have.
GiteaMirror added the type/proposaltype/enhancement labels 2025-11-02 04:45:09 -06:00
Author
Owner

@SebastianGode commented on GitHub (Dec 12, 2023):

@lunny Are there any news to that?

@SebastianGode commented on GitHub (Dec 12, 2023): @lunny Are there any news to that?
Author
Owner

@tischrei commented on GitHub (Dec 12, 2023):

We have also such issues, because we are using PRs with 300 comments+. Our page load takes 4-5 minutes which is way too long and takes 1 GB RAM and more. Could anyone have a look on this and maybe introduce some performance buff / pagination?

image

@tischrei commented on GitHub (Dec 12, 2023): We have also such issues, because we are using PRs with 300 comments+. Our page load takes 4-5 minutes which is way too long and takes 1 GB RAM and more. Could anyone have a look on this and maybe introduce some performance buff / pagination? ![image](https://github.com/go-gitea/gitea/assets/26574398/1a37e484-11cc-47b8-bec3-4acdd6148982)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2707