tavyandy97 / span-tree

🌳 Tree for GitLab
https://chrome.google.com/webstore/detail/spantree-gitlab-tree/gcjikeldobhnaglcoaejmdlmbienoocg
MIT License
217 stars 20 forks source link

Support package cascading expansion. #74

Closed JiaRG closed 2 years ago

JiaRG commented 2 years ago

At present, you need to open each layer of the package to view the files, which is very inconvenient

tavyandy97 commented 2 years ago

Hi @JiaRG ! Currently, the files in each directory are fetched whenever the user opens that folder in the tree pane. I'm sorry I was not able to understand how this causes an inconvenience. Could you elaborate on how we could make this better?

JiaRG commented 2 years ago

image image

tavyandy97 commented 2 years ago

image

(The above screenshot was taken with lazy loading turned off)

OctoTree (the extension you're using on GitHub) has the option to disable lazy loading. In SpanTree due to GitLab API limitations there's a limit on the number of files which can be fetched in one API call. This is the reason the decision to lazy load the files was taken.

tavyandy97 commented 2 years ago

Closing this issue due to inactivity