Skip to content

fix(files): reuse available data for folder tree#58122

Draft
susnux wants to merge 1 commit intochore/update-filesfrom
fix/folder-tree
Draft

fix(files): reuse available data for folder tree#58122
susnux wants to merge 1 commit intochore/update-filesfrom
fix/folder-tree

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 5, 2026

Summary

This delays the folder tree generation until the files list was initially loaded,
this allows us to reuse the fetched data for the currently open folder.
Meaning we already know which folders are available under the current folder.

Moreover we also can generate the folder tree to the root (without siblings) which leads to faster initial load.
The other siblings are loaded when the tree was initialized and they are requested by the user.

Checklist

@susnux susnux added this to the Nextcloud 34 milestone Feb 5, 2026
@susnux
Copy link
Contributor Author

susnux commented Feb 5, 2026

/backport to stable33

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux requested a review from artonge February 5, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants