Commit graph

847 commits

Author SHA1 Message Date
ashilkn 652e77ab9d Only use updateLocationTag() to update location tag 2023-04-06 12:28:26 +05:30
ashilkn e0efe2e059 Minor change 2023-04-06 12:09:35 +05:30
ashilkn 5b4af04712 Made delete locatioTag functional 2023-04-06 11:08:21 +05:30
ashilkn de7e2ab2eb Created a popupMenu for 'edit' and 'delete location' in 'Location screen' 2023-04-06 10:47:47 +05:30
ashilkn 211bd01722 Rebuild 'Location screen' gallery when radius or centerPoint changes 2023-04-06 09:49:21 +05:30
ashilkn d685d37f39 Update state of 'Location screen' after updates in location 2023-04-06 09:42:41 +05:30
ashilkn 23ec49f8eb Show location name on 'edit location' screen 2023-04-05 19:49:50 +05:30
ashilkn 21a7e3e62b Remove commented out code 2023-04-05 17:02:42 +05:30
ashilkn d54f679b72 Rebuild 'edit location' sheet by listening to update in locationTag 2023-04-05 16:24:39 +05:30
ashilkn 72d8ae9f53 Made an event for add/update/delete locationTag and updated the Location tile in 'location details' sheet using it. 2023-04-05 14:33:54 +05:30
ashilkn c9f08c6eca Made 'update center point' functional in 'edit location' 2023-04-05 10:53:29 +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 4f003104ce Merge branch 'location_tag_screen_4' into location_tag_screen_5 2023-04-04 18:33:10 +05:30
ashilkn 77f85aadfd Added 'Use selected photo' button 2023-04-04 17:16:33 +05:30
ashilkn fc874d0a52 Plug in gallery in 'Pick center point' sheet 2023-04-04 16:50:53 +05:30
ashilkn a9726b222f Modify LazyLoadingGridView to support single file selection 2023-04-04 16:50:15 +05:30
ashilkn 48833376e7 Made a 'Pick center point' sheet without gallery 2023-04-04 15:13:22 +05:30
Neeraj Gupta 138f0a4165
Fix integration with entity service 2023-04-04 14:18:54 +05:30
ashilkn 10432250af Enabled drag to close on edit and add location sheets 2023-04-04 11:55:29 +05:30
ashilkn 97cdf56abf Created 'Center point' tile in edit location screen 2023-04-04 11:27:09 +05:30
ashilkn 195d2a72ca Merge branch 'location_tag_screen_4' into location_tag_screen_5 2023-04-03 17:23:30 +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
Neeraj Gupta 15305d4bd8
Remove unused file 2023-04-03 16:36:53 +05:30
ashilkn 9dc67d5950 Rename add_location_gallery_widget.dart to dynamic_location_gallery_widget.dart 2023-04-03 15:39:04 +05:30
ashilkn ef109469b0 Get the center point from InheritedLocationScreenState for location screen 2023-04-03 09:29:19 +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 2ff51d10f8 Minor changes 2023-03-31 20:48:45 +05:30
ashilkn 5ca5a1a241 Show loading state and memory count in 'Location' screen 2023-03-31 16:04:58 +05:30
ashilkn f677b5d60c Show location name on location screen 2023-03-31 15:50:45 +05:30
ashilkn 1df9ee7eec Show edit location sheet on clicking edit icon on location screen 2023-03-31 11:32:30 +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 022ec14489 Hack to show header of gallery even in loading states 2023-03-29 19:01:22 +05:30
ashilkn eec2bd411c Make gallery in 'location' screen functional 2023-03-29 16:46:07 +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 6a2f2ee1d1 Give proper comments 2023-03-29 07:54:26 +05:30
ashilkn 6b2b9b7468 Rename classes 2023-03-29 07:20:06 +05:30
ashilkn ddf1ffd086 Moved bottom of appBar to header of Gallery widget 2023-03-28 19:03:08 +05:30
ashilkn 42911d1109 Changes to animation 2023-03-28 17:33:58 +05:30
ashilkn 3a3aaa1035 Use normal AppBar instead of SliverAppBar to make gallery work 2023-03-28 17:15:26 +05:30
ashilkn 93935374e1 Made a layout of 'Location' screen with animations 2023-03-28 12:46:35 +05:30
ashilkn f2dc641749 Remove memoryCountNotifier from RadiusPickerWidget 2023-03-28 12:42:13 +05:30
ashilkn a0af11dadc Use a notifier to notify change in radius in RadiusPickerWidget so that a callback can be called in the parent of RadiusPickerWidget 2023-03-28 10:10:21 +05:30
ashilkn 0da37cc847 Made state variables final and private 2023-03-27 16:54:50 +05:30
ashilkn 8499a56652 Merge branch 'location_tags' into add_location_screen 2023-03-27 16:36:18 +05:30
ashilkn f3ef3bfe25 Define return type as void 2023-03-27 16:35:06 +05:30
ashilkn 62a145d7a0 Added copy to let users know only 1000 files are rendered in gallery when file count > 1000 2023-03-27 15:44:40 +05:30
ashilkn 0a0eb504fb Compute gallery height considering the limit of files in gallery 2023-03-27 15:27:57 +05:30