tavyandy97/span-tree

Support package cascading expansion.

JiaRG opened this issue · 4 comments

JiaRG commented

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

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

image
image

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.

Closing this issue due to inactivity