Closed Valporaena closed 5 months ago
I have found a hack/solution for this issue and similar issues as well. First you give any note containing a large number of subnotes an inheritable #archived label and then in a "Tree settings" menu (on the lower left) check the "Hide archived notes" option. Overall performance improves dramatically and you can still view the notes, clone and search through them (with an "Include archived notes" option) without experiencing any slowdown at all. Now you can have a great editable/searchable archive of html files you can reference/work with without any performance issues.
I still hope a more elegant solution for this type of "archive" notes (basically notes with thousands of subnotes which you wouldn't want to expand or view as a tree) would be implemented in the future. Maybe another type of note or a label should be added.
Many thanks to everyone working on this project and @zadam especially! Leagues ahead of every other personal-knowledge-base-type project I've tried.
I've made a plugin that adds a second way to hide notes which can hide all the children of a note.
Same thing as with the archived label, just add a #child:hidden
to hide all children.
Trilium has entered maintenance mode. Future enhancements will be addressed in TrilumNext: https://github.com/TriliumNext/Notes/issues/135
My particular use case is: I have a note with ~10000+ html subnotes used for archive/search purposes only. So, I search through it, import into it and clone/reference the subnotes. I don't want it to expand ever, mostly because I experience a slowdown every time it expands. And it expands every time I need to open a subnote. As far I can see, there is no "do not expand a tree on opening a subnote" option. I can see there is an "expanded" label, but adding it with "false"/0 value or with no value doesn't do anything for me. I think it would be good to have this option.