Add option to disable file listing in code tab #13391

Open
opened 2025-11-02 10:40:59 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @angelosilvestre on GitHub (Aug 16, 2024).

Feature Description

We have a repository with a large number of files in the root directory.

Because of this, when an user accesses the code tab the CPU and memory usage of the instance becomes very high. Also, the page takes a long time until it's shown.

It would be good to have an option to disable the file listing, while keeping the commits, branches and other options visible.

Screenshots

No response

Originally created by @angelosilvestre on GitHub (Aug 16, 2024). ### Feature Description We have a repository with a large number of files in the root directory. Because of this, when an user accesses the code tab the CPU and memory usage of the instance becomes very high. Also, the page takes a long time until it's shown. It would be good to have an option to disable the file listing, while keeping the commits, branches and other options visible. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:40:59 -06:00
Author
Owner

@lunny commented on GitHub (Aug 16, 2024):

Maybe we can have a default repository page. The default value is file list, and options are commits list, README-only, branches list and etc.

@lunny commented on GitHub (Aug 16, 2024): Maybe we can have a default repository page. The default value is file list, and options are commits list, README-only, branches list and etc.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13391