Combinable filter capabilities
Is your feature request related to a problem? Please describe.
There is currently no generic filter capability implemented. A handful of specific filters are available from the side menu (favourites, person, place, tag), but these filters cannot be combined. E.g. it is not possible to
- Show images with both, Alice and Bob
- Show images from Aug 2023 on the map
- Show only videos in a specific album
- Show images with cats in LA
- ...
Describe the solution you'd like A generic method to filter photos in any of the views (most importantly the timeline and maps views, but also folders, videos, albums etc.). And to combine these filters. This should allow filtering by
- Date and time (year/month or from ... to)
- Location(s) (with hierarchical country/area/town options, like currently available in the places view, also an option for "missing GPS")
- Content type (photo, video, gif, live photo, panorama, 360°, ...)
#676 - Person(s) involved
#673
#899 - Favourite/Rating/Stars
#564 - Tag(s)/keyword(s)
#891 - (Optionally) other EXIF fields, e.g. resolution, camera model, orientation
- (Optionally) shared by/with user
Probably a bar at the top providing dropdowns/sliders/etc. would be a good way to do this.
This would also provide some useful tools to maintain one's image library, e.g. to filter images which are missing GPS tags,
Describe alternatives you've considered
- Specific solutions for each of the above-mentioned aspects (see linked issues) as separate categories in the menu. But this would not make for a generic filter capability and not allow for combinations of filters.
- Using Nextcloud search functionality instead of filtering. This would be less intuitive and much more complicated to implement. See #674
Additional context
Requires same/similar backend implementations as for #352
Slider to filter by date and time used by the Maps app
Filter by country, area, place, etc. used by the places view
I wanted to share a quick update regarding the filtering feature, as I found it to be quite essential. I have implemented basic support for filtering, which also includes some functionalities outlined in issues #1004, #1238, and #1042.
This implementation builds upon the user labeling code from PR #1266. Once that PR is merged, I would be happy to open a new PR specifically for the filtering feature.
Here’s a preview of the current implementation, feedback is always welcome :) :
Will this also be available on mobile app ?
Will this also be available on mobile app ?
yes, this is currently also implemented with mobile support on my fork, if you're interested you can find the code here:
https://github.com/jovanbulck/memories/commit/ad64ac594388895a79efa18ad8a21754dc322740
I'll need to find some time to rebase and update this now that #1266 is merged to open a PR to get this upstream :)
@jovanbulck
Here’s a preview of the current implementation, feedback is always welcome :) :
@jovanbulck
TBH I would rethink this design. This window seems to be not very expandable, moreover it hides (when you fold it) search information during preview. I think, that approach from aves would be much better. you would have a small top bar with buttons representing selected filters applied to your view.
In general I think in terms of flow it could work in the same way, like sharing in Memories. In the top right corner next to share icon there should be filter icon, which would open a sidebar with filtering options. And after selecting some filter options a narrow bar with button representing filter should appear.
This is (a poor) visualization of my suggestion: