Open a note via link without expanding the parent note in the note tree #4660
Replies: 2 comments 1 reply
-
Wouldn't it be nice to have sticky tree parents in the notes tree like so: https://marchaos.github.io/react-virtualized-sticky-tree/ ? |
Beta Was this translation helpful? Give feedback.
-
I experimented a bit and found a bit of a hack. There's a concept of archived notes: https://github.com/zadam/trilium/wiki/Archived-notes With a specific setup you can achieve what you want:
It has disadvantages - e.g. to add new items to the lexicon, you'd have to toggle the "Hide archived notes" to false. |
Beta Was this translation helpful? Give feedback.
-
As I describe in this discussion: #4634 I have written a script to import a few hundred notes into a single note - lets call that note "parentNote". They are only used to be linked to in other notes.
Whenever I click on a link to open one of these notes, the parentNote is expanded in the tree view. That leads to me needing to scroll all the way up and collapse it again every time.
Is there a way how you can prevent the note from expanding? It would be okay if it would never expand at all (meaning if it would be impossible to see that note in the treeview for example which would limit opening such notes to links).
If an example helps why such behaviour might be of interest: Think of a lexicon. If you link a word you do not want to scroll through all words in a lexicon to close the lexicon to get back to business (I am aware of the backlink, but the parentNote remains expanded making future orientation less simple.
Beta Was this translation helpful? Give feedback.
All reactions