This is a simple folder tree UI component made with JS.
I wanted a component easy to read and understand how it is creating the folders.
Code isn't minified so anyone can download and change it however they want :)
--
Use the FolderTree block along with the UpdateTreeFolder action on an aggregates after fetch to display/update the folder entries.
If an orphan is find (one that isn't a root folder) a console.log message will popup, so keep an eye on that.