1065 Commits

Author SHA1 Message Date
ashilkn
fd9269ccdf [mob][photos] Make sure AppliedFilters or RecommendedFilters widget is not used when a gallery is not hierarchical searchable 2024-10-18 09:41:13 +05:30
ashilkn
c7a692cb4d [mob][photos] Fix face thumbnail not appearing when filter is applied 2024-10-18 07:25:24 +05:30
laurenspriem
cc1866893e [mob][photos] Extract to string 2024-10-17 22:07:21 +05:30
laurenspriem
53cb48b87c [mob][photos] Make merge clearer 2024-10-17 22:02:40 +05:30
laurenspriem
fefd785e50 [mob][photos] Extract string 2024-10-17 20:58:27 +05:30
laurenspriem
773188db90 [mob][photos] Extract string 2024-10-17 20:56:43 +05:30
ashilkn
2f54acab58 [mob][photos] Make face filtering work (yet to be optimized for performance) 2024-10-17 19:14:24 +05:30
ashilkn
1136d47c09 [mob][photos] Show face thumbnail and name of face if available in FaceFilterChip 2024-10-17 17:46:41 +05:30
laurenspriem
a3140d9d76 Merge branch 'main' into ml_fixes 2024-10-17 17:29:54 +05:30
laurenspriem
2b8c93ec1b Merge branch 'main' into ml_fixes 2024-10-17 15:45:17 +05:30
laurenspriem
edae970e8c [mob][photos] Move up remove option for cluster 2024-10-17 15:34:36 +05:30
Neeraj Gupta
5cff4357ee [mob] ServiceLocator for updateService 2024-10-17 15:31:28 +05:30
laurenspriem
cc1332856d [mob][photos] Surface hide within person cluster 2024-10-17 15:30:12 +05:30
laurenspriem
f2849b3daf [mob][photos] Show smaller people clusters for small libraries 2024-10-17 10:31:32 +05:30
ashilkn
c4d49f4176 [mob][photos] Use FaceFilterChip instead of GenericFilterChip where ever necessary 2024-10-17 09:05:30 +05:30
ashilkn
6252753512 Merge branch 'main' into hierarchical_search 2024-10-17 08:47:00 +05:30
laurenspriem
7df6872579 [mob][photos] Show suggestions more often 2024-10-16 15:47:42 +05:30
Ashil
7dbc1f9389
[mob][photos] Fix system back gesture closing the app when triggered after closing a modal (#3723)
Closes #3613 
Resolves issues in #3524 which are reproducible after a modal is closed
(like bottom sheets, dialogs etc).
2024-10-16 09:49:14 +05:30
ashilkn
0a8d403ea0 [mob][photos] Fix system back gesture closing the app when triggered after closing a modal 2024-10-16 09:09:07 +05:30
Neeraj Gupta
2e15cb35bc [mob] Handle invalid logger name 2024-10-15 15:18:26 +05:30
Neeraj Gupta
bee9694f34 [mob] Add mount check 2024-10-15 15:13:14 +05:30
ashilkn
ea983dd76b [mob][photos] Remove toHierarchicalSearchFilter which is no longer used from HierarchicalSearchFilter 2024-10-14 15:45:05 +05:30
ashilkn
4450018491 [mob][photos] Create a different filter chip widget for faces and a generic one for everything else 2024-10-11 08:45:24 +05:30
ashilkn
b9a99d89af [mob][photos] Create a custom filter chip for hierarchical search 2024-10-11 07:52:06 +05:30
ashilkn
6c5b0a6578 [mob][photos] Chore 2024-10-10 10:09:19 +05:30
Aman Raj Singh Mourya
45ba65682c [mob][photos] hide owner avatar if file is from a public link 2024-10-08 13:32:15 +05:30
Aman Raj Singh Mourya
22737f139b [mob][photos] Hide file owner if file is a public shared file 2024-10-08 13:05:18 +05:30
ashilkn
7504e01bf7 [mob][photos] Enable hierarchical search in location screen 2024-10-07 20:14:46 +05:30
ashilkn
af8d630060 [mob][photos] Use GalleryAppBar widget on location screen 2024-10-07 20:05:46 +05:30
ashilkn
f1535f901f [mob][photos] Pass better string for FileTypeFilter. Also, do it in such a way that name() of HierarchicalSearchFilter doesn't need a BuildContext parameter 2024-10-07 17:04:16 +05:30
ashilkn
5f2cc6f6c3 [mob][photos] Add initialFilter in search results page depending on the type of search result passed 2024-10-07 16:26:05 +05:30
ashilkn
e6590a7190 [mob][photos] Wrap GalleryFilesState over SharedPublicCollectionPage to fix error 2024-10-07 15:03:38 +05:30
ashilkn
27bce439c4 Merge branch 'main' into deeplinks 2024-10-07 14:24:51 +05:30
ashilkn
42c9ae4caf [mob][photos] Remove dead code 2024-10-05 17:42:57 +05:30
ashilkn
e2897b7d18 [mob][photos] Curate location filters in isolate 2024-10-04 15:31:16 +05:30
ashilkn
4b72817864 [mob][photos] Make initialGalleryFilter non-nullable and make a a required parameter of SearchFilterDataProvider 2024-10-03 08:47:35 +05:30
ashilkn
acfe65bf37 [mob][photos] Enable hierarchical search in search results page 2024-10-03 08:41:17 +05:30
ashilkn
6aec2c5718 [mob][photos] Curate both album and fileType filters and add all to applied filters at once 2024-10-03 07:22:19 +05:30
ashilkn
007f7aa5d6 [mob][photos] Create a new widget 'HierarchicalSearchGallery' and use it when the first filter is added instead of handling everything in the 'Gallery' widget
Using a separate gallery for Hierarchical Search makes it easier to plug this in in different galleries
2024-10-02 10:05:26 +05:30
ashilkn
2292146706 [mob][photos] Refactor 2024-10-01 15:58:48 +05:30
ashilkn
60c718c7ed [mob][photos] Move filtering logic outside of gallery to reduce clutter in gallery file 2024-09-30 16:38:54 +05:30
Neeraj Gupta
ba04e20aeb erge branch 'main' into mobile-preview-video 2024-09-30 16:04:38 +05:30
ashilkn
b7f899cd88 [mob][photos] Fix incorrect order of files in _allGalleryFiles compared to file order in gallery 2024-09-30 16:04:12 +05:30
ashilkn
c27451f46b [mob][photos] Update all files in GalleryFilesState when filters are added in hierarchical search in a gallery 2024-09-30 16:02:27 +05:30
ashilkn
79e49d49d4 [mob][photos] Resolve merge conflicts and merge main 2024-09-30 13:01:35 +05:30
Ashil
093d7fd333
[mob][photos] Remove legacy code in detail page (#3496)
## Description

Removed use of `asyncLoader` in `DetailPage` and instead, all files in
gallery is now stored in an inherited widget (`GalleryFilesState`) and
`DetailPage` uses that list of files instead of fetching from DB using
`asyncLoader`. This 'all files' list reflects all changes in gallery (as
observed when testing) so there is no issue of the list being out of
sync with gallery.

Where ever possible, `GalleryFilesState` has been wrapped around the
`Scaffold` of galleries, so that all files are accessible to all
ancestors of a gallery's `Scaffold`, which could come useful in the
future.
2024-09-30 11:57:48 +05:30
Neeraj Gupta
a5d01a9ffe [mob] Fix avatar faceID 2024-09-29 09:52:41 +05:30
ashilkn
2d7e58d743 [mob][photos] Stop passing to GalleryFileWidget as it's no longer needed 2024-09-27 18:41:12 +05:30
ashilkn
fa3a9f4f52 [mob][photos] Stop passing sort order to DetailPage since DetailPage uses files in GalleryFilesState which updates when sort order changes in gallery 2024-09-27 18:41:12 +05:30
ashilkn
58384004b4 [mob][photos] Minor perf improvement when deleting in DetailPage 2024-09-27 18:41:12 +05:30