Commit graph

4367 commits

Author SHA1 Message Date
vishnukvmd b7f546644c Remove separate cache for files 2022-08-11 13:12:06 +05:30
Vishnu Mohandas 1b9d447055
Merge pull request #417 from ente-io/location-search
Location search, UI changes, performance improvements and refactors
2022-08-11 11:53:25 +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
Ashil cbec278e6a
Merge pull request #418 from ente-io/fix_object_urls
Fix object urls
2022-08-10 19:24:16 +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 b2e9499654 Merge branch 'master' into location-search 2022-08-10 10:19:35 +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
Ashil 8b32152bba
Merge pull request #416 from ente-io/file-name-search
File name search
2022-08-08 18:16:25 +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
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 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