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: Add option to create folders for notes #195

Open
afland opened this issue Mar 7, 2021 · 7 comments
Open

Feature Request: Add option to create folders for notes #195

afland opened this issue Mar 7, 2021 · 7 comments
Labels
enhancement New feature or request
Milestone

Comments

@afland
Copy link

afland commented Mar 7, 2021

It would be great to be able to create folders within which to better organize notes and collapse those folders for better visibility.

@penge
Copy link
Owner

penge commented Mar 8, 2021

Nice idea. I plan to add greater improvements such as this one (and others like custom notes order, which would include some changes in data structure and their migration) in My Notes 4.

@penge penge added the enhancement New feature or request label Apr 17, 2021
@penge penge added this to the 4.0 milestone May 28, 2021
@bhupesh-sf
Copy link

Any idea how soon this feature can land? @penge

@penge
Copy link
Owner

penge commented Jun 1, 2022

@bhupesh-sf
I plan to update how notes are stored (a prerequisite for this feature, but also an independent improvement I plan to do for long). This will have effect (needs to be updated as well) on how notes are: migrated between versions, edited and saved, synced between tabs, synced to and from Google Drive. It will be a major update and "a non-backward compatible update", that would be released under a new major version 4.0.
I hope I can get it done within a month. Folders can be a next step. I need to think about it.

@GATOQSECOMIO
Copy link

any update for this? (exist any milestones about this?)
Thanks and congrats for the project!

@penge
Copy link
Owner

penge commented Dec 24, 2023

Hi @GATOQSECOMIO

Glad you asked! I've been thinking about this recently.

There's this Folder functionality, which means, we should be able to:

  1. create, list, rename, delete folders
  2. move note inside/outside a folder
  3. sync (to and from Google Drive) all actions from 1. and 2.

Point 3. is very important – it also adds a new level of complexity.

^^^ This concludes original approach. ^^^


Different approach

And so, I was thinking about possibly a different approach, a simple one, where we would get the organizational benefits (folder-like), most if not all of the benefits, with minimum risk. And I think I got it.

P1: The following proposal would require zero changes in the sync process (point 3.), and there would be no folders to deal with (point 1.).

Screenshot from which I'll explain further:

nested_notes

Let's start with the obvious drawback – there are no folders.

And now the main benefit: there are no folders. (see P1)

That means, note which holds other notes together, is not a folder, but also a note – can contain text.

Moving notes around, inside and outside "folder", would be as simple as renaming the notes, and naming them appropriately, of course. My Notes would use a convention naming to separate "folder" from note (folder-like), and understand how to interpret that (as in the Screenshot).

Behind the scenes, the file names would be (no extension for simplicity):

Math
Math__Algebra
Math__Homework

Music
Music__Favourites

Kitchen
Kitchen__Recipes

TODO

The above meets the criteria of unique filename. That means, there can be two "folders", both of which would contain note "Homework".

^^^ This concludes different (proposed) approach. ^^^


What do you think?

@bhavant
Copy link

bhavant commented Jan 9, 2024

@penge The proposed approach sounds great. The added advantage is that the folder i.e. Note used as a folder can also be used for descriptions or to-do or any other things the user might want to add to the folder or update.

@penge
Copy link
Owner

penge commented Jan 9, 2024

@bhavant Great to hear. I also think that Note-like folder can be a nice advantage. Will finish some things up and start working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants