Commit graph

5632 commits

Author SHA1 Message Date
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
Neeraj Gupta 3ac856bb71 Merge branch 'main' into duplicate_symlinks 2023-12-18 08:29:55 +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 0408275ed0 Merge branch 'main' into onnx 2023-12-16 16:51:53 +05:30
vishnukvmd aed04b187d Pretty print result count 2023-12-16 16:40:58 +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 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
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 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
Neeraj Gupta e26983b123 Ensure symlink is added before deleting duplicates 2023-12-14 19:03:41 +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
Neeraj Gupta 5df2503581 Dedupe: Switch to selected grids for delete section 2023-12-14 13:48:26 +05:30
vishnukvmd c35ee381d3 Add ability to clear local embeddings 2023-12-14 11:30:09 +05:30
Neeraj Gupta 665c378197 Dedupe: Pull up hash clubbing logic 2023-12-14 09:40:50 +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 4ea56e5bf7 Show ML settings on iOS 2023-12-13 14:37:15 +05:30
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
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 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
Neeraj Gupta 893449ca6d Improve logs + fix lint for unawaited future 2023-12-11 18:21:29 +05:30
ashilkn dd0463f020 Changes to UI/UX of map 2023-12-11 13:41:57 +05:30
ashilkn 8ea0254a82 built basic UI for choosing location 2023-12-10 23:06:07 +05:30
ashilkn 841debe181 Show map inside bottom sheet on clicking 'add location data' 2023-12-10 22:07:32 +05:30
ashilkn 635f7e724f use const + wrap unawited future with unawaited 2023-12-10 22:06:45 +05:30
ashilkn ddcd3c6099 create UI of row in file info to add location data manually when location data is absent 2023-12-10 18:22:02 +05:30
vishnukvmd 7204cf427d Pretty print long numbers with commas 2023-12-10 15:57:33 +05:30
ashilkn 7b13e3cd05 remove unnecessary use of variable 2023-12-07 22:20:33 +05:30
ashilkn b25d06ac2e fix: UI not refreshing when deleting and hiding items from location screen 2023-12-07 20:25:43 +05:30
ashilkn 7599d019d0 fix: reload UI when items are deleted or hidden from search result screen 2023-12-07 15:11:34 +05:30
Neeraj Gupta c8d3ab8dc6 Merge branch 'main' into more_improvements 2023-12-06 13:35:58 +05:30
Neeraj Gupta d833ba31ed Add support for early validation of photo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 13:32:11 +05:30
Neeraj Gupta fd434ba9f4 Log status value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 07:44:19 +05:30
Neeraj Gupta 9cc515b573 Remove callback on dispose 2023-12-05 21:45:56 +05:30
Neeraj Gupta c015f1b23b Add mount check before setting valueNotifier value 2023-12-05 21:44:39 +05:30
vishnukvmd 54b553909f Merge branch 'main' into clip 2023-12-05 21:13:53 +05:30
Vishnu Mohandas 4fdc54bad7
Gallery state refresh bug (#1565) 2023-12-04 19:00:07 +05:30
ashilkn df809e9112 fix: gallery UI not updating after delete, hide and archive 2023-12-04 18:48:11 +05:30
ashilkn 00b92351ca Reduce thickness and make corners rounded on the scrollbar of file actions 2023-12-04 14:53:38 +05:30
Neeraj Gupta 9e75d4c4d2 Merge branch 'main' into pull_down_fix 2023-12-04 10:27:29 +05:30
vishnukvmd 23d46e203b Fix issue that was breaking the pull-down interaction 2023-12-04 10:23:07 +05:30
Vishnu Mohandas 3441c950d8
Add a scrollbar for bottom action bar (#1561) 2023-12-02 18:02:46 +05:30
Vishnu Mohandas 700de0dd8b
fix: deleting of items not reflecting on UI (#1560) 2023-12-02 17:16:12 +05:30
Neeraj Gupta f56191f70d
Warn for unawaited futures (#1559) 2023-12-02 17:12:52 +05:30
ashilkn df10e49964 fix: deleting of items not reflecting on UI 2023-12-02 17:04:01 +05:30
vishnukvmd 27f8bc8aad Remove redundant variable 2023-12-02 00:14:47 +05:30
Neeraj Gupta d95a768edc Fix: Avoid redundant position fix 2023-12-02 00:03:55 +05:30
Neeraj Gupta f66de8829b Fix: Register callback for scaleStateChangedCallback 2023-12-02 00:01:38 +05:30
Ashil bdac20a711
Use debouncer for home, owned and shared albums tabs and gallery. (#1554) 2023-12-01 16:04:09 +05:30
ashilkn 8b39716f5c cancel debouncers on disposing widget 2023-12-01 15:55:16 +05:30
ashilkn 87fa673900 perf: add debouncer to reduce reloading of other tabs 2023-12-01 15:41:05 +05:30
ashilkn 6a759d8b96 perf: add debouncer to reload and force reload event listeners in gallery 2023-12-01 13:27:42 +05:30
Ashil f11f34c37f
pref: minor improvement (#1550) 2023-11-30 19:41:10 +05:30
ashilkn 6a26e01af0 change interval time type from int to Duration in debouncer 2023-11-30 19:29:27 +05:30
Neeraj Gupta 1ec2b14df2 Make error field mandatory 2023-11-30 10:49:35 +05:30
Neeraj Gupta f8209ff604 Fix bug in debouncer & increase search tab debounce time
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-28 13:00:35 +05:30
Neeraj Gupta 5dd09a79ae Rename variable 2023-11-28 12:27:15 +05:30
Neeraj Gupta 84721d7e90 Fix build issue 2023-11-28 11:49:44 +05:30
Neeraj Gupta e8a4ddb4d9 Remove black friday deal ref 2023-11-28 10:46:37 +05:30
Vishnu Mohandas 32735c6676
Round down the number of items within a map view (#1545) 2023-11-28 06:25:42 +05:30
vishnukvmd 1063bb18e0 Round down the number of items within a map view 2023-11-28 00:08:53 +05:30
Neeraj Gupta 4fba22f204 ChangePassword: Confirm before signing out from other devices 2023-11-26 16:18:15 +05:30
Ashil 75f141e006
feat: sort results in 'view all' of search sections in alphabetical order (#1530) 2023-11-24 21:57:29 +05:30
Muhammed Ayimen a70a5f95da Simplfied: Vertical drag function 2023-11-22 13:09:15 +09:00
ashilkn cf15c791b2 feat: sort results in 'view all' of search sections in alphabetical order 2023-11-21 10:36:46 +05:30
Muhammed Ayimen 1307358934 Updated: Even if the image is not stored locally, vertical drag works 2023-11-21 13:23:28 +09:00
Muhammed Ayimen 0268f12cf4 Merge branch 'main' of https://github.com/i-aiymen/photos-app into zoomImageSlidingBug 2023-11-21 08:13:22 +09:00
Muhammed Ayimen 97dfb91709 Removed: should _shouldDisableScroll parameter from all the file that have called it 2023-11-21 00:20:50 +09:00
Muhammed Ayimen bb93fe3c70 Removed and updated: Percentage checking and variable declaration convention 2023-11-21 00:03:35 +09:00
Muhammed Ayimen fb599a85b8 Updated: Vertical drag gets disabled, based on a particular zooming value which is calculated by a percentage 2023-11-20 23:28:31 +09:00
Neeraj Gupta f16c7d0aad Merge branch 'main' into show_add_on_validity 2023-11-20 19:35:15 +05:30