Commit graph

910 commits

Author SHA1 Message Date
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
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
ashilkn 828f2e5a83 Added animation when locationTag InfoItem rebuilds 2023-03-15 16:30:21 +05:30
ashilkn 23f878b962 Created InfoItem for locationTags in file details 2023-03-15 16:17:12 +05:30
ashilkn 47a3221484 Resolved merge conflicts 2023-03-15 14:44:07 +05:30
vishnukvmd 58670afc55 Make the title optional in InfoItemWidget 2023-03-15 12:55:42 +05:30
ashilkn 6b99c91d5b Changes to divider widget in file details 2023-03-15 12:08:55 +05:30
ashilkn 51396a08fd Avoid exception when asset fetch fails 2023-03-15 11:31:48 +05:30
ashilkn e499f2b9cb Show 'No results' if thumbanil is null instead of handling the error in object detection 2023-03-15 11:23:37 +05:30
ashilkn 3d25872e0e File details: Moved addedBy widget to a separate StatelessWidget 2023-03-14 21:43:20 +05:30
ashilkn b8e9ba2028 Improved EXIF info dialog 2023-03-14 18:34:11 +05:30
ashilkn 371d6dfc8d Renamed file 2023-03-14 18:23:54 +05:30
ashilkn 2fb19c03d1 Deleted unused file 2023-03-14 18:12:26 +05:30
ashilkn 2b0739e37c Used ValueNotifier to reduce unnecessary rebuilds 2023-03-14 17:38:10 +05:30
ashilkn 6826bd0e2c Removed dynamically inserting dividers in builder in list of file details 2023-03-14 17:11:38 +05:30
ashilkn c891832290 Used if instead of ternary operators to remove null from list of tiles 2023-03-14 16:18:50 +05:30
ashilkn 1ddefe916c Revert "Rebuild only tiles that depend on state of exif using ValueNotifier"
This reverts commit 26e83d93b1.
2023-03-14 15:45:16 +05:30
ashilkn 26e83d93b1 Rebuild only tiles that depend on state of exif using ValueNotifier 2023-03-14 13:35:25 +05:30
ashilkn 4a6df612af Renamed files and widgets 2023-03-13 20:39:51 +05:30
ashilkn 069e2e7705 File details: Moved albums tile to a separate widget 2023-03-13 20:37:00 +05:30
ashilkn 9ed49144fc File details: Moved backed up date tile to a separate widget 2023-03-13 20:26:30 +05:30
ashilkn c807bd872c File details: Moved objects tile to a separate widget 2023-03-13 20:19:52 +05:30
ashilkn 297d05042b File details: Moved both exif tiles to separate widgets 2023-03-13 20:12:22 +05:30
ashilkn c084675552 Refactored FilePropertiesItemWidget 2023-03-13 17:47:57 +05:30
ashilkn f40d7d31ce File Details: Moved file properties tile to a separate widget 2023-03-13 17:20:20 +05:30
ashilkn 927a313c3b File details: Moved creation time's tile to a separate widget 2023-03-13 16:37:12 +05:30
ashilkn 6bcb6f0e84 Made currentUserID in FileDetailsWidgets non nullable 2023-03-13 16:31:30 +05:30
ashilkn 991a8598a6 Fixed popping of height of widget after loading in file details + minor changes 2023-03-13 15:32:13 +05:30
ashilkn f14a713261 Fixed divider color in file details 2023-03-13 12:04:52 +05:30
ashilkn 5d2660980e minor layout and order changes in file details 2023-03-13 11:41:42 +05:30
ashilkn 04998626be Renamed FileInfoWidget to FileDetailsWidget 2023-03-13 11:17:15 +05:30
ashilkn 472377dbdf Used InfoItemWidget for EXIF tile in file info 2023-03-13 11:13:02 +05:30
ashilkn 3b304014c6 Used InfoItemWidget for the Object detection tile in file info 2023-03-10 20:29:00 +05:30
ashilkn cdd7efd096 Added keys to each InfoItemWidget in File Info 2023-03-10 20:01:05 +05:30
ashilkn 95d627abf1 Deleted unused file 2023-03-10 19:19:25 +05:30
ashilkn 387edf7a8f Rename 2023-03-10 18:39:38 +05:30
ashilkn 80c5899349 Stopped using addSeparator() + used InfoItemWidget for albums tile in file info 2023-03-10 18:35:02 +05:30
ashilkn ec01a424c6 Used InfoItemWidget for half of the ListTiles in file info 2023-03-10 14:20:40 +05:30
ashilkn b1916f6605 Moved all button components to a folder 'Buttons' 2023-03-10 13:38:51 +05:30
ashilkn 8d3dde6d13 Search for location name strings with query with both lowercase 2023-03-09 10:49:18 +05:30
ashilkn b8c5892388 Merge branch 'main' into location 2023-03-08 17:22:29 +05:30
ashilkn 74bc06b02d Beautify collection gallery 2023-03-07 19:24:26 +05:30
ashilkn 318fbe1ad2 Beautify albums section in archive page 2023-03-07 15:00:42 +05:30
Muhesh7 847eab2dca feat(location_tag): add location tags 2023-03-07 07:43:13 +05:30
Neeraj Gupta 44d16293ca
Fix restore icon 2023-03-06 12:06:11 +05:30
ashilkn 58fe9e1500 Merge branch 'main' into UI_fixes 2023-02-24 18:15:55 +05:30
ashilkn cda7883118 Removed possible render overflows on rows by using wrap instead 2023-02-24 16:52:14 +05:30
ashilkn afa0309f39 Resolved merge conflicts 2023-02-23 18:13:15 +05:30
Neeraj Gupta 3d1630e7a1
Merge branch 'main' into fix_archived_albums 2023-02-23 07:07:28 +05:30
Neeraj Gupta e0b1c2c463
Fix bug in state refresh 2023-02-23 06:52:08 +05:30
Neeraj Gupta 86e35e5cfc
Refactor:create widget for horizonal album listing 2023-02-23 06:45:29 +05:30
Neeraj Gupta fc419f757e
minor refactor 2023-02-22 16:59:02 +05:30
Neeraj Gupta f9f76a14c3
Fix: LeftAlign the albums list 2023-02-22 16:43:45 +05:30
Neeraj Gupta 28fdb425d0
Merge pull request #876 from ente-io/gallery_pick
feat(file_viewer): implement file view handler
2023-02-22 16:42:11 +05:30
Neeraj Gupta 0ee476aa74
Merge File Viewer: Swap Delete and Archive buttons #880 2023-02-22 16:35:59 +05:30
Muhesh7 16a82b62d1 feat(file_viewer): implement file view handler 2023-02-22 16:32:56 +05:30
Neeraj Gupta 919eae5477
FileViewer: Swap delete and archive/unarchive options 2023-02-22 16:24:31 +05:30
Neeraj Gupta add5442607
Merge pull request #879 from ente-io/delete_button
Memories FileViewer: Add Delete and Info button
2023-02-22 16:12:23 +05:30
Neeraj Gupta 39310c8314
Refactor: move showInfo action in file_actions 2023-02-22 15:20:33 +05:30
Neeraj Gupta bdcc0f38a1
Fixed typo 2023-02-22 13:08:31 +05:30
Neeraj Gupta 5997a31349
Refactor: Move delete single file logic inside file_actions 2023-02-22 13:01:39 +05:30
ashilkn 8c85130275 Stop rebuilding TrashPage on file selection + convert to Stateless Widget 2023-02-22 11:36:12 +05:30
ashilkn e9dab50fea Removed unused code and converted 'Collection Page' to a StatelessWidget 2023-02-22 11:16:13 +05:30
ashilkn 7062c2acbd Merge branch 'main' into empty_state 2023-02-20 14:18:03 +05:30
Neeraj Gupta 2af77e730d
Merge branch 'subscription_page_ui' into archived_albums 2023-02-18 16:56:37 +05:30
Neeraj Gupta caab7cc260
Revert "Enable object detection for everyone"
This reverts commit fbd9c1f5f4.
2023-02-18 16:53:02 +05:30
Neeraj Gupta 97a91733d6
Update copy 2023-02-18 16:51:27 +05:30
Neeraj Gupta 0adc0382db
log error 2023-02-18 16:50:41 +05:30
Neeraj Gupta 28410ce621
Show archived albums inside archive section 2023-02-18 14:58:11 +05:30
ashilkn 328a29da63 Renamed file 2023-02-14 16:02:56 +05:30
ashilkn 7daba6326b Minor refactoring 2023-02-14 15:43:34 +05:30
Neeraj Gupta 948e25a4ac
Merge pull request #861 from ente-io/objects 2023-02-12 20:13:35 +05:30
vishnukvmd fbd9c1f5f4 Enable object detection for everyone 2023-02-12 19:28:58 +05:30
ashilkn 7e120c04f6 Merge branch 'main' into return_exception_with_buttonAction 2023-02-10 12:58:13 +05:30
Vishnu Mohandas 3ea4574b8c
Merge pull request #852 from ente-io/objects 2023-02-09 19:00:15 +05:30
ashilkn 112b80db8a Resolved merge conflicts 2023-02-09 18:59:43 +05:30
ashilkn dd49b7913d Modified uses of ActionSheets to work with ButtonWidget 2023-02-09 18:48:01 +05:30
ashilkn fa9d251e32 Capitalize album name on editing 2023-02-09 10:42:40 +05:30
ashilkn ef79387b9d Always show success state on renaming album & file 2023-02-09 10:26:06 +05:30
ashilkn 7bbb53b16e Added comments + formatting 2023-02-09 07:19:43 +05:30
ashilkn 7bc4ded22a Handled error and improved logging on failed rename album 2023-02-09 06:43:54 +05:30
vishnukvmd fb0042ae03 Resolve object tags for local files as well 2023-02-08 22:51:57 +05:30
vishnukvmd 07fd3420bb Render parsed objects within file info to internal users 2023-02-08 19:10:35 +05:30
ashilkn 9691bf9b66 Capitalize file ext + sumbit on 'done' in keyboard 2023-02-08 17:22:42 +05:30
ashilkn 5208ff3e13 Moved execution of onSubmit from ButtonWidget associated with TextInputWidget to within TextInputWidget 2023-02-08 11:13:46 +05:30
ashilkn d5dc0a5858 Made hintText configurable in TextInputDialog 2023-02-07 11:16:49 +05:30
ashilkn da3088eab1 Used new TextInputDialog for renaming album 2023-02-07 10:58:57 +05:30
ashilkn c48108a2da Made a working TextInputDialog 2023-02-07 10:43:22 +05:30
ashilkn ba1d7bf2b0 Made a non functional version of TextInputWidget 2023-02-07 08:44:11 +05:30
ashilkn c2da85e7f0 Merge branch 'main' into picker 2023-02-03 15:40:37 +05:30
ashilkn 2193546f42 Created new picker for setting photo grid size 2023-02-03 13:55:01 +05:30
Neeraj Gupta 820461919c
Use black avatar color for collect photos 2023-02-03 06:05:40 +05:30
Neeraj Gupta eb4c449b58
Show critical warning while removing others file from album 2023-02-03 06:05:40 +05:30
ashilkn 644fc94bc4 Renamed PickerWidget to DeviceLimitPickerPage 2023-02-02 20:48:47 +05:30
ashilkn af63c9331c Keep custom device limit on screen on changing device limit until popped + refactor 2023-02-02 19:38:32 +05:30
ashilkn f2e2844bca Added description + minor layout change in device limit screen 2023-02-02 19:02:45 +05:30