272 Commits

Author SHA1 Message Date
ashilkn
24bb6f28a9 Merge branch 'main' into deeplinks 2024-10-24 14:16:33 +05:30
ashilkn
8e7a560ad4 [mob][photos] Pass FileTypeFilter instead of TopLevelGenericFilter for file type search results 2024-10-22 21:28:50 +05:30
ashilkn
1e868ac624 [mob][photos] Add 'isApplied' state to filters, change UI for applied filters 2024-10-22 17:17:00 +05:30
Neeraj Gupta
672e21d5dc [mob] Safely parse faceBoxJson 2024-10-22 13:50:11 +05:30
Neeraj Gupta
375ab4e4b0 [mob] Refactor 2024-10-22 13:46:36 +05:30
Neeraj Gupta
da7a0a60bf [mob][perf] Avoid XMP extraction on main thread 2024-10-21 17:10:32 +05:30
ashilkn
f66e49313d [mob][photos] Show magic filter recommendations for a gallery using magic cache used for the discovery section 2024-10-19 19:26:43 +05:30
ashilkn
641aaf9d56 [mob][photos] Resolve merge conflicts and merge main 2024-10-18 20:27:42 +05:30
ashilkn
0c185d3446 [mob][photos] Resolve merge conflicts and merge main 2024-10-18 19:04:21 +05:30
ashilkn
2f54acab58 [mob][photos] Make face filtering work (yet to be optimized for performance) 2024-10-17 19:14:24 +05:30
laurenspriem
2b8c93ec1b Merge branch 'main' into ml_fixes 2024-10-17 15:45:17 +05:30
laurenspriem
cc1332856d [mob][photos] Surface hide within person cluster 2024-10-17 15:30:12 +05:30
ashilkn
0ef03389ab [mob][photos] Pass FaceFilter.name as null if face name is not available (when personId is null) instead of passing clusterID 2024-10-17 09:16:36 +05:30
ashilkn
a7420be774 [mob][photos] Remove no more necessary abstract method 'resultType' in HierarchicalSearchFilter 2024-10-17 09:03:57 +05:30
ashilkn
6252753512 Merge branch 'main' into hierarchical_search 2024-10-17 08:47:00 +05:30
ashilkn
b9b9dac719 [mob][photos] Remove unused extension on ResultType 2024-10-17 08:45:36 +05:30
ashilkn
6facd67452 [mob][photos] Add more documentation about TopLevelGenericFilter 2024-10-17 08:28:50 +05:30
ashilkn
863ba6b955 [mob][photos] Clean up isSameFilter implementations 2024-10-17 08:25:12 +05:30
Neeraj Gupta
2b147c1a87 [mob] Minor improvements for ml sync 2024-10-15 16:34:38 +05:30
Neeraj Gupta
9f1a3ad7d6 [mob] Handle int value for face[blur] json 2024-10-15 15:06:32 +05:30
ashilkn
ea983dd76b [mob][photos] Remove toHierarchicalSearchFilter which is no longer used from HierarchicalSearchFilter 2024-10-14 15:45:05 +05:30
ashilkn
171e96976a [mob][photos] Attach a SearchResults's corresponding HierarchicalSearchFilter to it when ever a instance is created 2024-10-11 20:57:45 +05:30
ashilkn
f5cadb3b7a [mob][photos] Curate face filters and show in recommendations 2024-10-10 19:50:38 +05:30
ashilkn
bc90b6d980 [mob][photos] FaceFilter should accept either personId or clusterId 2024-10-10 19:29:49 +05:30
ashilkn
66a13392a9 [mob][photos] Make implementation of abstract fn isSameFilter() more accurate when the fn is used to compare two same sub-HierarchicalSearchFilter types 2024-10-10 17:36:21 +05:30
ashilkn
87ff4076b0 [mob][photos] Create FaceFilter class 2024-10-10 10:09:01 +05:30
Aman Raj Singh Mourya
86b70ab034 [mob][photos] hide "add photos" for deeplinks, will implement after v1 2024-10-09 14:41:04 +05:30
ashilkn
2611cdc480 [mob][photos] Only show what comes before '@' in the name of contacts filter 2024-10-07 18:37:22 +05:30
ashilkn
b68fdf3d15 [mob][photos] Fix 'cannot modify an unmodifiable set' bug 2024-10-07 18:33:35 +05:30
ashilkn
d91a710f18 [mob][photos] Add ResultType used in search a member of HierarchicalSerachFilter and make use of it in isSameFilter() for isSameFilter() to work when comparing other filters and TopLevelGenericFilters 2024-10-07 18:11:50 +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
aa9fbd281e [mob][photos] Create a top level generic filter to be used for search ResultTypes(s) for which we don't plan to keep a subtype of HierarchicalSearchFilter 2024-10-05 22:18:18 +05:30
ashilkn
fac18333ce [mob][photos] Improve performance when adding/removing filters during hierarchical search by using cached results of applied filters instead of iterating through all filters and files 2024-10-05 19:45:55 +05:30
ashilkn
bbc894cfda [mob][photos] Add contacts filter in hierarchical search 2024-10-05 16:46:12 +05:30
ashilkn
d7eb0e9dc3 [mob][photos] Create ContactsFilter class 2024-10-05 16:14:55 +05:30
ashilkn
05b14ac32e [mob][photos] Return false if file doesn't have location data on checking if a file matches a location filter 2024-10-04 15:38:57 +05:30
ashilkn
3427f1778e [mob][photos] Create LocationFilter class 2024-10-04 15:14:23 +05:30
ashilkn
38e9496b8c [mob][photos] Add comment 2024-10-03 07:09:37 +05:30
ashilkn
a29fd51855 [mob][photos] Create FileTypeFilter class for photos, videos and live photos filters 2024-10-02 11:08:51 +05:30
ashilkn
a105195481 [mob][photos] Make matchedUploadedIDs a property of HierarchicalSearchFilter so that it's a property of all filters that extend it 2024-10-02 10:49:23 +05:30
Neeraj Gupta
ba04e20aeb erge branch 'main' into mobile-preview-video 2024-09-30 16:04:38 +05:30
Aman Raj Singh Mourya
1bcacc921b [mob][photos] fixed album name not displaying and app bar fixes 2024-09-27 17:08:45 +05:30
ashilkn
2523a32e94 Merge branch 'main' into hierarchical_search 2024-09-26 09:50:26 +05:30
Aman Raj Singh Mourya
d6bed953a1 [mob][photos] made shared_public_collection to handle public link seprately 2024-09-25 15:18:17 +05:30
Aman Raj Singh Mourya
a8d1a80578 Merge branch 'main' into deeplinks 2024-09-25 13:24:20 +05:30
ashilkn
bd6fe03710 [mob][photos] Do not show up the initial gallery filter on hierarchical search's filter recommendations
For example, if we search for an album 'Trip to Coorg' and go in the album, 'Trip to Coorg' shouldn't come up in recommended filters
2024-09-25 13:14:54 +05:30
Aman Raj Singh Mourya
bda3ec2e3a [mob][photos] added a new gallery type for shared public link 2024-09-25 01:04:23 +05:30
Aman Raj Singh Mourya
71e87ad2aa [mob][photos] Updated public_url to save shared public link data 2024-09-25 01:03:37 +05:30
ashilkn
468386ede6 [mob][photos] Get just the album filters logic working on gallery 2024-09-24 18:19:55 +05:30