QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

Feature request: ability to show notes in Subfolders panel

Open mpodshivalin opened this issue 8 years ago • 35 comments

Let's imagine that we have a following folder/notes structure:

Notes
|-- Markdown Cheatsheet (note)
|-- Work (folder)
    |-- Passwords (note)
    |-- Contacts (note)
    |-- Active work (folder)
        |-- ToDo List (note)
        |-- Meeting agenda 26.11.2017 (note)
    |-- Archive work (folder)
        |-- Meeting 20.01.2017 (note)
        |-- Meeting 20.02.2017 (note)
        |-- Meeting 20.03.2017 (note)
|-- Life (folder)
    |-- ToDo List (note)
    |-- Trips (folder)
        |-- 12.2017 trip (note)
        |-- 04.2018 trip (note)
    |-- ...
|-- Random documents
    |-- How to generate SSH keys (note)
    |-- ...

Currently we have 2 separate panels to switch between notes:

  • Subfolders panel
  • Note list panel

So I'll see this interface: image

If I need to switch from work ToDo List to life ToDo List to quickly add something, I'll have to:

  • Navigate to Life (folder)
  • Open ToDo List (note)
  • Navigate back to Active work (folder)
  • Open ToDo List (note)

This is not very convenient not only because of the number of actions, but because I have to explicitly remember the name of the folder I need to navigate to. I have tons of notes in different folders, so using "All notes" or history wouldn't be convenient either, so I propose to add the ability to show notes directly in Subfolders panel (thus making it possible to use only one panel instead to two), so it would look like this:

image

Maybe it's not to everyone's taste, but in my case switching between notes would be much easier this way.

