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

✨ Allow directories to be collapsed in the file tree #37

Open
RobertBlackhart opened this issue Oct 6, 2024 · 1 comment
Open

✨ Allow directories to be collapsed in the file tree #37

RobertBlackhart opened this issue Oct 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RobertBlackhart
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Depending on the number of files and folders on the device, it may be useful to allow collapsing the directories. This makes it easier to focus on the relevant files currently being worked on.

Describe the solution you'd like
Some button or action added to the file tree for directory entries that allows them to be collapsed, which would hide files and folders under them. And then to be expanded again.

Describe alternatives you've considered
None, really. I'm not sure what a good alternative is. The current behavior would be and it works fine.

Additional context
Here's an example when loading the VM of the files that I want to interact with are all at the bottom:

Screenshot_20241006-165701

@vshymanskyy
Copy link
Owner

I believe it would be best to extract the tree view into a separate component, that will handle all that.
Also, specifically for VM, we should auto-collapse the system directories.

@vshymanskyy vshymanskyy changed the title Allow directories to be collapsed in the file tree ✨ Allow directories to be collapsed in the file tree Oct 7, 2024
@vshymanskyy vshymanskyy added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants