For a profile where each top-level notebook denotes a different organization or project, it would be very useful to have a per-notebook option similar to the current “All notes” option but which only showed notes contained in the selected notebook (and its sub-notebooks).
As an example usage, I have a root notebook “Organization”, and sub-notebooks “Project 1”, “Project 2”, etc. Each of these sub-notebooks might have a sub-sub-notebook “Epic A”, “Epic B”, and so on. I want to be able to find the most important notes in all of Project 1, regardless of the Epic to which they belong. The current design makes this a bit tedious.
Especially keeping the pushes for allowing finer access controls / multiple profiles in mind, this behavior would also mesh well with the idea that every notebook could be a share point. Perhaps a user would want to see the latest notes in a share, rather than the latest notes across the user’s entire profile.
As for prior art, I saw this issue on Github, but the original request seemed poorly formulated: https://github.com/laurent22/joplin/issues/517
Edit: Just to be abundantly clear, this would be a view option, and by default the current behavior of showing only notes which are direct members of the current notebook would be displayed.