Commit graph

3767 commits

Author SHA1 Message Date
Neeraj Gupta 011d096572
reduce font size for no result widget 2022-08-22 13:26:57 +05:30
Neeraj Gupta 7513fcdfea
Fix range error in HolidaySearch suggestions 2022-08-22 13:22:22 +05:30
ashilkn d5af7e79a3 used better names for variables & methods checking if timer is active or not 2022-08-22 13:07:20 +05:30
ashilkn d3beaeaf7d Merge branch 'master' into fix-spinner-reload-on-every-keystroke 2022-08-22 11:59:47 +05:30
ashilkn 1d40e4833d misc. changes 2022-08-22 11:32:06 +05:30
ashilkn 1136f2cdb7 Merge branch 'master' into prefix-search-for-year 2022-08-22 11:00:53 +05:30
ashilkn e7e1236afc show latest first for year search results 2022-08-22 10:59:35 +05:30
ashilkn 32190e1ea5 modified getYearSearchResults service to handle more than one year + refactoring 2022-08-22 10:48:28 +05:30
ashilkn 6e30282051 cache years and its durations 2022-08-22 09:44:38 +05:30
ashilkn 9d12778e3e minor fixes 2022-08-20 16:11:05 +05:30
ashilkn acd011a3f7 different opacities for the background of serach 2022-08-20 15:59:29 +05:30
ashilkn 19c714266e fixed spinner reload on every keystroke 2022-08-20 15:38:36 +05:30
ashilkn e6e80a6bf1 removed extra whitespace between 'holiday name' & 'Date' 2022-08-20 13:02:19 +05:30
ashilkn 5bcf6c781a fixed gallery update bug in files in location screen on delete 2022-08-20 12:38:35 +05:30
ashilkn 7a8eb08819 minor change 2022-08-19 17:27:32 +05:30
ashilkn 18cb29a4d0 changed text of copies 2022-08-19 17:21:57 +05:30
ashilkn b1d580c78d made fields in Debouncer class private 2022-08-19 14:46:26 +05:30
ashilkn 83fd6ea4c4 minor changes 2022-08-19 14:36:25 +05:30
ashilkn 1438a3cea7 minor changes 2022-08-19 13:24:46 +05:30
ashilkn eff638cb3e extracted all search service method calls to a separate function + moved Debouncer class to a separate file 2022-08-19 13:02:59 +05:30
ashilkn d9a4d34c1d extracted _debounceQuery() to Debouncer class 2022-08-19 11:58:20 +05:30
ashilkn ce84ad1125 bug fix on holiday search and files not shown for current year holidays 2022-08-19 10:35:21 +05:30
ashilkn fb060c01dc adde animation for the search suffix icon 2022-08-19 10:20:07 +05:30
ashilkn dee861b0c4 minor changes 2022-08-18 19:44:09 +05:30
ashilkn d222bb59f5 increased horizontal padding of search 2022-08-18 19:31:38 +05:30
ashilkn fef120c430 fixed bug on empty query 2022-08-18 19:20:53 +05:30
ashilkn 8d7d91f6b1 CircularProgressIndicator bug fix 2022-08-18 18:12:38 +05:30
ashilkn 109648ede2 bug fix on typing fast 2022-08-18 17:50:27 +05:30
ashilkn 6a6fc6f345 CircularProgressIndicator while debouncing 2022-08-18 16:22:57 +05:30
ashilkn 65f2aa3b16 added debounce to search 2022-08-18 14:03:28 +05:30
ashilkn ba2eb2516d only show resutls if query is not empty 2022-08-18 10:39:39 +05:30
Vishnu Mohandas f7d4ded925
Merge pull request #431 from ente-io/month-search
Month search
2022-08-17 19:50:21 +05:30
ashilkn 2b547df4f0 fixed other lint errors 2022-08-17 17:48:53 +05:30
ashilkn fb389ac390 Made files in month page 2022-08-17 17:28:59 +05:30
ashilkn eded31210c Made month reslut widget + fixed bug on searching 'december' 2022-08-17 17:18:25 +05:30
ashilkn aa2f85af93 Made service for month search and added results to allResults 2022-08-17 16:20:40 +05:30
ashilkn 52c6cb0fe7 made MonthSearchResult and MonthWithNumber types + made an allMonths list 2022-08-17 16:02:57 +05:30
ashilkn ffe3d37726 minor changes 2022-08-17 14:05:16 +05:30
ashilkn c8915c6d3f Merge branch 'master' into holidays-search 2022-08-17 13:51:21 +05:30
ashilkn bbaaf038b0 added on tap to pop the search screen context when tapped outside 2022-08-16 19:22:17 +05:30
ashilkn a33e5bee57 added black overlay with opacity for search screen 2022-08-16 18:47:53 +05:30
ashilkn d59aa30957 removed unnecessary for loops + other improvements 2022-08-16 17:19:58 +05:30
ashilkn fd6e8c7d76 minor changes 2022-08-16 15:49:26 +05:30
ashilkn c1c1924f3f fixed minor bug + other changes 2022-08-16 13:23:16 +05:30
ashilkn dec2029814 fixed merge conflicts 2022-08-16 13:00:17 +05:30
ashilkn 820586e8fd created files from holiday collection page 2022-08-16 12:51:39 +05:30
ashilkn 2976529d80 created search suggestion widget for search by holiday 2022-08-16 12:44:13 +05:30
ashilkn 5b4b86d964 refactoring 2022-08-16 12:43:21 +05:30
ashilkn 4c2fc2b5f6 moved constant holiday data to a new file 2022-08-16 12:24:05 +05:30
ashilkn d2a0ff3cde refactoring/restructuring 2022-08-15 19:33:42 +05:30
vishnukvmd 9874281787 Prompt for biometric auth only in cases where user-self-delete will be executed 2022-08-15 17:35:23 +05:30
ashilkn eeb477598b changes to holidays search service and type of object returned by it 2022-08-15 17:32:56 +05:30
vishnukvmd e1c9fa1883 Replace Container with a SizedBox 2022-08-15 17:05:51 +05:30
vishnukvmd 7ec6a908e8 Caps on pls 2022-08-14 23:11:08 +05:30
vishnukvmd c1b07a7dae Update family-plan dialog title 2022-08-14 23:10:26 +05:30
vishnukvmd 7f0dae0b8a Add padding for draggable thumb to prevent collision with the search icon 2022-08-13 21:04:01 +05:30
vishnukvmd cd04e3060e Add a swipeable route 2022-08-13 20:20:34 +05:30
vishnukvmd ce2e5361e1 Show empty state only for non-empty queries 2022-08-13 19:19:45 +05:30
vishnukvmd a705a9b76a Remove unused param 2022-08-13 19:16:47 +05:30
vishnukvmd 534c004ffd Add an empty state when no results were found 2022-08-13 19:07:17 +05:30
vishnukvmd 8df28169d6 Limit the height of the search suggestions 2022-08-13 18:55:45 +05:30
vishnukvmd 12d61d16e8 Fix width for location and album search results 2022-08-13 18:43:31 +05:30
vishnukvmd a124211f27 Fix ordering of search results within a year 2022-08-13 18:40:01 +05:30
vishnukvmd a71a28288f Disable auto-suggestion on the search input field 2022-08-13 18:38:06 +05:30
vishnukvmd 6ec87610c9 Fix padding 2022-08-13 18:10:18 +05:30
vishnukvmd 215ee7ede6 Remove file search 2022-08-13 18:10:13 +05:30
ashilkn e3d07556e7 Made serive to find matching holiday queries and stored it into the results of suggestions 2022-08-12 16:38:26 +05:30
ashilkn f9f87f0435 made static map of holidays + made a class to store holiday data as it's object 2022-08-12 15:13:15 +05:30
ashilkn 13748a11cc Merge branch 'master' into code-refactoring 2022-08-12 12:45:05 +05:30
ashilkn 1eab6d960f Set a default footer for gallery 2022-08-12 12:43:48 +05:30
ashilkn a4b3ba103c removed unwanted line of code 2022-08-12 12:15:51 +05:30
ashilkn 3f2e70a44a minor changes 2022-08-12 12:07:19 +05:30
ashilkn b97b3367bf changed UI of year search to the new UI 2022-08-12 11:43:33 +05:30
ashilkn 7822ed7f68 mixed merge conflicts 2022-08-12 11:30:41 +05:30
vishnukvmd 9e2c635461 Fix padding 2022-08-11 20:20:56 +05:30
vishnukvmd c3b0e7d141 Fix text color for light mode 2022-08-11 20:20:53 +05:30
vishnukvmd acc9386284 Add chevron to each search result 2022-08-11 20:15:42 +05:30
vishnukvmd 1e047d6e4b Fix logger name 2022-08-11 20:08:43 +05:30
ashilkn 286c3e1045 Files from an year collection page + minor changes 2022-08-11 20:00:13 +05:30
vishnukvmd 78aee4e8a0 Add border radius 2022-08-11 19:53:50 +05:30
vishnukvmd ff35f07094 Extract search result thumbnail to a separate widget 2022-08-11 19:45:54 +05:30
vishnukvmd 9857412428 Add border radius to all thumbnails 2022-08-11 19:18:08 +05:30
ashilkn c134bffc66 Merge branch 'master' into search-by-year 2022-08-11 19:16:24 +05:30
vishnukvmd 9c389aba31 Style changes 2022-08-11 19:15:45 +05:30
ashilkn 753bba3eed made YearSearchWidget() for search result suggestion 2022-08-11 19:15:35 +05:30
ashilkn 50c39dc768 made search service for search by year and stored it to the results variable which is passed on to the SearchSuggestionsWidget() 2022-08-11 18:52:30 +05:30
vishnukvmd 40783396cf Prioritize location results 2022-08-11 18:28:52 +05:30
vishnukvmd 1b308a8704 Prevent overscroll on the search suggestions 2022-08-11 18:26:07 +05:30
vishnukvmd 300508305c Copy change 2022-08-11 18:23:16 +05:30
vishnukvmd ee2fa83019 Reduce transition animation duration 2022-08-11 18:21:03 +05:30
Ashil 110a5831ab
Merge pull request #420 from ente-io/refactor_collections_gallery
Refactor collections gallery
2022-08-11 18:05:43 +05:30
vishnukvmd dabe266455 Update variable name 2022-08-11 18:03:30 +05:30
vishnukvmd 08841b22c3 Rename variable 2022-08-11 18:00:15 +05:30
vishnukvmd ae8bfeea37 Move widgets out of the collection_gallery_widget.dart 2022-08-11 17:58:06 +05:30
vishnukvmd b092188d61 Extract trash button to a separate widget 2022-08-11 17:39:12 +05:30
vishnukvmd f7c66d9124 Extract hidden collection button to a separate widget 2022-08-11 17:38:00 +05:30
vishnukvmd f25045b92a Fetch 10 results for location searches 2022-08-11 17:18:09 +05:30
vishnukvmd 56339cea5d [Unrelated] Ensure that the widget is mounted before using BuildContext 2022-08-11 14:16:24 +05:30
vishnukvmd 811e67b780 Remove unnecessary Row and Flexible widget 2022-08-11 14:15:56 +05:30
vishnukvmd 70e1d9442a Fix hero animation for location search results 2022-08-11 13:40:29 +05:30
vishnukvmd 91e2226eaa Gracefully handle all errors while querying by location 2022-08-11 13:34:58 +05:30
vishnukvmd e254e6e64e Sort location search results by the latest file first 2022-08-11 13:14:42 +05:30
vishnukvmd cf26347d83 Remove unnecessary setState 2022-08-11 13:12:40 +05:30
vishnukvmd f325d6d602 Create a unique tag for location search 2022-08-11 13:12:29 +05:30
vishnukvmd e453bd801f Remove unnecessary log line 2022-08-11 13:12:12 +05:30
vishnukvmd b7f546644c Remove separate cache for files 2022-08-11 13:12:06 +05:30
ashilkn 9c24051b28 used more consistant names for methods 2022-08-11 11:50:39 +05:30
ashilkn 865ad15827 code refactoring 2022-08-11 11:10:29 +05:30
ashilkn ebf389e598 code refactoring 2022-08-11 10:45:42 +05:30
ashilkn 4cd054a164 Merge branch 'master' into location-search 2022-08-10 19:24:47 +05:30
vishnukvmd b84ca391a7 Update endpoint 2022-08-10 19:21:57 +05:30
vishnukvmd 0119f8a257 Update variable name 2022-08-10 18:58:33 +05:30
vishnukvmd eddaa8fe5d Directly hit the endpoint to download files only on non-production environments 2022-08-10 18:57:32 +05:30
ashilkn e33384be8f logic changes and code refactoring on search_service.dart 2022-08-10 18:57:04 +05:30
ashilkn 9109ee46cb minor changes 2022-08-10 15:39:56 +05:30
ashilkn e30f72f6da minor change 2022-08-10 12:04:57 +05:30
ashilkn 74d66f9a83 misc. changes 2022-08-10 11:58:16 +05:30
ashilkn d773ecc831 misc. changes 2022-08-10 10:18:40 +05:30
ashilkn a0a4e3d1f3 moved getFilteredCollectionsWithThumbnail to search_service.dart 2022-08-09 20:39:18 +05:30
ashilkn 260cbb22a5 code refactor + used new object to find matching files for location 2022-08-09 20:10:50 +05:30
ashilkn 55b27a9015 made new classes to store the locaiton api response as objects of them 2022-08-09 17:53:43 +05:30
ashilkn 52ee30eee9 moved getLocationsAndMatchedFiles to search_service.dart 2022-08-08 10:45:06 +05:30
ashilkn 9973a9817c minor changes 2022-08-08 09:46:06 +05:30
ashilkn 908d66359c misc. changes 2022-08-06 23:41:23 +05:30
ashilkn f970869c57 misc. changes 2022-08-06 23:26:36 +05:30
ashilkn a54c212876 added hero animation from location suggestion to location collection 2022-08-06 20:56:07 +05:30
ashilkn 993e188856 minor UI fix 2022-08-06 19:19:02 +05:30
ashilkn dd9cb3aac9 added solution for an edge case for search 2022-08-06 19:14:52 +05:30
ashilkn 18fb6917ae added delay for caching files after init + cached files will be deleted on logging out 2022-08-06 18:05:29 +05:30
ashilkn 256bbffe5c used better variable names 2022-08-06 14:52:54 +05:30
ashilkn 147d68ffc5 added shadow over cliprrect with border radius for search results 2022-08-06 14:12:28 +05:30
ashilkn bfa320c9ed minor changes 2022-08-06 13:45:42 +05:30
ashilkn c0d2517653 search results UI 2022-08-05 22:26:06 +05:30
Neeraj Gupta b04d56f2e6
fix query 2022-08-05 17:39:01 +05:30
Neeraj Gupta 9ad4ac2068
backfill existing rows with missingLocation reason 2022-08-05 17:05:32 +05:30
ashilkn cc89027ac4 minor UI fixes 2022-08-05 16:51:15 +05:30
Neeraj Gupta 4d0059df29
Use fileMigrationDB for verifying if file needs update 2022-08-05 16:39:56 +05:30
ashilkn e39b48440f made SearchWidget a transparent screen 2022-08-05 16:38:25 +05:30
Neeraj Gupta dfa761ae42
minor refactor 2022-08-05 15:35:31 +05:30
Neeraj Gupta 1f7c4c3b9f
Use fileHash to avoid re-upload of already uploaded files 2022-08-05 15:20:03 +05:30
ashilkn 8cc6efb0dd minor UI fixes 2022-08-05 13:13:56 +05:30
ashilkn 209cb2985a Removed the stack and made a column for the ente branding and search icon 2022-08-05 13:06:24 +05:30
ashilkn 5ee05d8d59 SearhWidget (the search screen) is now a screen on the navigator stack 2022-08-05 12:51:39 +05:30
ashilkn e61dca0a70 made SearchWidget to a stateful widget from a function 2022-08-05 11:42:16 +05:30
ashilkn 0d4c036896 added code to store file search results data and colleciton search results data object by object to the suggestions/results list 2022-08-05 10:22:47 +05:30
ashilkn 172cda39a2 vishnu' restructure with errors 2022-08-04 21:46:16 +05:30
ashilkn c3c8050663 made an object to store location and matching files and used it wherever needed 2022-08-04 13:08:31 +05:30
ashilkn f6d02d575a moved files caching to search_service.dart 2022-08-04 12:16:39 +05:30
ashilkn dc98b2ea51 converted MapEntry type data being passed around to Map type 2022-08-04 11:58:12 +05:30
ashilkn 5fdca7c8da deduped files in location search results 2022-08-04 11:29:15 +05:30
ashilkn 2428ca16a3 set limit of collection suggestions to not greater than 20 2022-08-04 11:22:03 +05:30
ashilkn bb13623704 added limits to suggestions of collection and file name search 2022-08-04 10:21:23 +05:30
ashilkn 35ba604607 restructured code of search_results_suggestions.dart to how it was before so that suggestions will be of type List<Widget> and not List<dynamic> 2022-08-03 19:42:37 +05:30
ashilkn 6fcb96fee6 fetching the location search files now from cached memory + can see result page with rendered files now which has duplicates in it 2022-08-03 18:58:18 +05:30
ashilkn 40bee92e64 modified code to work with the new object returned by getLocationsToMatchedFiles 2022-08-03 16:39:11 +05:30
ashilkn 96c68e6d99 simplified the the return of getLocationSearchData()(renamed it to getLocationsToMatchedFiles) from a list to a smaller map 2022-08-03 15:53:41 +05:30
ashilkn 9f97e26a73 added on tap to location suggestion widget which is paritally working 2022-08-03 15:06:38 +05:30
ashilkn 7f9c9f0ad5 added file count(memories) and thumbnail for location search suggestion 2022-08-02 18:42:22 +05:30
ashilkn c6b73c7376 location suggestion result is ready with no file count and thumbnail 2022-08-02 18:29:24 +05:30
ashilkn 6a9a7e088e renamed varialbes 2022-08-02 15:40:41 +05:30
ashilkn 0233154b94 fixed untappable issue for whitespaces in serach suggestion results row + removed unwanted comments 2022-08-02 10:34:12 +05:30
ashilkn 7c379bcdab removed objects for which no files are present in the location key from the list of objects returned by getLocationSearchData 2022-08-02 09:47:38 +05:30
ashilkn 611c252a07 minor fix 2022-08-02 09:15:06 +05:30
ashilkn 1e029d208d typo fix 2022-08-02 09:02:55 +05:30
ashilkn 634ce7e013 cached file name, made functions to return location name and files 2022-08-01 21:06:24 +05:30
Neeraj Gupta 6429820485
refactor 2022-08-01 16:35:16 +05:30
ashilkn 1b69abcc31 made seperate folders for search result widgets 2022-08-01 10:17:33 +05:30
ashilkn 18b50bc2a3 vertically centered thumbnail of serach suggestions 2022-08-01 10:06:02 +05:30
ashilkn 46f96b6b50 minor changes 2022-07-29 15:17:13 +05:30
ashilkn b90ae84d67 added try catch block, modified the data returned by getLocationSearchData() 2022-07-29 14:52:09 +05:30
Neeraj Gupta 3fdb422c64
Refactor mile migration service 2022-07-29 11:36:03 +05:30
Neeraj Gupta b1ac8f4f3a
Add reason in re-upload tracker table 2022-07-29 11:34:00 +05:30
ashilkn 9fa691a1d3 made api call service for location search 2022-07-29 10:57:39 +05:30
ashilkn 3b56435416 added hero animation from filename suggestion to filedetials 2022-07-28 19:07:38 +05:30
ashilkn c0cd65c01b added hero animation from collection suggestion thumbnail to latest file in collection 2022-07-28 18:52:53 +05:30
ashilkn 6aa3220f7e search optimization 2022-07-28 16:36:04 +05:30
ashilkn 207948635e minor changes 2022-07-28 15:45:46 +05:30
ashilkn 4ffe5f4e12 added ontap to show the file when clicked on file name serach suggestions 2022-07-28 15:24:32 +05:30
Neeraj Gupta e69ac95863
remove unused method 2022-07-28 14:49:38 +05:30
Neeraj Gupta 41f70abb67
Use hash from MediaDataUpload for fileMetadata 2022-07-28 14:49:38 +05:30
Neeraj Gupta bb9564eaab
Compute fileHash as part of MediaUploadData prep 2022-07-28 14:49:38 +05:30
Neeraj Gupta 58d8c24aa1
Remove unused method 2022-07-28 14:49:38 +05:30
Neeraj Gupta 4ad94d6e8a
log changes 2022-07-28 14:49:38 +05:30
ashilkn d91ed9770e fixed no such method error 2022-07-28 13:37:41 +05:30
ashilkn b06fb763f0 code refactor 2022-07-28 13:22:20 +05:30
ashilkn 72f3c70804 minor changes 2022-07-28 11:24:40 +05:30
ashilkn 1feb070435 Merge branch 'master' into file-name-search 2022-07-28 10:51:26 +05:30
Neeraj Gupta 40ed037327
Refactor search UI 2022-07-28 10:38:20 +05:30
Neeraj Gupta 5b21bc0aa6
rename 2022-07-28 10:37:52 +05:30
Neeraj Gupta b2cf52c31a
minor refactor 2022-07-28 10:25:54 +05:30
ashilkn bd09c5d148 made service for filename search + made corresponding class members/variables 2022-07-27 17:21:43 +05:30
ashilkn 834209ef80 code refactoring 2022-07-27 13:00:51 +05:30
ashilkn c1b4ad8e38 minor changes 2022-07-27 12:43:22 +05:30
ashilkn 62ee463f9d code refactor - removed futureBuilder for generating thumbnail 2022-07-27 11:52:54 +05:30
ashilkn af492c61a1 fixed no such method error 2022-07-27 11:45:15 +05:30
ashilkn 8e0e9e9e1e created CollectionWithThumbnail object list which is to be returned by getSearchedCollections() 2022-07-27 11:15:20 +05:30
ashilkn ab4a2db60b minor changes + refactoring 2022-07-26 13:02:55 +05:30
ashilkn f6addb0eb7 changed searchResultsSuggestion to a stateless widget 2022-07-25 19:38:11 +05:30
ashilkn c7f1d182be removed print and debug print statements 2022-07-25 19:30:07 +05:30
ashilkn a83193315c merge master 2022-07-25 19:23:57 +05:30