Commit graph

494 commits

Author SHA1 Message Date
Neeraj Gupta 2232ea6766
Refactor: Split memories widget into sepearate files 2023-05-03 16:46:38 +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
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
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
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
Neeraj Gupta 06c9ead3e2
feat(location_tag): add location tags (#908) 2023-04-11 10:10:50 +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
ashilkn ae0f960693 Use file.location to determine wheater to show location tile in fileDetails 2023-04-07 10:40:01 +05:30
ashilkn 92b85d7f98 Used better method name 2023-04-06 12:32:56 +05:30
Neeraj Gupta 15305d4bd8
Remove unused file 2023-04-03 16:36:53 +05:30
ashilkn a1f05e75fc Refactor: Used Location and LocationTag objects in codebase 2023-04-03 07:20:14 +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 7994ceb28c Fix typo 2023-03-25 01:04:06 +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 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 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 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 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
ashilkn 6b99c91d5b Changes to divider widget in file details 2023-03-15 12:08:55 +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 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
Muhesh7 847eab2dca feat(location_tag): add location tags 2023-03-07 07:43:13 +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 919eae5477
FileViewer: Swap delete and archive/unarchive options 2023-02-22 16:24:31 +05:30
Neeraj Gupta 39310c8314
Refactor: move showInfo action in file_actions 2023-02-22 15:20:33 +05:30
Neeraj Gupta 5997a31349
Refactor: Move delete single file logic inside file_actions 2023-02-22 13:01:39 +05:30
ashilkn 7062c2acbd Merge branch 'main' into empty_state 2023-02-20 14:18:03 +05:30
Neeraj Gupta caab7cc260
Revert "Enable object detection for everyone"
This reverts commit fbd9c1f5f4.
2023-02-18 16:53:02 +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
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
Neeraj Gupta 820461919c
Use black avatar color for collect photos 2023-02-03 06:05:40 +05:30
ashilkn f122075073 Minor changes 2023-01-27 10:31:30 +05:30
ashilkn 038557eda9 Removed unessential Navigator.pop()s 2023-01-25 16:53:20 +05:30
ashilkn 2bcfc37de3 Merge branch 'main' into redesign-add-to-album 2023-01-25 10:40:52 +05:30
ashilkn ae0e0a8d44 Removed library prefix 2023-01-25 10:27:40 +05:30
ashilkn 2acb810a5a Added option to configure if NoThumbnailWidget should have a border or not 2023-01-24 12:50:43 +05:30
ashilkn 5b37498621 Replaced the CreateCollectionPage with the new CreateCollectionSheet on restore 2023-01-23 18:39:02 +05:30
ashilkn 6d7b0bc694 Replaced the CreateCollectionPage with the new CreateCollectionSheet on move, add & unhide 2023-01-23 18:26:07 +05:30
Neeraj Gupta 98a22c34a5
Merge branch 'main' into uncategorized 2023-01-18 12:46:16 +05:30
vishnukvmd 661b1ceb0e Fix condition to skip image load 2023-01-18 12:05:57 +05:30
vishnukvmd 169831dec7 Prevent multiple load image calls 2023-01-17 21:09:48 +05:30
vishnukvmd bb89a1ddf3 Remove listener after fetching image info 2023-01-17 21:09:15 +05:30
vishnukvmd 44ee689ea1 Remove type that was introduced by auto-refactor 2023-01-17 20:20:55 +05:30
vishnukvmd 06c28c615f Set the zoom-scale correctly once full-res image has loaded 2023-01-17 20:17:00 +05:30
vishnukvmd 326eb107a6 Update the size of bottom-overlay-icons 2023-01-17 14:23:43 +05:30
Neeraj Gupta 1b53a53b58
Use moveFromCurrentCollection during unfav action 2023-01-12 23:52:14 +05:30
Neeraj Gupta 34c4fc0215
remove toast 2023-01-12 16:39:33 +05:30
Neeraj Gupta 761041c336
Show correct count for uncategorized collection 2023-01-12 10:38:47 +05:30
vishnukvmd 5c54c643ab Fix warnings 2023-01-12 10:10:08 +05:30
vishnukvmd 21c7f36f88 Mark _file as a late initialized variable to fix compilation errors 2023-01-12 10:09:59 +05:30
Neeraj Gupta a3173b71af
Merge branch 'main' into uncategorized 2023-01-12 09:18:55 +05:30
Neeraj Gupta aec3e379a8
Merge branch 'main' into fix_null_safety_suggestion 2023-01-11 15:13:25 +05:30
Neeraj Gupta 6ce1eb94cb
Fix bad null safety suggetion 2023-01-11 14:09:23 +05:30
Neeraj Gupta 9e1184069e
Refactor: rename 2023-01-11 10:09:33 +05:30
Neeraj Gupta f8d3b9a919
Merge pull request #787 from ente-io/lint_cleanup
Chore: Lint fixes and formatting changes
2023-01-09 10:51:13 +05:30
Neeraj Gupta 77dfaf0b8a
Remove title from delete aciton sheets 2023-01-08 14:07:53 +05:30
Neeraj Gupta 774136137a
Lint: dart fmt, remove empty lines on top 2023-01-07 18:15:15 +05:30
Neeraj Gupta f51d6ebd59
Add icons for uploaded and on device files in debugMode 2023-01-06 21:23:48 +05:30
Neeraj Gupta 579d1248cf
Fix: autoclose photo view if photo is delete from everywhere 2023-01-06 14:09:20 +05:30
Neeraj Gupta 0d1d3bc803
Fix: Add cancel option for file delete prompts 2023-01-06 12:35:33 +05:30
Neeraj Gupta a39a422b22
Switch to new action sheet while deleting single file 2023-01-06 12:21:47 +05:30
Neeraj Gupta 99c724aa54
Fix lint issue 2023-01-05 14:12:55 +05:30
Neeraj Gupta 0bc94e1eea
Handle error during edit file 2023-01-05 12:59:47 +05:30
ashilkn 8fd62127f8 Disabled asset change notifying only after getFile() is done on downloading a file 2023-01-05 09:48:17 +05:30
ashilkn 39bfd985bb Minor changes 2023-01-05 09:44:11 +05:30
ashilkn caeb3ef84e Resolved merge conflicts 2023-01-05 09:13:43 +05:30
ashilkn 0b378c824e Trigger local sync after downloading a file 2023-01-05 09:09:15 +05:30
ashilkn dfea70c019 Stop notifying local asset changes when downloading a file to avoid race condition 2023-01-04 21:27:31 +05:30
ashilkn 8e24ce6e2f Removed tracking of downloaded files 2023-01-03 17:34:54 +05:30
ashilkn 3333dc7ab6 Removed adding of downloaded file to ignoredFiles 2023-01-03 16:58:54 +05:30
Neeraj Gupta eba935373a
Fix bug in nullSafety suggestion 2022-12-31 21:58:15 +05:30
Neeraj Gupta f3d8a13337
Apply lint suggestions 2022-12-30 21:12:03 +05:30
Neeraj Gupta d6ad004354
NullSafety: Apply dart migrate suggestions + compilation fixes 2022-12-30 17:40:17 +05:30
Neeraj Gupta 187796f1f2
Merge branch 'migrate_services' into migrate_services_2 2022-12-30 15:59:59 +05:30
Neeraj Gupta 3549ef2695
Merge branch 'main' into db_and_services 2022-12-30 15:58:25 +05:30
Neeraj Gupta 0a84f06b5a
NullSafety: More migration and fixes 2022-12-30 15:14:52 +05:30
Neeraj Gupta 5cbb74568e
Apply link suggestions 2022-12-30 08:59:48 +05:30
ashilkn 0301f2a797 Moved all dialog util functions to dialog_util.dart 2022-12-30 08:03:03 +05:30
ashilkn b23f8f06fe Replaced errorDialogs with new errorDialogs 2022-12-29 09:59:01 +05:30
ashilkn fe7a1ce556 Merge branch 'main' into replace-dialogs 2022-12-26 16:40:25 +05:30
ashilkn e0fe29bf98 Replaced generic error dialog with new one + some minor changes 2022-12-26 16:39:29 +05:30
Neeraj Gupta 173a3bcd07
Replace happy case toasts with shortToast 2022-12-26 10:44:36 +05:30
Manav 951bf5e64d Make the lower layer private 2022-12-20 12:55:50 +05:30
Manav 86c2fa3349 Add live photo icon 2022-12-20 12:52:09 +05:30
Manav 0862e73b01 Allow configurable base size 2022-12-20 12:46:26 +05:30
Manav 010dcdf31d Attempt 1 - try to deduce width 2022-12-20 12:32:08 +05:30
Manav 549c67ed5b Update unsynced icon 2022-12-20 12:04:02 +05:30
Manav 93fc83f840 Use same abstraction for archived 2022-12-20 11:59:28 +05:30
Manav c72c069f8f Extract abstraction 2022-12-20 11:56:52 +05:30
Manav 43d9e0d4db Tweak 2 2022-12-20 11:47:48 +05:30
Manav 588f88ac3f Tweak favorite 2022-12-20 11:39:33 +05:30
Manav 9c7abbdc70 [gradient] Attempt 1 - Favorites 2022-12-20 11:38:17 +05:30
Neeraj Gupta 45f0d120e2
Use ascii sum for computing hash for avatar color 2022-12-19 09:58:23 +05:30
Neeraj Gupta aa1cf5b167
Show fileCaption for incoming files 2022-12-17 17:22:44 +05:30
Neeraj Gupta 87d76acc1f
Fix: open collection with correct appBarType 2022-12-17 14:58:16 +05:30
Neeraj Gupta cd35daa727
minor refactor 2022-12-17 13:17:39 +05:30
Neeraj Gupta 7fabc6bd0f
Color changes 2022-12-17 10:48:33 +05:30
Neeraj Gupta 7840411fcf
Add addedBy information 2022-12-17 09:07:58 +05:30
Neeraj Gupta fe2228031f
Tweak avatar for thumbnail view 2022-12-16 18:39:14 +05:30
Neeraj Gupta 0e4e9bfc4c
Use different avatar color based on uploader name 2022-12-16 15:48:48 +05:30
vishnukvmd e0f6db707c Show uploader avatar for collected files 2022-12-16 12:10:55 +05:30
Neeraj Gupta e953968a82
Fix: show correct file owner 2022-12-16 10:18:15 +05:30
vishnukvmd 4d52b1ecaa Fix warning 2022-12-16 09:50:08 +05:30
Neeraj Gupta 29d39488eb
UI Fixes 2022-12-15 22:23:06 +05:30
Neeraj Gupta 6b7806c0d3
remove debugprint 2022-12-12 12:45:35 +05:30
Neeraj Gupta b71c214c58
Merge branch 'master' into collaboration_view 2022-12-08 14:06:00 +05:30
vishnukvmd 7133930af4 Merge branch 'master' into grid 2022-12-06 23:29:03 +05:30
vishnukvmd 78fa988b9e Load large thumbnails in case there are lesser grids 2022-12-06 23:27:54 +05:30
vishnukvmd 14afc4259c Revert changes added for the pinch-to-zoom gesture 2022-12-06 23:22:01 +05:30
vishnukvmd 07b250752a Merge branch 'master' into grid 2022-11-28 15:41:31 +05:30
vishnukvmd 4d09bff81e WiP 2022-11-28 13:30:37 +05:30
Neeraj Gupta 606bd81555
minor fix 2022-11-27 10:02:00 +05:30
Neeraj Gupta e421841f55
Handle done and cancel button 2022-11-27 09:55:10 +05:30
Neeraj Gupta 4e61d4dab4 PhotoView:Limit maxlines for photo description 2022-11-26 16:10:41 +05:30
Neeraj Gupta ad3a199023 Caption: increase counter threshold 2022-11-26 16:10:41 +05:30
Neeraj Gupta 129a8ae539 Show max 10 files in caption edit field 2022-11-26 16:10:41 +05:30
Neeraj Gupta 5d81ee45b0 increase caption length from 280 -> 5000 2022-11-26 16:10:41 +05:30
Neeraj Gupta eed7fa9349
PhotoView:Limit maxlines for photo description 2022-11-26 14:39:24 +05:30
Neeraj Gupta 1a8a48567b
Caption: increase counter threshold 2022-11-26 14:32:27 +05:30
Neeraj Gupta 02f976167d
Show max 10 files in caption edit field 2022-11-26 13:29:56 +05:30