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

Fold directories to hide contents if they have too many files #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FoamyGuy
Copy link
Collaborator

Resolves: #12

The project noted in the issue now gets this screenshot generated:
Matrix_Portal_Moon_Clock

I chose somewhat arbitrarily a limit of 10, but it's a variable and easy to change. I'm open to any feedback regarding the value to use as the cutoff.

Folder contents from folders that contain more than the cutoff amount of files are now omitted from the final list that get rendered. Folders rendered without any contents are shown with the folded triangle icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't open directories that have a large number of images or other non-code files
1 participant