Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Option to not expand a subtree when you open a subnote #2203

Closed
Valporaena opened this issue Oct 6, 2021 · 3 comments
Closed

Comments

@Valporaena
Copy link

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.

@Valporaena
Copy link
Author

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.

@abitofevrything
Copy link
Contributor

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.

#2072

@meichthys
Copy link
Collaborator

Trilium has entered maintenance mode. Future enhancements will be addressed in TrilumNext: TriliumNext#135

@meichthys meichthys closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
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

No branches or pull requests

3 participants