Commit Graph

2924 Commits

Author SHA1 Message Date
Neeraj Gupta
5e401cc9a8 [mob] Add missing await 2024-10-15 14:59:50 +05:30
Neeraj Gupta
2e36ea788c [mob] Fix init for discovery section 2024-10-15 14:52:36 +05:30
ashilkn
97fad5962e [mob][photos] Fix build error due to 'other' missing in translation 2024-10-15 12:01:44 +05:30
Aman Raj Singh Mourya
73ee5a8131 [mob][photos] fix video editor back button 2024-10-14 19:02:15 +05:30
ashilkn
ea983dd76b [mob][photos] Remove toHierarchicalSearchFilter which is no longer used from HierarchicalSearchFilter 2024-10-14 15:45:05 +05:30
Crowdin Bot
c89efebf7a New Crowdin translations by GitHub Action 2024-10-14 01:05:03 +00:00
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
Laurens Priem
b9dd0bc3b7 ONNX changes (#3654)
## Description

- Quantized the CLIP text encoder
- Moved preprocessing and postprocessing of face detection inside the
model
- Optimised the ONNX models more wherever possible
- Created a place in infra for ML version control of sorts

## Tests

Have tested the changes on mobile, but not on desktop. Please carefully
review the changes on desktop, especially regarding the face detection
post-processing, more specifically the image (re-)size correction.
2024-10-11 10:02:11 +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
Neeraj Gupta
cbbaecb2a2 [mobile] New translations (#3598)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-11 02:21:59 +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
laurenspriem
1cdc7aa594 [mob][photos] Decode heic using flutter compress 2024-10-10 18:45:05 +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
6c5b0a6578 [mob][photos] Chore 2024-10-10 10:09:19 +05:30
ashilkn
87ff4076b0 [mob][photos] Create FaceFilter class 2024-10-10 10:09:01 +05:30
ashilkn
0dd3e5d452 [mob][photos] Fix typo 2024-10-09 15:32:23 +05:30
ashilkn
ca5ac8da6b [mob][photos] Run flutter pub upgrade 2024-10-08 14:12:54 +05:30
ashilkn
978f82c809 [mob][photos] Bump up version to v0.9.47 2024-10-08 14:12:34 +05:30
ashilkn
bc84ea7529 [mob][photos] bump up photo_manager version in pubspec.yaml. Note: the version is already 3.5.0 in pubspec.lock, just updating it in pubspec.yaml 2024-10-08 14:12:02 +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
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
Vishnu Mohandas
157cefd657 Update intl_en.arb 2024-10-07 17:15:20 +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
Crowdin Bot
0d4d39a959 New Crowdin translations by GitHub Action 2024-10-07 01:05:09 +00:00
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
42c9ae4caf [mob][photos] Remove dead code 2024-10-05 17:42:57 +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
45e2ca52c9 Merge branch 'main' into hierarchical_search 2024-10-05 16:03:29 +05:30
ashilkn
1942239989 [mob][photos] Replace deprecated memebers with replacements 2024-10-04 19:21:02 +05:30
ashilkn
7ff420a82e [mob][photos] Fix build failing with xcode 16 update 2024-10-04 19:15:38 +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
e2897b7d18 [mob][photos] Curate location filters in isolate 2024-10-04 15:31:16 +05:30
ashilkn
3427f1778e [mob][photos] Create LocationFilter class 2024-10-04 15:14:23 +05:30
ashilkn
bd5e53b83d [mob][photos] log number of row in filesDB for debugging perf issues 2024-10-03 17:06:31 +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
18a22c8014 [mob][photos] Handle and log failures in curating and applying filters 2024-10-03 07:51:15 +05:30
ashilkn
2c2c7f6c9e [mob][photos] Fix null check used on null value exception + refactor filtering of files 2024-10-03 07:47:05 +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
38e9496b8c [mob][photos] Add comment 2024-10-03 07:09:37 +05:30
ashilkn
369bdc8f4c [mob][photos] Create function to curate file type filters 2024-10-03 07:08:04 +05:30
ashilkn
a29fd51855 [mob][photos] Create FileTypeFilter class for photos, videos and live photos filters 2024-10-02 11:08:51 +05:30