Commit graph

50 commits

Author SHA1 Message Date
Neeraj Gupta da67b6ba17 Only reload when user is on search tab 2023-11-28 13:29:22 +05:30
Neeraj Gupta c898256b48 Reduce time to 4 seconds
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-28 13:05:45 +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
ashilkn acbf3baa80 remove using context only after init of widget is complete, can use context during init 2023-11-17 07:24:51 +05:30
vishnukvmd c683d37899 TODO: Localize these strings 2023-11-17 00:22:46 +05:30
ashilkn f82a56962b add comment 2023-11-16 11:53:04 +05:30
ashilkn ee560a4c00 refactor + use better fn name 2023-11-16 10:48:57 +05:30
ashilkn 15507fafd1 remove unused variable 2023-11-16 10:40:17 +05:30
ashilkn 09a78038eb Reload only location search section on changes related to loc tag 2023-11-15 10:29:07 +05:30
ashilkn 9487c846a6 show loading icon when all search sections are getting loaded or reloaded 2023-11-14 12:25:56 +05:30
ashilkn 2114dbf441 only listen to FilesUpdatedEvent for reloading all search sections and add debouncer to it + add logging 2023-11-11 07:47:40 +05:30
ashilkn f625313912 fix: new state not reflecting on UI of search tab when syncing is complete 2023-11-07 16:22:56 +05:30
ashilkn 8492cbff57 minor change 2023-11-04 06:21:04 +05:30
ashilkn 98ef5189a9 Refactor + fix last commit in a better way 2023-11-03 21:37:24 +05:30
ashilkn aed6795824 fix error in search results state provider 2023-10-24 12:47:03 +05:30
ashilkn 0b872559ec chore: clean up 2023-10-24 12:19:33 +05:30
ashilkn 78544a63f8 Create inherited widget to store state of search results 2023-10-24 12:18:42 +05:30
ashilkn 7b5b39997f Store state of selected radius instead of selected radius index for a bug fix 2023-04-27 12:57:32 +05:30
ashilkn 2b0d851c81 Custom radius for location tags but with state refresh issues 2023-04-26 18:31:33 +05:30
ashilkn d0a9ec2ada Removed a comment 2023-04-07 15:24:36 +05:30
ashilkn 5e347c9247 Save the new center point only by clicking 'save' from 'Edit location' sheet 2023-04-07 15:14:34 +05:30
ashilkn 6dda350b72 Removed unused parameter + added comments 2023-04-06 14:10:10 +05:30
ashilkn 4dde1a4a40 Added a comment 2023-04-06 13:34:53 +05:30
ashilkn d685d37f39 Update state of 'Location screen' after updates in location 2023-04-06 09:42:41 +05:30
ashilkn d54f679b72 Rebuild 'edit location' sheet by listening to update in locationTag 2023-04-05 16:24:39 +05:30
ashilkn 01347f93c2 Pass LocalEntity<LocationTag> instead of locationTag
in update locationTag screens to get access to locaitonTag's id
2023-04-05 09:30:18 +05:30
ashilkn d7edf2c551 Add locationTag to InheritedLocationTagData's state 2023-04-04 11:25:21 +05:30
ashilkn 2ab40d0459 Pass locationTag if state provider for 'edit location' screen + fix radiusPicker always at defaut value bug on 'edit screen' 2023-04-03 17:22:07 +05:30
ashilkn a1f05e75fc Refactor: Used Location and LocationTag objects in codebase 2023-04-03 07:20:14 +05:30
ashilkn 3de5696b04 Used freezed package in location and locationTag models 2023-04-02 18:17:18 +05:30
ashilkn 5ca5a1a241 Show loading state and memory count in 'Location' screen 2023-03-31 16:04:58 +05:30
ashilkn 3f99c4c2a4 Made an InheritedWidget to store the state of LocationTag for 'Location screen' 2023-03-31 14:52:46 +05:30
ashilkn 862c11f6fd Removed the 'Edit location' section from 'Location screen' + deleted old_location_state.dart 2023-03-31 11:24:09 +05:30
ashilkn e8db641e00 Renamed location_state.dart to old_location_state.dart to delete after refactoring and renamed add_location_state.dart to location_state.dart 2023-03-31 10:34:38 +05:30
ashilkn 7ec2fd4aae Created an 'Edit location' sheet and modified add_location_state.dart to make it reusable 2023-03-31 10:23:21 +05:30
ashilkn 37e3155742 Created an InheritedWidget which holds the state of index of Radius picker and used it in 'Location' screen 2023-03-29 08:21:02 +05:30
ashilkn 6b2b9b7468 Rename classes 2023-03-29 07:20:06 +05:30
ashilkn 385259ffb0 Used better name for debouncer used for selecting radius 2023-03-27 10:54:06 +05:30
ashilkn 2bc41978fb Used better variable name 2023-03-24 11:02:18 +05:30
ashilkn 18b4b7fc39 Refactor: Reorganized files into meaningful folders 2023-03-24 10:32:44 +05:30
Neeraj Gupta ac39b26283
Lint: Remove redundant ignore for null unsafe import 2023-01-07 17:43:42 +05:30
vishnukvmd 5aae01e9a6 Remove delay for fetching user details 2022-12-27 17:24:19 +05:30
vishnukvmd ce4457c8aa Render cached user details 2022-12-27 17:22:10 +05:30
ashilkn 3a49a433ee Fixed recurring loading state of storage card and uploaded file count 2022-12-13 20:30:35 +05:30
ashilkn 5816c654de Stopped listening to UserDetailsUpdatedEvent in UserDetailsState 2022-12-13 18:20:29 +05:30
ashilkn 3bc236316d fixed error in UserDetailsState when user has not signed/logged in 2022-10-14 19:59:21 +05:30
ashilkn 47a642aec7 fire event on opening settings and fetch userDetails 2022-10-13 10:12:55 +05:30
ashilkn 4aac18ecc2 modify DetailsSectionWidget to work with getting state from InheritedUserDetails 2022-10-10 10:37:51 +05:30
ashilkn cbafdd52c6 created an InheritedWidget for keeping user details state 2022-10-10 10:16:07 +05:30