Commit graph

383 commits

Author SHA1 Message Date
Neeraj Gupta a5c8929baa
Fix result type header 2022-09-14 14:41:29 +05:30
Neeraj Gupta c0d5bb942a
file name 2022-09-14 14:10:35 +05:30
Neeraj Gupta f20bf786b9
Refactor search widgets 2022-09-14 14:03:51 +05:30
ashilkn eb7c1ec837 started incremental migration to null safety 2022-09-07 14:00:09 +05:30
Manav 2b8fc8e3af Tweaks to finalize search for release
1. Change background scrim color for search overlay in dark mode
2. Add apostrophes to holiday names
3. Reduce debounce interval to 100 ms
2022-08-26 14:16:43 +05:30
ashilkn 1b9b5bc511 minor changes 2022-08-23 17:16:05 +05:30
ashilkn 99f84da428 added comments and changed debounce duraiton to 200ms 2022-08-23 16:42:44 +05:30
ashilkn cfb0e5681c fixed race condition bug in search 2022-08-23 16:32:00 +05:30
ashilkn 282fccf3e4 refactored by using animatedSwitcher instead of fadeTransition 2022-08-23 10:53:12 +05:30
ashilkn a9dcdc6333 minor changes 2022-08-22 16:40:59 +05:30
ashilkn 56937a1006 debounce bug fix 2022-08-22 15:51:20 +05:30
ashilkn d30c698d5b renamed search_debounce.dart to debounce.dart 2022-08-22 14:46:46 +05:30
ashilkn d41d4ad02e spinner spinning on empty query fix 2022-08-22 14:44:52 +05:30
vishnukvmd 0db99f915a Refactor Debouncer 2022-08-22 13:56:01 +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 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
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 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 d2a0ff3cde refactoring/restructuring 2022-08-15 19:33:42 +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 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 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 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 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 acc9386284 Add chevron to each search result 2022-08-11 20:15:42 +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 dabe266455 Update variable name 2022-08-11 18:03:30 +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 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
ashilkn 9c24051b28 used more consistant names for methods 2022-08-11 11:50:39 +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 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 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
ashilkn cc89027ac4 minor UI fixes 2022-08-05 16:51:15 +05:30
ashilkn e39b48440f made SearchWidget a transparent screen 2022-08-05 16:38:25 +05:30
ashilkn 8cc6efb0dd minor UI fixes 2022-08-05 13:13:56 +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 dc98b2ea51 converted MapEntry type data being passed around to Map type 2022-08-04 11:58:12 +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
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
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
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 8df8a2a1cb minor changes 2022-07-25 19:20:51 +05:30
ashilkn 2e8708de97 minor changes 2022-07-25 16:34:38 +05:30
ashilkn dc658d4acf UI changes + renaming variables for better understanding 2022-07-25 16:16:40 +05:30
ashilkn 1eae826f60 rename files to follow naming convention 2022-07-25 15:54:06 +05:30
ashilkn 5ecda81dbd remove priority search + refactor 2022-07-25 15:38:19 +05:30
ashilkn bf9a4479bc added thumbnail for collection suggestions 2022-07-25 11:24:04 +05:30
ashilkn 3fa69c774a added number of memories (number of files) for seach suggested collections 2022-07-23 12:45:07 +05:30
ashilkn 5088800c7c clicking on suggested colleciton now routes to colleciton page 2022-07-23 11:30:12 +05:30
ashilkn f63c6974c9 minor changes 2022-07-21 19:17:41 +05:30
ashilkn 92a5e44437 search suggestions for collections now include p1, p2, p3 results 2022-07-21 11:42:41 +05:30
ashilkn ee2d15dc68 code refactoring 2022-07-21 11:25:25 +05:30
ashilkn cb56fc0e6a Widget structure and logic for search suggestion + p1 search for collections 2022-07-21 10:59:57 +05:30
ashilkn 16f8934579 used valueNotifier to avoid rebuilding the whole searchWidget class on search queries 2022-07-20 16:27:45 +05:30
ashilkn ee01b8a0b7 minor changes 2022-07-20 15:47:35 +05:30
ashilkn fd2f89e1b9 renamed file + collection search service now returns an object with results marked with levels of relevance 2022-07-19 17:22:16 +05:30
ashilkn c281c3dc73 made a service to get cached collection ids on search 2022-07-19 14:51:52 +05:30
ashilkn 4fe2af4be1 made search icon and search text field 2022-07-18 10:15:06 +05:30
ashilkn 7681dbc756 increased bottom padding for all galleries 2022-07-14 14:04:35 +05:30
Neeraj Gupta edabfe6da3
lint: enable prefer_const_constructors_in_immutables rule 2022-07-04 14:13:01 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 590715c9d8
Fix few flutter_lint hints 2022-07-03 15:15:00 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta d71c5237ec
Link fixes 2022-07-03 12:19:00 +05:30
Neeraj Gupta a25cdbf570
replace loading widget var with EnteLoadingWidget 2022-07-03 11:34:42 +05:30
Neeraj Gupta a382a02196
Organize ui widgets in separate folders 2022-07-01 19:48:05 +05:30