Commit graph

6187 commits

Author SHA1 Message Date
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 fa0fe9b681 Use equatable in LocalEntity<T> 2023-04-05 08:54:00 +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
Neeraj Gupta 554a94d681
Add support for syncing and storing entities 2023-04-04 12:50:23 +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 d7edf2c551 Add locationTag to InheritedLocationTagData's state 2023-04-04 11:25:21 +05:30
ashilkn bca4ea4974 Methods to convert Location object to coordinates in DMS format 2023-04-04 11:24:30 +05:30
Neeraj Gupta add5e44ab2
Add entity gw and model classes 2023-04-03 21:36:31 +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 46ea1a83fb
Remove unused method 2023-04-03 17:17:44 +05:30
Neeraj Gupta 351087cb36
Fix location search 2023-04-03 17:02:24 +05:30
Neeraj Gupta ebf5d710b3
Refactor: only expose deserizlized location tags 2023-04-03 16:46:56 +05:30
Neeraj Gupta 9bf1c3ce53
Remove unused methods 2023-04-03 16:39:57 +05:30
Neeraj Gupta 15305d4bd8
Remove unused file 2023-04-03 16:36:53 +05:30
Neeraj Gupta f663c2276c
Merge branch 'location_tag_screen_4' of github.com:ente-io/photos-app into location_tag_screen_4 2023-04-03 15:45:20 +05:30
Neeraj Gupta 87a5714a5a
minor refactor 2023-04-03 15:44:55 +05:30
ashilkn 9dc67d5950 Rename add_location_gallery_widget.dart to dynamic_location_gallery_widget.dart 2023-04-03 15:39:04 +05:30
Neeraj Gupta 1a17399783
Minor refactor 2023-04-03 15:38:53 +05:30
Neeraj Gupta d0b06bbc6d
Fix db query 2023-04-03 15:35:28 +05:30
ashilkn ef109469b0 Get the center point from InheritedLocationScreenState for location screen 2023-04-03 09:29:19 +05:30
ashilkn 9999a7aa43 Removed Todo comment after checking 2023-04-03 07:30:07 +05:30
ashilkn a1f05e75fc Refactor: Used Location and LocationTag objects in codebase 2023-04-03 07:20:14 +05:30
ashilkn bb0ce08223 Use LocationTag data type and methods from freezed to convert LocationTag fromJson and toJson 2023-04-03 06:41:41 +05:30
ashilkn da7ad18b16 Added aSquare and bSquare properties to LocationTag 2023-04-03 06:38:51 +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 3f99c4c2a4 Made an InheritedWidget to store the state of LocationTag for 'Location screen' 2023-03-31 14:52:46 +05:30
ashilkn ac27caca8a Made a model for LocationTag 2023-03-31 14:51:44 +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