Skip to content

Folder ("category") tree for better managing subfolders #879

Open
@SamuXzX

Description

@SamuXzX

Is your feature request related to a problem? Please describe.
Some time ago I reported issue #771 to let the user choose the root directory to store notes, so that the folder structure of the notes could be the same of the one used for the files.
Thank you very much for solving the issue.

Now we 2 problems that the come with such a solution:

  1. Having nested folders is useful but the actual UI in Notes isn't sophisticated enough to support them: in the top-left corner we only see the first level of folders and all the nested becomes blocks in the notes list. To me this is not very comfortable for navigating between notes:
    Untitled

  2. Given the fact that I have lots of .md files across my Nextcloud instance, Notes reasonably tries to load them all when I open a first-level category. This causes a slow-down in the loading of the page, which is okay, but sometimes makes Firefox alert me about the tab.
    immagine

Describe the solution you'd like
It may be a good solution to implement a folder-tree. The Android App does it at least for the second level of nesting, then it divides the list in blocks like the web app does:
Untitled1
This could be an initial solution given that the list of categories remains the same when selecting a category. It would help with problem (1) making the navigation easier, and with problem (2) moving further the time the app needs to list all the notes in the subfolders as blocks in the notes list.

This seems like a partial solution. We could go even further listing the subfolders under the folders as subfolder/subsubfolder..., so that we don't need lots of level of indentation. Such lists of subfolders could be opened only when clicking on their relative parent, so that the folder tree doesn't takes space when not needed, and ellipsing the lesser level of nesting in case the name is too long so that the deeper level of nesting is recognizable:
immagine

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds discussionNeed to clarify if and how we should implement this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions