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

Pinned/Favorite Folders #42

Closed
fluxxcode opened this issue Feb 19, 2024 · 1 comment
Closed

Pinned/Favorite Folders #42

fluxxcode opened this issue Feb 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@fluxxcode
Copy link
Owner

To improve the navigability and UX of the file dialog, it should be possible to pin certain folders so that they are displayed in the left sidebar.

The feature should be divided into the following two main tasks:

1. General functionality

The general functionality must be implemented so that folders can be marked as pinned/favorite/starred. The following points should be taken into account:

  • A new area should be implemented in the side panel where the pinned files can be accessed. Right-clicking on an entry should open a context menu where a folder can be removed from the list.
  • Visualize a pinned folder. This can be implemented in the main content view and possibly also in the current path display at the top.
  • Button or context menu to pin a folder
  • Save pinned folders to persistent storage. This should be an optional feature so we don't force the use of persistent storage.

2. Load pinned folders from native file explorers

Many of the operating system's native file explorers also allow you to pin files for quick access. It would be beneficial if the pinned folders could be loaded from the native file dialog. This would save the user from having to re-set the pinned folders.
However, I currently don't know to what extent there are APIs for this and whether it makes sense to use them.
If this is possible and using the APIs for this purpose seems reasonable, the following points must be taken into account:

  • What if we edit the pins? Should we update them in the native file dialog too?
    -> I think it would probably make sense to create two different areas in the left sidebar. An area for pinned folders that are loaded from the native file dialog and are read only. Then there is an area for starred folders, which can only be used and edited for this file dialog. (The terms starred, pinned and favorite are not yet defined)
@fluxxcode fluxxcode added the enhancement New feature or request label Feb 19, 2024
@fluxxcode fluxxcode changed the title Pinned / Favorite Folders Pinned/Favorite Folders Feb 19, 2024
@fluxxcode fluxxcode self-assigned this Mar 13, 2024
@fluxxcode
Copy link
Owner Author

The general functionality is now implemented with #100 and #104.

I currently do not see the loading of specified folders in the operating system as a feature to be expected in the future. That depends too much on the operating system and there probably won't be any APIs for this. Therefore I will close the issue for now.

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

1 participant