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
notes from sub-notebooks not shown when parent notebook selected #517
Comments
For me it is the normal behavior |
I agree with @foxmask. If all notes are shown anyways why would one use subfolders in the first place? |
I'm not sure we should compare it with the raw filesystem, but even file managers (eg. Total Commander) allow you to display files from the whole subtree and it is quite usefull. But I agree that it depends on a way how you organize your notes:
From my point of view the default expected behavior is to display notes from the whole subtree. |
I do both, add note on leaf and node, like with Evernote |
I also use notes in nodes and leafs. I still don't understand the usability of it. When you list all notes for a node and its subnodes, the organization goes down the drain. What do you do, if you have notes with the same name? How are the notes supposed to be listed? In which format? e.g. node/note1, node2/note1, node2/subnode1/note1? In this case you might have very long names at one point. Also, it's starting to look like a filesystem after all. Technically it's rather easy to achieve, it's just a tree traversal. And there's recursive SQL if the data is in a databse, although I doubt that sqlite has recursive SQL. |
Database engines are able to use B-Tree, like postgresql (even SQLite). Also in the chess World, the opening database use trees too. Si it's not a matter of SQL ;) |
@foxmask I think you misunderstood. to retrieve all notes of a notebook and its subnotebooks, one can use recursive SQL to retrieve the names of the notes. that is, if the filenames are stored in a database and given that the appropriate relations were set as well. Please note that my SQL comment was only the second part and meant to show off how cool recursive SQL was. The first part was tree traversal. Btw, I was in DB2 development for many, many years, so I think I know a little bit about databases and different tree algorithms. ;-) |
nice to read the discussion about implementation details of the feature you don't like and don't understand its use case :) The main use case of selecting whole subtree and not only single node I see when it also behaves as a pre-filter to the search function - currently it doesn't. So we can probably close this issue for now and maybe reopen in the future if the search function is limitted by selected notebook. |
Yes it seems it's mostly about filtering the search results (show all notes, or only some of them), which has been requested in another issue. |
Operating system
Application
When notebook with some sub-notebooks is selected I would expect to see notes from the whole notebooks sub-tree.
The text was updated successfully, but these errors were encountered: