Commit graph

804 commits

Author SHA1 Message Date
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
ashilkn 5112ef808a Improved a comment 2023-03-27 11:04:28 +05:30
ashilkn a7618a4a1a Merge branch 'main' into location_tags 2023-03-27 10:13:26 +05:30
ashilkn 8283612f0e Merge branch 'main' into add_location_screen 2023-03-27 10:10:38 +05:30
vishnukvmd 1fcb6c9e6d Change copy from 'Create link' to 'Share link' 2023-03-25 11:16:22 +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 7994ceb28c Fix typo 2023-03-25 01:04:06 +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
ashilkn d49c675aea Created a method to calculate height of gallery from files count 2023-03-23 17:40:00 +05:30
ashilkn 4f8997cb2b Modified code to get the memories count before building the Gallery to set height of gallery 2023-03-23 17:31:30 +05:30
ashilkn fbf3b35c57 Made everything except title in 'Add location' sheet scrollable 2023-03-23 16:12:46 +05:30
ashilkn 9ec9e98e28 Made it configurable to make Gallery scrollable or not 2023-03-22 18:31:33 +05:30
ashilkn f4136afd46 Remove loading widget for Gallery() in 'Add location' sheet 2023-03-22 14:23:37 +05:30
ashilkn c75c77fa02 Made a constant for default index from radiusValues 2023-03-22 13:24:58 +05:30
ashilkn 35a7016a1e Added debouncer so that gallery doesn't reload unnecessarily on sliding the slider 2023-03-22 13:19:37 +05:30
ashilkn fa69ce8961 Remove ignored files only once from fileLoadResults + await till it is removed 2023-03-22 13:17:04 +05:30
ashilkn 246031c7a9 Moved gallery to a separate widget and fetch files only once on initState 2023-03-22 09:45:59 +05:30
ashilkn dd4d8c5fe1 Set memoriesCountNotifier.value to null on changing radius to show loading state 2023-03-22 08:36:18 +05:30
ashilkn 66fbb72a60 Removed Widgets from header of Gallery() to avoid unnecessary rebuilds 2023-03-21 20:41:02 +05:30
ashilkn b9fdb6d1e3 Moved Radius Picker to a separate stateless widget 2023-03-21 20:30:45 +05:30
ashilkn 679b421007 Used Inherited widget to store location tag data in 'Add location' sheet 2023-03-21 20:13:17 +05:30
ashilkn 2a86587ad5 Moved radius values for location tag to constants file 2023-03-21 18:27:32 +05:30
ashilkn 1995b2c26a Show only files in 'Add location' gallery which are inside the location tag derived from location of selected file and variable radius 2023-03-21 18:21:10 +05:30
ashilkn b106a0ce4a Show memories count only after all files are loaded 2023-03-21 12:14:01 +05:30
ashilkn 4012cafd25 Minor fix 2023-03-21 09:52:30 +05:30
ashilkn c0ce8fc455 Show memories count in 'Add location' 2023-03-21 07:56:56 +05:30
ashilkn 47f6a5d68e Added code to make collate by day configurable in Gallery and used it in 'Add location' sheet 2023-03-21 07:20:55 +05:30
ashilkn 2d5c12f75e Plugged in a test gallery in the 'Add location' screen 2023-03-21 06:32:31 +05:30
ashilkn 34b2a0ccd1 Made selectedFiles nullable and added null aware operators in Gallery and LazyLoadingGallery 2023-03-20 20:45:10 +05:30
ashilkn 974cc78c50 Made the top half of the 'Add location' sheet 2023-03-20 17:23:06 +05:30
ashilkn 01a744ab6a Rename methods 2023-03-20 11:16:51 +05:30
ashilkn d412a8cd90 Wrote service method to return the location tags for a given coordinate and used it in file details 2023-03-17 19:21:53 +05:30
ashilkn d2b2a8f595 Modify code for hasGPSData + pass signedDecimalDegree coordinates to LocationTagsWidget 2023-03-17 17:30:39 +05:30
ashilkn 9963e9a194 Show location tag infoItem in file details only if file has GPS data 2023-03-17 16:23:22 +05:30