Skip to content

Optimize filetree request path#176

Merged
stijnpotters1 merged 24 commits intomasterfrom
feat/optimize-filetree-request-path
Feb 4, 2026
Merged

Optimize filetree request path#176
stijnpotters1 merged 24 commits intomasterfrom
feat/optimize-filetree-request-path

Conversation

@Daan0709
Copy link
Contributor

  • Now only requests folder contents when actually loading the folder.
  • Sorts the filetree by directory first, then .xml files treated like folders, and then other files

Closes #173

@Daan0709 Daan0709 self-assigned this Jan 13, 2026
@Daan0709 Daan0709 marked this pull request as ready for review January 14, 2026 09:07
@Daan0709 Daan0709 requested a review from Matthbo January 14, 2026 09:07
@Daan0709 Daan0709 requested a review from Matthbo January 30, 2026 13:42
@Daan0709 Daan0709 requested a review from Matthbo February 4, 2026 13:43
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@stijnpotters1 stijnpotters1 merged commit 223e4b8 into master Feb 4, 2026
5 checks passed
@stijnpotters1 stijnpotters1 deleted the feat/optimize-filetree-request-path branch February 4, 2026 19:07
VincentvanMedenbach pushed a commit that referenced this pull request Feb 11, 2026
* Revamp backend for file system reading and writing

* Editor now fetches files from actual filesystem

* Saving now works again for the editor, now directly writes to filesystem

* Can now save and read directly from local file system

* Updated controllertests

* Test updates

* Pipeline fix?

* Added testing for filetreeservice

* Refactored traverse functions

* Now caches provider data on first load, and only updates the cache if filetree from backend has changed

* Filetree now requests folderdata when expanded, instead of preloading the entire tree, which was expensive

* Merge changes

* Pipeline and security fixes

* Added tests

* Added test

* Reused sorting function instead of duplicating

* Fixed merge issues

* Removed unused function

* Removed accidental duplicated code

* Now loads root on construction of editorfilesdataprovider, fixed some merge issues
VincentvanMedenbach pushed a commit that referenced this pull request Feb 11, 2026
* Revamp backend for file system reading and writing

* Editor now fetches files from actual filesystem

* Saving now works again for the editor, now directly writes to filesystem

* Can now save and read directly from local file system

* Updated controllertests

* Test updates

* Pipeline fix?

* Added testing for filetreeservice

* Refactored traverse functions

* Now caches provider data on first load, and only updates the cache if filetree from backend has changed

* Filetree now requests folderdata when expanded, instead of preloading the entire tree, which was expensive

* Merge changes

* Pipeline and security fixes

* Added tests

* Added test

* Reused sorting function instead of duplicating

* Fixed merge issues

* Removed unused function

* Removed accidental duplicated code

* Now loads root on construction of editorfilesdataprovider, fixed some merge issues
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.

Cache file structures for quicker loading

3 participants