Commit graph

113 commits

Author SHA1 Message Date
ashilkn 5e347c9247 Save the new center point only by clicking 'save' from 'Edit location' sheet 2023-04-07 15:14:34 +05:30
ashilkn 5158381d60 Minor fixes 2023-04-07 13:16:22 +05:30
ashilkn 3875d5befb Added animation to 'Add' button in 'Add location' screen 2023-04-07 13:07:47 +05:30
ashilkn cb2d791472 Added 'Save' button to save edits in 'Edit location' screen 2023-04-07 12:59:28 +05:30
ashilkn 736a9448eb Created a button 'Add' to add a locationTag in 'Add location' screen 2023-04-07 12:35:01 +05:30
ashilkn 8d4bbddc98 Remove unnecessary asserts 2023-04-07 10:15:48 +05:30
ashilkn 3d238660f8 Minor change 2023-04-06 14:25:48 +05:30
ashilkn 6dda350b72 Removed unused parameter + added comments 2023-04-06 14:10:10 +05:30
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 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 48833376e7 Made a 'Pick center point' sheet without gallery 2023-04-04 15:13:22 +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 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 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 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
ashilkn a3775ecff5 Fix null check operator used for null value error 2023-03-27 13:22:07 +05:30
ashilkn 3ca05b7592 Limit number of files in 'Add location' sheet's gallery to 1000 to avoid performance issues 2023-03-27 13:11:12 +05:30
ashilkn dcab865f9f Added comment 2023-03-27 12:37:52 +05:30
ashilkn 75acf2af29 Renamed variables + removed unnecessary variable 2023-03-27 11:22:12 +05:30
ashilkn 41cd62799d Reload locationTags widget in file details after a location tag is added 2023-03-25 04:17:06 +05:30
ashilkn a78360740a Code refactor 2023-03-25 02:58:53 +05:30
ashilkn b8996acd44 Save locationTag on submitting name of location 2023-03-25 02:42:02 +05:30
ashilkn 83e07b6c6a Moved memoryCount to state class to avoid not initialized error 2023-03-25 01:53:31 +05:30
ashilkn 8a4a4580c7 Code refactor 2023-03-24 19:56:17 +05:30
ashilkn 1e9d211a4b Refactor: Removed some type conversions 2023-03-24 11:21:09 +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