Todo

  • [x] check if selected item is a note for all operations on selected items
  • [x] make note filtering work (note search)
    • [x] text search
    • [x] tags
  • [x] context menu for sub-folders
  • [x] create new sub-folder via context menu
  • [x] create new note in sub-folder via context menu
  • [x] remove selected sub-folder via context menu
  • [x] rename sub-folder via context menu
  • [x] show sub-folder in file manager via context menu
  • [x] show last used note at startup
  • [x] sub-folder switching
  • [x] make notes visible when they are in the root directory
  • [ ] check if current item is a note for all operations on current item
  • [ ] context menu check if note or folder is selected
  • [ ] widget in note edit at multi-selection: check if notes or sub-folders are selected
  • [ ] sorting of notes / sub-folders?
  • [x] note sub-folder renaming via F2 or click on the folder name
  • [ ] hide sub-folders if notes were hidden
  • [ ] Option to show sub-folders on top in note tree (maybe, TBD)
  • [ ] It would be nice to be able to move notes to other subfolders within the same note folder
  • [ ] Create a way to expand all sub-folders (#2520)
  • [ ] Allow deleting of folders, mixed with notes with Del key (#3374)

mpodshivalin avatar Nov 26 '17 15:11 mpodshivalin

I'm sorry, that didn't work out for 1000s of notes...

But you either can:

  • use the bookmarking function to switch between notes (take a look at the keyboard shortcuts)
  • use the keyboard keys or mouse keys to jump forward or backward in the note history
  • use the note view dialogs to view multiple notes if you don't want to edit them

pbek avatar Nov 26 '17 15:11 pbek

19.10.11

  • you now can choose to show your notes together with your subfolders in a tree
    • you can enable this in the Panels settings
    • this is work in progress and by far not fully implemented yet!
    • the note tree will only be shown if subfolders are enabled for your current note folder

pbek avatar Oct 24 '19 16:10 pbek

It's funny, but in my case it's all in opposite. I have a lot (~300) of notes in a few folders and showing them all would be too much overhead since it will create a lot of visual clutter to navigate between folders (otherwise I'll need to collapse/expand these folders all the time). But thanks for the enhancement anyway!

Airgunster avatar Oct 28 '19 18:10 Airgunster

@Airgunster that exactly was the reason a note-tree wasn't implemented in the first place. :smile_cat: https://github.com/pbek/QOwnNotes/issues/790#issuecomment-347018021

pbek avatar Oct 31 '19 09:10 pbek

@pbek wow, thanks, I'm actually still looking forward to this feature, so it's good news for me :) I'll check it out soon

mpodshivalin avatar Oct 31 '19 11:10 mpodshivalin

More to come in 19.11.0...

pbek avatar Oct 31 '19 11:10 pbek

19.11.0

  • improvements where made to the note / sub-folder tree mode
    • note search by text and filtering by tag is now working
    • if you right click on an item you will now either get the context menu for a note or a sub-folder depending what item you have clicked
      • you can create a new note or sub-folder via context menu
      • you can show a sub-folder in file manager via context menu
      • you can remove selected sub-folder via context menu
      • you can rename the current sub-folder via context menu, by clicking it twice or by pressing F2
    • if you click a sub-folder the current note sub-folder will be changed to it

pbek avatar Oct 31 '19 15:10 pbek

There now is a new release, could you please test it and report if it works for you?

pbek avatar Oct 31 '19 15:10 pbek

19.11.1

  • improvements where made to the note / sub-folder tree mode
    • on application startup the last opened note will be loaded from the correct sub-folder

pbek avatar Nov 01 '19 10:11 pbek

There now is a new release, could you please test it and report if it works for you?

pbek avatar Nov 01 '19 10:11 pbek

Sorry for the delay. I've tested this new functionality and it is awesome :) However I've noticed one problem. Notes aren't visible when they are in the root directory: image

mpodshivalin avatar Nov 20 '19 16:11 mpodshivalin

Thank you for the feedback!

pbek avatar Nov 20 '19 18:11 pbek

It looks like Context Menu no longer works for folders in this mode (QOwnNotes 20.3.5, macOS 10.15): right click does nothing (it works for notes just fine, though).

lassana avatar Mar 15 '20 10:03 lassana

@lassana do you mean context menu check if note or folder is selected on the todo list on the top of this feature request? :grin:

pbek avatar Mar 15 '20 11:03 pbek

@pbek , Nope. I've enabled Instead of a note list use a note tree with all the subfolders (if they are turned on for the note folder) option, restarted the app and right mouse click no longer works for folder items in the note list.

lassana avatar Mar 15 '20 11:03 lassana

Instead of a note list use a note tree with all the subfolders (if they are turned on for the note folder)

yes, that's what this feature request is about. but it is "work in progress" (see todo list above) :grinning:

pbek avatar Mar 15 '20 11:03 pbek

By using the subfolders tree, you can sort the folders and notes in alphabetical order or by last change, but you cannot do this for just one of them. I believe that sorting the notes by last modification and the subfolders in alphabetical order is the preference of most people. Perhaps this option could be added?

That's the default behavior when you're using one panel for notes and another for subfolders. The folders are organized alphabetically and the notes by the last modification.

fabianski7 avatar Aug 13 '20 14:08 fabianski7

I played around with sorting yesterday and found no easy way to sort folders and notes differently in the tree. It will be tricky to add that (without major regressions).

pbek avatar Aug 13 '20 15:08 pbek

20.8.4

  • improvements where made to the note / subfolder tree mode
    • the notes of the note folder root are now shown
    • if your right-click a sub-folder the sub-folder context menu is now shown

There now is a new release, could you please test it and report if it works for you?

pbek avatar Aug 13 '20 16:08 pbek

20.8.10 fixes the context menu issue for me!

lassana avatar Aug 23 '20 14:08 lassana

I guess 20.8.4 did, or what was your previous version, @lassana?

pbek avatar Aug 23 '20 15:08 pbek

@pbek you're probably right, my previous version was like 20.3.x or smth

lassana avatar Aug 28 '20 16:08 lassana

Just writing to add to this chain about #2149 that I opened, it would be nice to have an option to show all sub-directories in the notes folder separately above files in the tree view. This is an option seen in e.g. file managers were directories appear above files

digg33 avatar May 31 '21 11:05 digg33

it would be nice to have an option to show all sub-directories in the notes folder separately above files in the tree view

@digg33, and where are the notes of those sub-folders shown?

pbek avatar May 31 '21 13:05 pbek

@pbek Please have a look at the screen shot below. This is how the Note list panel looks when in Tree mode and sorted alphabetically. image

What I would like is to have the folders above the files: image

Hope that helps. Let me know if you have any questions

digg33 avatar May 31 '21 18:05 digg33

Thank you

pbek avatar May 31 '21 19:05 pbek

It would be nice to be able to move notes to other subfolders within the same note folder when using note tree, currently notes can only be moved to other folders, the folder containing the note itself and its subfolders are not listed as destination options

davuses avatar Jul 29 '21 08:07 davuses

I added that to the "task list" above.

pbek avatar Jul 29 '21 09:07 pbek

Is this feature a part of the main QOwnNotes release? I've enabled "Display note subfolders as full tree" in Settings->Interface->Panels->Note subfolders panel, but still don't see notes inside their sub-folders.

tbsp avatar Jan 16 '23 17:01 tbsp

Have you enables subfolders for your note folder?

pbek avatar Jan 16 '23 19:01 pbek