Skip to content
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

Feature request: ability to show notes in Subfolders panel #790

Open
14 of 22 tasks
mpodshivalin opened this issue Nov 26, 2017 · 32 comments
Open
14 of 22 tasks

Feature request: ability to show notes in Subfolders panel #790

mpodshivalin opened this issue Nov 26, 2017 · 32 comments

Comments

@mpodshivalin
Copy link

mpodshivalin commented Nov 26, 2017

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

  • check if selected item is a note for all operations on selected items
  • make note filtering work (note search)
    • text search
    • tags
  • context menu for sub-folders
  • create new sub-folder via context menu
  • create new note in sub-folder via context menu
  • remove selected sub-folder via context menu
  • rename sub-folder via context menu
  • show sub-folder in file manager via context menu
  • show last used note at startup
  • sub-folder switching
  • 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?
  • 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 (Note List Tree Expansion Persistency #2520)
@pbek pbek added Duplicate Type: Feature adds functionality labels Nov 26, 2017
@pbek
Copy link
Owner

pbek commented Nov 26, 2017

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
Copy link
Owner

pbek commented Oct 24, 2019

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

@Airgunster
Copy link

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!

@pbek
Copy link
Owner

pbek commented Oct 31, 2019

@Airgunster that exactly was the reason a note-tree wasn't implemented in the first place. 😸
#790 (comment)

@mpodshivalin
Copy link
Author

@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

@pbek
Copy link
Owner

pbek commented Oct 31, 2019

More to come in 19.11.0...

@pbek
Copy link
Owner

pbek commented Oct 31, 2019

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
Copy link
Owner

pbek commented Oct 31, 2019

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

@pbek
Copy link
Owner

pbek commented Nov 1, 2019

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
Copy link
Owner

pbek commented Nov 1, 2019

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

@mpodshivalin
Copy link
Author

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

@pbek
Copy link
Owner

pbek commented Nov 20, 2019

Thank you for the feedback!

@lassana
Copy link

lassana commented Mar 15, 2020

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).

@pbek
Copy link
Owner

pbek commented Mar 15, 2020

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

@lassana
Copy link

lassana commented Mar 15, 2020

@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.

@pbek
Copy link
Owner

pbek commented Mar 15, 2020

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) 😀

@davuses
Copy link

davuses commented Jul 29, 2021

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

@pbek
Copy link
Owner

pbek commented Jul 29, 2021

I added that to the "task list" above.

@tbsp
Copy link

tbsp commented Jan 16, 2023

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.

@pbek
Copy link
Owner

pbek commented Jan 16, 2023

Have you enables subfolders for your note folder?

@tbsp
Copy link

tbsp commented Jan 16, 2023

Yes, though I can't remember where I enabled that (and can't find it again). Inside the "Note list panel" section I just found "Instead of note list use a note tree with all the subfolders (if they are turned on for the note folder) (work in progress)". Enabling that appears to do what I expected. Sorry for failing to find it earlier!

@pbek
Copy link
Owner

pbek commented Dec 23, 2023

23.12.4

  • the collapse-state for the note tree in the experimental note tree mode is now stored
    (for #790, thank you, @discapes)
  • the matching of the correct heading in note links was improved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants