Commit graph

5638 commits

Author SHA1 Message Date
ashilkn 6ee47cc1be add memories title with a heart icon 2024-01-13 18:57:01 +05:30
ashilkn 81493927b3 add border new memory cover widget in dark mode 2024-01-13 16:47:28 +05:30
ashilkn ef206bd3b8 add shadow for new memory cover widget 2024-01-13 16:23:18 +05:30
ashilkn 0a4910372f add hero animation for memory thumbnail 2024-01-13 15:10:35 +05:30
ashilkn 65426cc5b4 remove unwanted code 2024-01-13 15:10:01 +05:30
ashilkn 64da59ada0 highlight new MemoryCoverWidget only if memories in it are not seen completely 2024-01-12 18:05:55 +05:30
ashilkn b6544825d8 added border stroke to new MemoryCoverWidget 2024-01-12 16:51:11 +05:30
ashilkn f77c876071 fix render overflow error 2024-01-12 16:16:36 +05:30
ashilkn 01fa417dac refactor + add green linear gradent on bottom 2024-01-12 16:11:54 +05:30
ashilkn 2417fc0179 add black linear gradient + minor fix to text color 2024-01-12 14:46:00 +05:30
ashilkn cd777f5735 add linear gradient on MemoryCoverWidget 2024-01-12 12:59:56 +05:30
ashilkn 9466c03397 minor changes 2024-01-12 12:06:21 +05:30
ashilkn 590c72c6e0 show unseen memory on opening new MemoryCoverWidget and show title 2024-01-12 11:52:55 +05:30
ashilkn 3a24e99003 route to FullScreenMemory screen on tapping the new MemoryCoverWidget 2024-01-12 11:48:59 +05:30
vishnukvmd e0d50ba55e Surface framework initialization state on UI 2024-01-11 19:19:58 +05:30
ashilkn 2fc550b542 Refactor 2024-01-11 15:41:03 +05:30
ashilkn 32008842c0 create a separate widget for the new MemoryCoverWidget 2024-01-11 15:12:25 +05:30
ashilkn 7492f89dfc fix: memory cover widget occuping hight contrain passed by parent, wrapping with row widget is a workaround 2024-01-11 13:34:05 +05:30
ashilkn a66af2f183 chage the size of memory cover widget rather than transforming it to avoid incresing gaps in listView when memory cover widgets get smaller 2024-01-11 13:19:02 +05:30
ashilkn 845e58d1ba use custom implementation for memories and remove use of infinite_carousel 2024-01-11 10:56:12 +05:30
ashilkn 463523e09e Pass width constrain to title text in memory to that it breaks to next line 2024-01-11 07:01:01 +05:30
ashilkn 7383dbe0c1 Added widgets for showing image and text on memory that works with the dynamic resizing 2024-01-11 06:56:37 +05:30
ashilkn 9dad483bfc create a working model of memories header in hometab where each memory dynamically changes size wrt scroll offset 2024-01-10 18:09:42 +05:30
vishnukvmd 0645ff89f5 Move city search to a separate isolate 2024-01-08 21:29:21 +05:30
Vishnu Mohandas 0fad6423b8
Merge branch 'main' into isar 2024-01-06 20:30:56 +05:30
vishnukvmd f3bd80d6f0 Provide a way for internal users to clear indexes 2024-01-06 20:27:42 +05:30
vishnukvmd 41ae10b454 Sync when initialized from the UI 2024-01-06 19:31:49 +05:30
Vishnu Mohandas ab1b3eced9
remove unused old search related code (#1637) 2024-01-06 18:21:05 +05:30
ashilkn 9e4e8ef740 remove unused old search related code 2024-01-06 17:45:15 +05:30
Vishnu Mohandas 338f4e99cf
Merge branch 'main' into isar 2024-01-06 01:17:50 +05:30
Vishnu Mohandas 377ee5d36e
Rewrite FullScreenMemory widget to fix bugs (#1634) 2024-01-05 23:06:18 +05:30
vishnukvmd 529ad88a70 Render model loading status 2024-01-05 18:08:23 +05:30
vishnukvmd 4edebb9501 Update machine learning settings page 2024-01-05 16:55:15 +05:30
ashilkn 7643a29152 added documentation 2024-01-05 16:26:38 +05:30
ashilkn d896160a5d delete the old FullScreenMemory widget and file and rename new FullScreenMemoryNew widget and file to 'FullScreenMemory' 2024-01-05 16:05:09 +05:30
ashilkn 37de9d97eb remove widgets added for debugging + minor change to animation 2024-01-05 16:00:44 +05:30
ashilkn 6917d5075c use BouncingScrollPhysics for list of memories in home tab 2024-01-05 15:47:00 +05:30
ashilkn ae015c7693 add hero animation + mark memory as seen when swiping through memories 2024-01-05 15:36:49 +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
ashilkn 76520c569c preload thumbnail and file of next memory 2024-01-05 10:44:20 +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
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
ashilkn 4063f75d4a created a new minimal FullScreenMemoryWidget with only delete option 2024-01-04 10:11:24 +05:30
vishnukvmd e24617cb96 Merge branch 'main' into await_warnings 2023-12-27 22:05:28 +05:30
vishnukvmd 42bbe05d61 Refactor SearchWidget 2023-12-27 00:00:16 +05:30
vishnukvmd fe2bc0bc97 Render city results for internal users 2023-12-26 23:52:47 +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 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
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
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
vishnukvmd 418fd2e1bb Display indexing stats to all 2023-12-18 23:01:43 +05:30
vishnukvmd b6c8a79a78 Merge branch 'main' into onnx 2023-12-18 22:27:59 +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
ashilkn c8c30d0cb0 resolve merge conflicts and merge main 2023-12-18 18:35:32 +05:30
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 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