FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.35k stars 40 forks source link

Add a subfolder grouping option to each folder #96

Open Rafee-M opened 5 months ago

Rafee-M commented 5 months ago

Checklist

Is your feature request related to a problem? Please describe. Currently you can enable subfolder grouping on the main screen i.e for all folders

Describe the solution you'd like If that option is added for each individual folders it would be useful if the user wants to enable group subfolders for specific folders only.

Additional context

Screenshot_2024-01-22-14-33-49-24_29b563cd0bc4fd07bd0c105b17b28204_1 Option to be added (from Main Screen > Change view type)

Screenshot_2024-01-22-14-39-11-06_29b563cd0bc4fd07bd0c105b17b28204 Target menu for new option (located at any folder > Change view type)

sn0ot commented 5 months ago

I came to also request that. An example use case could be, for example:

Before feature:

After feature:

Considerations: This feature would have to be applied at the scope of a folder (as opposed to a global toggle). We probably don't want a global toggle because some camera apps save pictures into DCIM/<month picture was taken>.

An elegant way I can see to implement this (at a high level) is to have a user populate a list (similar mechanism to the manage included folders and manage excluded folders that exists now). And all folders that appear in that list, they will be rendered in the gallery app. We probably also want the ability to include all subfolders (/storage/emulated/0/foo/*) so the user doesn't have to add each subfolder (unless they wanted to)

ThreeDeeJay commented 5 months ago

It would be nice to be able to search for grouped subfolders without having to ungroup them first, especially since groups reduce the need for search and might even be faster to just scroll through when there's fewer of them. Perhaps it could also be combined with the "Search all files instead of folders on the main screen" option (or just a separate one) so that search includes both grouped subfolders and files.

Also it might be handy to always show pinned subfolders at the top instead of hidden within their parent group, so that we can have both easy-access folder and the lower priority folders can still remain in their group to reduce clutter.