Commit graph

8432 commits

Author SHA1 Message Date
vishnukvmd bbed1c052a Inject model from upstream 2024-01-05 15:16:27 +05:30
vishnukvmd 09d274778f Fetch only ONNX embeddings 2024-01-05 15:14:50 +05:30
ashilkn e599f2bcec minor change 2024-01-05 15:12:49 +05:30
ashilkn 59add2ed04 add gradient on top of FullScreenMemory for better visibilty of top widgets 2024-01-05 15:06:37 +05:30
ashilkn 45f1fd1bd1 mark inital memory as seen on init 2024-01-05 15:00:01 +05:30
ashilkn c8c421e011 Add tap to go to previous or next story in FullScreenMemory screen 2024-01-05 14:55:06 +05:30
ashilkn 8730bc5451 don't show memory counter if step progress indicator is visible 2024-01-05 14:39:34 +05:30
ashilkn 212423f955 show date and step progress indicator on top of FullScreenMemory screen 2024-01-05 14:36:06 +05:30
ashilkn f05f7a86a7 add bottom gradient 2024-01-05 11:51:45 +05:30
ashilkn a808831906 show 'x years ago' title when opening memories 2024-01-05 11:37:42 +05:30
ashilkn aed0a2f3dc add memory counter on bottom of FullScreenMemory 2024-01-05 11:21:43 +05:30
vishnukvmd 51af506f14 Handle cases where we could not fetch the thumbnail 2024-01-05 11:00:50 +05:30
vishnukvmd 3554dc3827 Remove debug code 2024-01-05 10:59:25 +05:30
ashilkn 76520c569c preload thumbnail and file of next memory 2024-01-05 10:44:20 +05:30
vishnukvmd 4ffa600da6 Enable SSS in the background 2024-01-04 20:52:07 +05:30
vishnukvmd b756f33f18 TODO: Clear deprecated store 2024-01-04 20:50:18 +05:30
vishnukvmd c083a751a9 Merge branch 'await_warnings' into isar 2024-01-04 20:45:33 +05:30
vishnukvmd 22fd204e11 Replace ObjectBox with Isar 2024-01-04 20:25:16 +05:30
ashilkn f143f90ec0 fix: handle range error when all memories are deleted and FullScreenMemory screen is popped 2024-01-04 19:09:06 +05:30
ashilkn 6faa93c90c pop FullScreenMemory screen when last memory is deleted 2024-01-04 19:01:32 +05:30
ashilkn 02263a4d88 Add bottom icons to memories 2024-01-04 16:00:51 +05:30
vishnukvmd 6f9d53fc4a Update translation 2024-01-04 15:57:17 +05:30
vishnukvmd 8e238cbf40 Fix string 2024-01-04 15:52:41 +05:30
vishnukvmd 3f9feb5b50 Merge branch 'image_encoder' into await_warnings 2024-01-04 14:59:28 +05:30
ashilkn 060b516058 used an InheritedWidget to hold list of memories and update the InheritedWidget when an item is deleted, which rebuilds widgets that depend on the inheritedWidget 2024-01-04 13:14:56 +05:30
vishnukvmd 83200fbb24 Initialize ORT only once 2024-01-04 11:39:06 +05:30
0nullpointer 5413646a28 fix image encoder 2024-01-04 11:19:16 +05:30
ashilkn 4063f75d4a created a new minimal FullScreenMemoryWidget with only delete option 2024-01-04 10:11:24 +05:30
0nullpointer b1b2fb311d Add mobile image encoder 2024-01-04 00:28:14 +05:30
vishnukvmd e24617cb96 Merge branch 'main' into await_warnings 2023-12-27 22:05:28 +05:30
NullPointer 883363fcc0
Fix reshape order for image tensor 2023-12-27 20:02:04 +05:30
ashilkn ce276bbc07 check if Semantic search has been initialized before calling ObjectBox.instance.clearTable() to avoid LateInitializationError of 'store' 2023-12-27 08:29:39 +05:30
vishnukvmd ea35b94d79 Extract constant 2023-12-27 01:18:39 +05:30
vishnukvmd 42bbe05d61 Refactor SearchWidget 2023-12-27 00:00:16 +05:30
vishnukvmd 4b06f58059 Flip the flag 2023-12-26 23:58:06 +05:30
vishnukvmd fe2bc0bc97 Render city results for internal users 2023-12-26 23:52:47 +05:30
vishnukvmd 5d25785edd Load and parse cities 2023-12-26 23:22:09 +05:30
vishnukvmd 1f8ea9c2f4 Create a service to load and cache remote assets 2023-12-26 23:21:56 +05:30
Vishnu Mohandas a123cb031b
Merge branch 'main' into await_warnings 2023-12-26 22:34:04 +05:30
vishnukvmd 71b62a9b09 Resolve review comment 2023-12-26 22:33:51 +05:30
ashilkn e96085b110 fix popping of search results when search results count is ready 2023-12-26 21:55:38 +05:30
ashilkn c6921b64eb Merge branch 'main' into searching_improvements 2023-12-26 21:43:15 +05:30
ashilkn c0742295ca indentation and comments 2023-12-26 21:37:16 +05:30
ashilkn 98ca44743a show results count on top of search results 2023-12-26 21:28:42 +05:30
ashilkn c18577e28d remove print statements 2023-12-26 20:43:03 +05:30
ashilkn b89cbd13f4 add final 2023-12-26 18:43:14 +05:30
ashilkn 2aa712dc94 when searching, show loading state in search bar when debouncing and querying db 2023-12-26 18:24:38 +05:30
ashilkn 6f2b6fc1b0 fix: keep the latest query in search tab when shifting tabs and coming back to search tab in between searching 2023-12-26 15:04:08 +05:30
ashilkn df5d8b35b2 pref: only notify listeners if index is different from previous one 2023-12-26 14:49:57 +05:30
ashilkn 608af962b4 fix: 'NoResultsWidget' coming up for a fraction of a second on the first query 2023-12-26 14:39:21 +05:30
ashilkn 682459e800 clean up unwanted code and comments 2023-12-26 12:35:48 +05:30
ashilkn 6a25ada94b fix: if results are from the very last event, NoResultsWidget was being shown 2023-12-26 11:57:57 +05:30
ashilkn 397f6756fe fix: show NoResultsWidget if the stream if complete and there aren't any search results 2023-12-26 11:26:07 +05:30
ashilkn 3fcc1665af minor fix 2023-12-23 23:18:19 +05:30
ashilkn 860fe74902 use ChangeNotifier to notify change in index of IndexedStack to be shown in search tab 2023-12-23 23:14:31 +05:30
ashilkn 234c1ad15e Simplify state management on search suggestion screen to get rid of an edge case bug + add comments + use better variable names 2023-12-23 22:18:40 +05:30
ashilkn 7c94c579ea temp step 1 2023-12-23 21:26:29 +05:30
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