Not really a bug, so maybe this is a feature request ?
The default behavior is If a notebook has notes at it’s root and also sub notebooks with other notes, expanding and selecting the root notebook will list just the notes on the root folder instead of all notes under that root notebook + sub notebooks.
But going on the detail view, for that same root notebook, there’s no way to get just the list of notes under the root notebook so if I want just those notes, I have to get out of the detail view
Any chance that we can get something like this? so that the root notebook is also clickable and only those notes are listed?
Thanks for the feedback.
That’s interesting as I haven’t ever thought of it.
An idea to quickly solve it is to support a modifier key for the ‘All Notes’ menu item click handler. e.g., if you click it while holding Alt, it shows only the direct children. But it is not an obvious UX.
I don’t know if having a ‘Root’ menu item below the ‘All Notes’ item at the moment.
Do you have any other ideas?
It’d be ok to add another sidebar item for displaying the direct children, but the problem is that what label it should have since we already have ‘All Notes’.
It sounds weird to call it ‘Direct children’…
Maybe have some UI switch or another way to visually show the modified behavior?
It is still unclear just as the menu label problem.
Or, have a plugin add a section on the side nav for it. Would that be possible to implement?
BTW, you can create a custom command that toggles the children flag in your init.js like so