Commit graph

8425 commits

Author SHA1 Message Date
ashilkn 30262e202b added animation to search results when they appear 2023-12-23 19:48:26 +05:30
ashilkn 2192dc6151 added comments 2023-12-23 19:41:20 +05:30
ashilkn d277d8ca23 Use custom lossless widget to rebuild with stream data instead of relying on lossy StreamBuilder 2023-12-23 19:38:21 +05:30
ashilkn e2e240459f add logs for debugging 2023-12-23 18:48:28 +05:30
vishnukvmd e490acadf8 Update translations 2023-12-23 12:20:01 +05:30
NullPointer b9116d172f
Fix typo in image encoder 2023-12-22 23:11:30 +05:30
ashilkn 7f3dd9b691 fix: results from pervious stream coming up on UI 2023-12-22 18:45:13 +05:30
ashilkn 3de3b77ae0 use better variable name 2023-12-22 18:44:24 +05:30
ashilkn e5e33b0f7e show search results when querying from stream 2023-12-21 18:25:16 +05:30
ashilkn b7486f3c3b Create new search results stream in every query change wih debouncer. Made the stream available in SearchSuggestionsWidget 2023-12-21 17:41:55 +05:30
Vishnu Mohandas 2daebda377
Merge branch 'main' into onnx 2023-12-21 16:17:56 +05:30
vishnukvmd c03cf7cf47 Initialize ORT in a separate isolate 2023-12-21 15:31:49 +05:30
ashilkn 15480b3ecb Created a method that returns search results as a stream of results, instead of awaiting for all results to be ready and sending it over 2023-12-21 14:31:09 +05:30
vishnukvmd 68d504850e Fix all await warnings 2023-12-21 13:04:06 +05:30
ashilkn 775d1efe51 add animation to all sections screen when it first appears after loading state 2023-12-20 20:57:41 +05:30
ashilkn bbec8ed636 minor change to show loading state when the search tab is loading on app start 2023-12-20 20:39:33 +05:30
ashilkn fcee80f75f use adaptive icons in TitleBarWidget 2023-12-20 19:45:58 +05:30
ashilkn 23152b6ec0 change paddings 2023-12-20 19:20:05 +05:30
ashilkn 8f0ab0d597 fire ClearAndUnfocusSearchBar instead of findingAncestorStateObject with textController and focusNode to clear and unfocus search bar 2023-12-20 17:43:29 +05:30
ashilkn ae32e4902f added back button for no resuts screen when searching 2023-12-20 17:39:49 +05:30
ashilkn 80657b40f7 add back button on search suggestions screen 2023-12-20 17:35:06 +05:30
Vishnu Mohandas 3e089b3b5b
Remove normalization (#1614) 2023-12-20 16:20:37 +05:30
vishnukvmd cc3034f730 Update translations 2023-12-20 15:19:01 +05:30
vishnukvmd 52943f38ab Remove normalizations 2023-12-20 15:18:58 +05:30
Crowdin Bot f3edec5e74 New Crowdin translations by GitHub Action 2023-12-19 12:18:32 +00:00
Vishnu Mohandas 1501c8c826
Merge branch 'main' into onnx 2023-12-19 13:04:15 +05:30
vishnukvmd 79956502ae Init ObjectBox only in the foreground 2023-12-19 13:03:45 +05:30
Vishnu Mohandas 6f8063fdec
Magic search w/ text encoder (#1605) 2023-12-19 11:27:11 +05:30
Crowdin Bot 98c9aab90e New Crowdin translations by GitHub Action 2023-12-19 00:44:55 +00:00
vishnukvmd 94a5128660 Initialize SSS only when app is in foreground 2023-12-19 00:36:49 +05:30
vishnukvmd 6c242aa1d2 Implement the API to release resources held by ORT 2023-12-19 00:35:45 +05:30
vishnukvmd 836fb97598 Use the file directly to create an OrtSession 2023-12-19 00:35:16 +05:30
vishnukvmd 418fd2e1bb Display indexing stats to all 2023-12-18 23:01:43 +05:30
vishnukvmd 48f3daec57 Update translations 2023-12-18 22:29:19 +05:30
vishnukvmd b6c8a79a78 Merge branch 'main' into onnx 2023-12-18 22:27:59 +05:30
vishnukvmd b4019f3c50 Refactor commented code 2023-12-18 22:21:01 +05:30
vishnukvmd a5e5c60111 Initialize SSS only if it has been opted-in for 2023-12-18 22:17:19 +05:30
vishnukvmd b27cc6dafd Comment out temp widget 2023-12-18 22:05:09 +05:30
vishnukvmd 4357795d50 Remove unnecessary check 2023-12-18 22:05:03 +05:30
Neeraj Gupta 37777b6988
Merge branch 'main' into add_location_data 2023-12-18 21:42:45 +05:30
ashilkn c8c30d0cb0 resolve merge conflicts and merge main 2023-12-18 18:35:32 +05:30
Crowdin Bot 8352286383 New Crowdin translations by GitHub Action 2023-12-18 12:19:12 +00:00
ashilkn 209fac0645 improve logging when viewing items 2023-12-18 13:43:40 +05:30
vishnukvmd a7526908ba Hide spinner until we enable indexing on mobile 2023-12-18 13:06:23 +05:30
vishnukvmd 3975c1cfed Update copy within Machine Learning tab 2023-12-18 13:04:20 +05:30
vishnukvmd 248f45c2c3 Reduce size of LRU cache 2023-12-18 12:55:15 +05:30
vishnukvmd d4ebb5c493 Add an LRU cache for queries 2023-12-18 12:54:54 +05:30
vishnukvmd 073e2a06e6 Update model path 2023-12-18 12:14:17 +05:30
vishnukvmd 22d24cfd73 Fix warnings 2023-12-18 11:28:32 +05:30
vishnukvmd d083ef40f9 Show option to clear embeddings only in debug mode 2023-12-18 10:39:32 +05:30
Neeraj Gupta 7f7dcfe863 Extract string 2023-12-18 08:30:59 +05:30
Neeraj Gupta 3ac856bb71 Merge branch 'main' into duplicate_symlinks 2023-12-18 08:29:55 +05:30
vishnukvmd 8c0b569702 Remove all release calls 2023-12-17 17:46:06 +05:30
vishnukvmd a8eba66427 Update translations 2023-12-17 16:51:33 +05:30
ashilkn a47fd62676 merge main 2023-12-17 14:49:25 +05:30
vishnukvmd 411ac66a91 Merge branch 'fix_await_warnings' into onnx 2023-12-17 02:51:15 +05:30
vishnukvmd 98a99e43e2 Fix warnings 2023-12-17 02:34:26 +05:30
vishnukvmd fb11e730ce Skip image model loading 2023-12-16 17:10:39 +05:30
vishnukvmd 0408275ed0 Merge branch 'main' into onnx 2023-12-16 16:51:53 +05:30
vishnukvmd 621599496e Use ONNX for text embeddings 2023-12-16 16:50:07 +05:30
vishnukvmd aed04b187d Pretty print result count 2023-12-16 16:40:58 +05:30
vishnukvmd d0a85aa146 Fix warnings 2023-12-16 16:22:01 +05:30
ashilkn 2f528e33ac show info to users that edits to location will only be seen within Ente 2023-12-16 12:39:07 +05:30
ashilkn eab3ef2862 added logging 2023-12-16 07:33:12 +05:30
ashilkn 111c8885ce increase tap area of bottom sheet on it's top for making it easier to slide it down 2023-12-16 07:21:48 +05:30
ashilkn aaf15892d8 extract strings for translation 2023-12-16 06:53:10 +05:30
ashilkn 52b8e3a74c clean up code 2023-12-16 06:12:36 +05:30
ashilkn a11a3af317 made location non nullable in service method used for bulk editing location 2023-12-16 06:02:50 +05:30
ashilkn c2a6aabfaa enable editing location of video files 2023-12-15 22:42:06 +05:30
ashilkn ba407a1f51 add animation and shadow to location pin when map is dragged 2023-12-15 22:35:13 +05:30
ashilkn aa53bc015b show location coordinates in DMS when selecting location on editing 2023-12-15 21:50:13 +05:30
ashilkn a67e479500 Merge branch 'main' into add_location_data 2023-12-15 16:57:37 +05:30
ashilkn 51422f81db remove option to revert location edits 2023-12-15 16:53:44 +05:30
ashilkn 6925e46b5c Remove option to edit location from file info due to state issues 2023-12-15 16:44:54 +05:30
Neeraj Gupta e4cff7060f
Fix: Avoid casting as Error (#1592) 2023-12-15 14:16:54 +05:30
Neeraj Gupta 7419555b31 Fix: dispose valueNotifier 2023-12-15 14:03:55 +05:30
Vishnu Mohandas 6c25012e6f
Update order 2023-12-15 13:31:11 +05:30
Vishnu Mohandas de15d16bc0
Update ordering of actions 2023-12-15 13:23:44 +05:30
ashilkn 5019ca808e Stop seperating files with og location and ones with not and let user choose which ones to edit/revert on. Updated dialogs shown when user edits/reverts location data 2023-12-15 12:10:25 +05:30
Neeraj Gupta 8f01d7d506 Fix padding 2023-12-15 06:27:34 +05:30
Neeraj Gupta 2c2e9d9c44 Remove unused import 2023-12-15 06:05:04 +05:30
0nullpointer 04b4a1fbba Add ggml image preprocessing 2023-12-15 02:45:00 +05:30
Neeraj Gupta 7c9190263e Dedupe: Display dedupe progress 2023-12-15 00:34:22 +05:30
Neeraj Gupta eb5e47c12d Fix: Unselect all selected grids on sort change 2023-12-15 00:06:13 +05:30
Neeraj Gupta c6e9a8f15c Merge branch 'main' into duplicate_symlinks 2023-12-14 23:23:26 +05:30
Neeraj Gupta e874d83d19 Remove redundant sort option 2023-12-14 23:20:35 +05:30
Neeraj Gupta 91f25e1319 Rename method 2023-12-14 23:16:51 +05:30
Neeraj Gupta 404454770f Remove unused variable 2023-12-14 23:14:45 +05:30
github-actions[bot] 69f451c78a
New Crowdin translations by GitHub Action (#1589)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-14 19:09:03 +05:30
Neeraj Gupta e26983b123 Ensure symlink is added before deleting duplicates 2023-12-14 19:03:41 +05:30
Neeraj Gupta 780d553c0a Fixed typo 2023-12-14 18:59:13 +05:30
Neeraj Gupta 54504fa7e9 Add support to silently add to remote collection 2023-12-14 15:57:53 +05:30
vishnukvmd 61a6481de4 Extract variable 2023-12-14 15:38:42 +05:30
ashilkn 4e68907bdf Revert "Hide incoming shared (#1584)"
This reverts commit 3ed2cae6da, reversing
changes made to 2a24d2f031.
2023-12-14 15:37:25 +05:30
Crowdin Bot 78d82e388a New Crowdin translations by GitHub Action 2023-12-14 13:50:39 +05:30
Neeraj Gupta 5df2503581 Dedupe: Switch to selected grids for delete section 2023-12-14 13:48:26 +05:30
ashilkn 6f33a52f73 restrict changing location data of videos 2023-12-14 12:14:43 +05:30
0nullpointer cfc0d05a14 image normalization with tensors 2023-12-14 12:02:14 +05:30
ashilkn 8bf92fb5f5 minor change 2023-12-14 11:43:20 +05:30
vishnukvmd 03f471623b Temporarily parse model from assets 2023-12-14 11:31:01 +05:30
vishnukvmd c35ee381d3 Add ability to clear local embeddings 2023-12-14 11:30:09 +05:30
vishnukvmd 1c488e86a5 Increase batch size for caching thumbs 2023-12-14 11:25:16 +05:30
Neeraj Gupta 664952c1ed Refactor: Reduce duplicate logic in dedupe grouping 2023-12-14 11:07:19 +05:30
Neeraj Gupta 665c378197 Dedupe: Pull up hash clubbing logic 2023-12-14 09:40:50 +05:30
Neeraj Gupta 08930a4e69 Rename 2023-12-14 08:58:12 +05:30
Neeraj Gupta 82cdd9a7a2 UI: Add option to select/unselect grid 2023-12-14 08:49:11 +05:30
ashilkn 3c00672aef Add support for resetting location data to original location data from exif or removing location data for files without location data in exif 2023-12-14 06:15:48 +05:30
vishnukvmd 7bbcdb0010 Increase batch size for caching thumbnails 2023-12-13 19:08:05 +05:30
vishnukvmd f5b7897838 Fix thumbnail caching logic 2023-12-13 17:24:27 +05:30
vishnukvmd ad8f7cbccd Cache all thumbnails first 2023-12-13 15:16:34 +05:30
vishnukvmd e1ea9530f1 Remove score threshold 2023-12-13 15:02:35 +05:30
vishnukvmd bbee1c0e41 Fetch only relevant embeddings from disk 2023-12-13 14:56:08 +05:30
vishnukvmd 3ea8fca2f2 Retrieve OrtSession from cached address 2023-12-13 14:55:51 +05:30
vishnukvmd 14acf95a15 Disable embedding push 2023-12-13 14:55:13 +05:30
vishnukvmd 01c82eaf82 Store framework name along with the model name 2023-12-13 14:42:02 +05:30
vishnukvmd 1c0ff2f10c Use the cached address to retrieve the encoder 2023-12-13 14:39:18 +05:30
vishnukvmd b2f9dd2c8b Initialize tokenizer outside the isolate 2023-12-13 14:38:24 +05:30
vishnukvmd f0f4f7f429 Fix logger name 2023-12-13 14:37:36 +05:30
vishnukvmd de3db565f5 Fix asset path 2023-12-13 14:37:26 +05:30
vishnukvmd 4ea56e5bf7 Show ML settings on iOS 2023-12-13 14:37:15 +05:30
vishnukvmd b59e928a1a Pass final file path to model loader 2023-12-13 12:54:03 +05:30
vishnukvmd dd846d7920 Split ONNX framework into multiple files 2023-12-13 12:46:07 +05:30
vishnukvmd 4ed3720906 Fix compilation 2023-12-13 12:39:08 +05:30
vishnukvmd 4c44fc521c Fix warnings 2023-12-13 12:36:14 +05:30
0nullpointer d7cacce1d8 Add bpePath to CLIPTokenizer 2023-12-13 12:33:28 +05:30
0nullpointer 02114efc2b [WIP] onnx local test 2023-12-13 12:28:04 +05:30
Muhammed Ayimen c22965c864 Updated: Localization file 2023-12-13 15:34:39 +09:00
Muhammed Ayimen d74c1421a6 Changed: archiveSharedItems name to archiveSharedAlbums 2023-12-13 15:20:08 +09:00
Muhammed Ayimen 56a287e284 Updated: Logic for hiding the incoming shared items 2023-12-13 14:48:46 +09:00
Muhammed Ayimen e9138c719e Chnaged: hideSharedItems name to archiveSharedItems 2023-12-13 14:44:10 +09:00
Neeraj Gupta 56d8173510 Fix: Dismiss dialog before navigation 2023-12-13 08:51:12 +05:30
0nullpointer f7859cdb7f [WIP] semantic search with onnx 2023-12-12 21:53:59 +05:30
0nullpointer e2c7cdf9f8 Add initial onnx framework 2023-12-12 21:39:35 +05:30
ashilkn 131a83afe6 add support for editing location data of more than one file by selecting from gallery 2023-12-12 19:28:23 +05:30
Muhammed Ayimen 2a8ddd64f8 Updated: Getter function for hide shared items 2023-12-12 21:54:33 +09:00
ashilkn 0a6a4c6835 add option to update location for all file types except for videos 2023-12-12 16:54:04 +05:30
ashilkn 1339101d94 show option to edit location data for photos that already have location data 2023-12-12 16:05:54 +05:30
Muhammed Ayimen 7ca84f65fd Updated: type anotation 2023-12-12 19:22:42 +09:00
Muhammed Ayimen ddc00bf10e Completed: Shared incoming items gets hidden from home screen based on user preference 2023-12-12 19:21:18 +09:00
ashilkn e2f9ce717a wrote service method to update location data 2023-12-12 15:46:53 +05:30
Muhammed Ayimen efacf58f6f Updated: Hide shared item user preference in local settings 2023-12-12 19:12:54 +09:00
Muhammed Ayimen c5459882a5 Added: Hide shared item option in advanced screen 2023-12-12 19:12:29 +09:00
ashilkn a1d4873e88 change name of file and widget used to update location data 2023-12-12 15:33:57 +05:30
Neeraj Gupta baf572152c Dedupe: remove deprecated code 2023-12-12 08:24:02 +05:30
Neeraj Gupta 5d761e10c3 Lint warnings fix 2023-12-12 08:23:45 +05:30
Neeraj Gupta 2a24d2f031 Add option to clean up uncaterogized album 2023-12-12 08:17:18 +05:30
Neeraj Gupta e42ffb48c4 Linter warning fixes 2023-12-12 08:17:18 +05:30
Neeraj Gupta eb1d468be2 Improve logs + fix lint for unawaited future 2023-12-12 08:17:18 +05:30
Neeraj Gupta 0e062eb2d9 Add option to clean up uncaterogized album 2023-12-11 19:27:35 +05:30
Neeraj Gupta 42533f285c Linter warning fixes 2023-12-11 18:27:17 +05:30