Commit graph

1043 commits

Author SHA1 Message Date
Neeraj Gupta ff93db2729
l10n: Extract strings 2023-05-05 14:13:47 +05:30
ashilkn ab85c96b4b Resolved merge conflicts 2023-05-05 11:47:36 +05:30
ashilkn 44c1d5d734 Fix error in calculating height for gallery in location screen 2023-05-05 11:36:20 +05:30
Ashil 85e361d667
Flicker bug fix (#1067) 2023-05-04 19:59:55 +05:30
ashilkn 0da1e6dfec Bug fix: Photos flickering on opening and closing keyboard in 'edit location' screen 2023-05-04 19:18:37 +05:30
Neeraj Gupta 29232545ce
Fix l10n for dates on fileInfo screen 2023-05-04 16:17:11 +05:30
Neeraj Gupta ede2fcafa8
Fix l10n for days widget 2023-05-04 16:00:49 +05:30
Neeraj Gupta f48cf52de8
Extract strings for days 2023-05-04 15:49:47 +05:30
ashilkn c60950607a Fix change of position of photo on viewing the file and opening keyboard 2023-05-04 15:46:08 +05:30
Neeraj Gupta a3e76f9bcb
Create component for day widget 2023-05-04 15:38:13 +05:30
Neeraj Gupta 9a1b2593a0
Merge branch 'main' into l10n_extract 2023-05-04 15:06:59 +05:30
Neeraj Gupta 7a21d0a8fd
Perf: Avoid redundant copy and clear 2023-05-04 15:03:49 +05:30
Neeraj Gupta 27c86d6e15
Merge branch 'main' into memories_widget 2023-05-04 13:15:08 +05:30
ashilkn 4bb9ded136 Minor layout change for better looking UI 2023-05-04 12:10:46 +05:30
ashilkn 5b3d311168 Merge branch 'perf_improvements' into refactor_gallery 2023-05-04 11:12:11 +05:30
Neeraj Gupta 2232ea6766
Refactor: Split memories widget into sepearate files 2023-05-03 16:46:38 +05:30
ashilkn 02ab63f843 Refactored LazyLoadingGallery 2023-05-03 15:22:06 +05:30
Neeraj Gupta 1af15c6ff1
Show icon for motion photo 2023-05-03 13:03:45 +05:30
Neeraj Gupta 7a19ce9c1b
Add support for updating mvi values for existing files 2023-05-03 13:01:06 +05:30
Neeraj Gupta 1a25717cb9
Fix typo 2023-05-03 12:48:40 +05:30
ashilkn e6ef538119 Refactor getListView() to a stateless widget 2023-05-03 10:24:57 +05:30
Neeraj Gupta 0aa0f89318
Enable setting for changing language (#1052) 2023-05-02 16:45:31 +05:30
Neeraj Gupta 6ed276299a
l10n: Extract strings 2023-05-02 13:13:05 +05:30
Neeraj Gupta f15a36bf29
Remove unusde code 2023-05-01 16:31:21 +05:30
Neeraj Gupta 0d56c636a2
Support for playing motion photos 2023-05-01 16:17:31 +05:30
Neeraj Gupta 69ce3dca24
Merge branch 'main' into aspectRatio 2023-04-29 16:59:45 +05:30
ashilkn 27abbbcae2 Add unit of raidus in dialog used to enter custom radius 2023-04-28 15:20:52 +05:30
ashilkn c7fbb550fc Merge branch 'main' into custom_radius 2023-04-27 13:02:41 +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 6404f86059 Handle errors on creating a custom radius 2023-04-27 09:35:40 +05:30
ashilkn 53c3713e28 Fixed state refresh issue for custom radius + refactor 2023-04-26 19:11:44 +05:30
ashilkn 2b0d851c81 Custom radius for location tags but with state refresh issues 2023-04-26 18:31:33 +05:30
ashilkn 767c76e2f1 Layout changes to make UI better 2023-04-26 11:10:58 +05:30
ashilkn 6f70af3608 Added border to container displaying radius to make it look tappable 2023-04-26 10:47:37 +05:30
ashilkn 9277a83783 Dialog for custom radius with input restrictions 2023-04-25 19:15:10 +05:30
ashilkn 600e107704 Round radius shown in radius picker widget 2023-04-25 16:07:08 +05:30
Neeraj Gupta 35fb0d1cf9
Remove unused code 2023-04-25 12:47:55 +05:30
ashilkn 7f1bb022b2 Changed raidus from int to double in location tags 2023-04-25 12:15:13 +05:30
ashilkn 2c5d2c0d80 Fixed UI on archive screen 2023-04-20 15:50:49 +05:30
ashilkn a133eb6048 Show edit location sheet on clicking on title header in location screen 2023-04-20 11:24:41 +05:30
ashilkn a81d78b71f Bug fix: center point coordinates not changing on 'edit location' sheet on coming back to it from editing center point in 'edit center point' sheet 2023-04-20 11:01:42 +05:30
ashilkn 33c2992ec3 Use IconButtonWidget instead of IconButton in RadiusPickerWidget 2023-04-20 10:08:54 +05:30
Neeraj Gupta 0ddfa1a865
Lint: Fix trailing comma warnings 2023-04-18 14:35:21 +05:30
Neeraj Gupta 803d9a50a0
Fix typo 2023-04-18 14:06:41 +05:30
Neeraj Gupta ef5d1ec257
Skip location update if file is not uploaded or owned by user 2023-04-18 13:55:32 +05:30
Neeraj Gupta ef6c84ad97
Remove feature flag 2023-04-18 13:52:11 +05:30
Neeraj Gupta 1965588081
Minor bug fix 2023-04-18 13:37:34 +05:30
Neeraj Gupta b9b6830a07
Fix: Updation of location via fileInfo 2023-04-18 13:16:55 +05:30
Neeraj Gupta 360c7cd29e
Minor refactor 2023-04-18 13:01:15 +05:30
ashilkn fdb8ffa66b Removed unneccesary setState 2023-04-18 11:59:58 +05:30
ashilkn 85e011c762 Refactoring 2023-04-18 11:57:55 +05:30
ashilkn 4dbcf4bc30 Contain rebuild to only location tag tile in file details 2023-04-18 10:12:15 +05:30
ashilkn 380a9c31c0 Update pubMmd when location is updated on opening file info 2023-04-17 19:07:17 +05:30
ashilkn 6c054b0f79 Refactored by not calling getExif() twice and only once 2023-04-17 13:13:03 +05:30
ashilkn 44fcb469a5 Fixed a null pointer error 2023-04-17 12:53:51 +05:30
ashilkn 1fc6a675ea Update location data of file on opening file details for files which have missing location data 2023-04-17 11:47:59 +05:30
ashilkn e0ccb2bfb4 get location data for file from exif if everything else fails 2023-04-14 11:11:27 +05:30
ashilkn 4163655e0f Rename method 2023-04-13 16:19:59 +05:30
ashilkn b3dea3b679 Minor refactor 2023-04-13 16:00:48 +05:30
ashilkn 0c66e86637 Merge branch 'main' into location-tag-fixes 2023-04-13 15:50:52 +05:30
ashilkn 71fe3793dc Only show all uploaded and shared files with locaiton in 'Pick center point' sheet's gallery 2023-04-13 15:47:55 +05:30
ashilkn c03388130b Changed trigger of opening 'Add location' screen from using InlineButtonWidget to tapping the InfoItemWidget in file details 2023-04-13 15:31:18 +05:30
ashilkn 2b667ec986 Increased hit area of RadiusPickerWidget 2023-04-13 14:53:53 +05:30
Neeraj Gupta 2cb1fc66c1
Fix: Open location screen on locationSearch result 2023-04-13 13:16:04 +05:30
Neeraj Gupta bc6cdad1d4
location fixes (#981) 2023-04-13 09:47:32 +05:30
Neeraj Gupta 6b8af5e30a
Use TextCapitalization.words for location tags 2023-04-13 09:16:51 +05:30
ashilkn 137daf2509 Extacted strings from 'Location' screen 2023-04-12 14:49:50 +05:30
Neeraj Gupta 85889d086d
Merge branch 'main' into aspectRatio 2023-04-12 13:44:17 +05:30
Neeraj Gupta 7556ee5bd3
Update remote aspect ratio on imageLoad if needed 2023-04-12 13:43:21 +05:30
ashilkn 59d70f1dbb Extracted strings in 'Pick center point' sheet 2023-04-12 12:46:26 +05:30
ashilkn 614d78f407 Extract strings associated with 'Edit location' screen 2023-04-12 12:38:52 +05:30
ashilkn 5c3218593d Extract strings associated with 'Add location' sheet 2023-04-12 11:26:57 +05:30
Neeraj Gupta 06c9ead3e2
feat(location_tag): add location tags (#908) 2023-04-11 10:10:50 +05:30
ashilkn d3a858f653 Fixed a state refresh issue on Location tile in file details 2023-04-10 12:04:20 +05:30
ashilkn 0d75748f5f Reload location gallery on deleting files 2023-04-10 10:41:10 +05:30
ashilkn dcd7399873 Added FileSelectionOverlayBar for location screen with GalleryType.locationTag which is the same as GalleryType.searchResults 2023-04-10 10:21:58 +05:30
ashilkn 68e5c8defd Fixed order of files in location screens 2023-04-10 10:08:12 +05:30
ashilkn 0fb119f6d7 Show shared photos too in location tag 2023-04-10 10:00:30 +05:30
ashilkn 335496b66f Fixed bug on 'Cancel' button in 'Pick center point' sheet 2023-04-07 15:41:50 +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 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
Neeraj Gupta 79641c4850
l10n: extract strings 2023-04-07 11:27:56 +05:30
Neeraj Gupta 72a25ffbb2
l10n: extract strings 2023-04-07 11:11:42 +05:30
Neeraj Gupta f19443607a
l10n: extract strings 2023-04-07 10:57:06 +05:30
ashilkn ae0f960693 Use file.location to determine wheater to show location tile in fileDetails 2023-04-07 10:40:01 +05:30
Neeraj Gupta 372469f9ce
l10n: extract strings 2023-04-07 10:36:43 +05:30
ashilkn 8d4bbddc98 Remove unnecessary asserts 2023-04-07 10:15:48 +05:30
Neeraj Gupta d5c4cd7268
l10n: extract strings 2023-04-07 09:29:23 +05:30
Neeraj Gupta 2c09e17d40
l10n: FileSelectionActionWidget strings 2023-04-07 09:07:57 +05:30
Neeraj Gupta 7ab6cac9e5
l10n: DeleteEmptyAlbums strings 2023-04-07 08:51:49 +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 92b85d7f98 Used better method name 2023-04-06 12:32:56 +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 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
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