Commit graph

1400 commits

Author SHA1 Message Date
Neeraj Gupta c5f3192972 Remove callback 2023-09-01 09:28:42 +05:30
Neeraj Gupta c0d9d66410 Fix progress callback 2023-09-01 08:42:35 +05:30
Neeraj Gupta df79553bba Fix: dispose progress notifier 2023-08-31 18:06:51 +05:30
ashilkn 14434a25c3 Media_kit: Show loading states when downloading and decrypting video 2023-08-31 15:04:39 +05:30
ashilkn b1529ad5d6 Media_kit: Play vidoes shared from outside the app 2023-08-31 07:07:11 +05:30
ashilkn cd01c219c4 Media_kit: Play videos present in device 2023-08-31 06:51:19 +05:30
ashilkn 08d8e8fb44 Media_kit: Play remote videos 2023-08-31 06:29:46 +05:30
Neeraj Gupta 4e477b8b77 Use l10n string 2023-08-30 18:36:34 +05:30
Neeraj Gupta 7b097bfc42 Optimize check for showCollage 2023-08-30 18:31:18 +05:30
Neeraj Gupta bb820c9357 GalleryOverflow: keep leave album at bottom 2023-08-30 17:08:03 +05:30
Neeraj Gupta 6a0ad1a80a Fix bug in checking for uploaded item 2023-08-30 16:38:22 +05:30
Neeraj Gupta 7d8fcafee4 Merge branch 'main' into add_id_debug 2023-08-30 16:19:34 +05:30
ashilkn de062e8dbc Remove keyboardType for search's textField to enable swipe-type 2023-08-30 13:30:44 +05:30
Neeraj Gupta d1f3e2d313 Fix: Avoid redundant fetch for imageInfo 2023-08-30 11:35:11 +05:30
Neeraj Gupta 6ee182ecec Perf: Avoid redundant computation of imageInfo 2023-08-30 10:32:55 +05:30
Neeraj Gupta 5c9c3531ab Fix: Increase page scroll speed
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-30 09:49:53 +05:30
Neeraj Gupta d271cf05de Fix: Show dimensions from file metadata 2023-08-30 08:53:01 +05:30
Neeraj Gupta 47749f9479 Fix state refresh issue during delete 2023-08-30 04:42:48 +05:30
Neeraj Gupta cb1ebac232 Add genID in debug mode 2023-08-29 19:35:41 +05:30
ashilkn 1578e95bc6 Create widget to test if media_kit is working 2023-08-29 18:47:47 +05:30
Neeraj Gupta dd627408fc Merge branch 'main' into handle_limited_settings 2023-08-29 15:01:57 +05:30
Neeraj Gupta 81e70a5aa7 Hide archive for unuploaded files 2023-08-29 15:01:54 +05:30
ashilkn df761ef736 Pop screen on RangeError in detail_page.dart 2023-08-29 13:24:22 +05:30
Neeraj Gupta 3eeba57e19
Added more file props + live/motion photo indicator (#1348) 2023-08-29 11:52:05 +05:30
ashilkn f1fbb0aac0 Resolve merge conflicts and merge main 2023-08-28 21:28:34 +05:30
ashilkn b8bc279892 Add support for removing an item from a hidden album 2023-08-28 18:27:38 +05:30
ashilkn 1a6d1117b3 Add support for 'Add to hidden album' 2023-08-28 17:22:54 +05:30
Neeraj Gupta b7ac5ab01f Organize imports
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-28 11:28:02 +05:30
Neeraj Gupta 15bac11467 Show toast when ignore reason is not trash 2023-08-28 11:20:30 +05:30
Neeraj Gupta 1173d8c160 Fix lint suggestion
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-28 11:17:17 +05:30
ashilkn a1d7bae702 Show option to move files to hidden album in hidden section on selection and show collectionActionSheet 2023-08-26 11:59:14 +05:30
ashilkn 7d99e12978 Organize imports 2023-08-26 11:14:05 +05:30
Neeraj Gupta 56113ef02b Show icon for live photo in photo viewer 2023-08-25 13:27:46 +05:30
Neeraj Gupta 83a6dbb51e Merge branch 'main' into improve_file_props 2023-08-25 13:09:07 +05:30
Neeraj Gupta 7ae8f5f69d Switch to enteFile prop 2023-08-25 13:05:24 +05:30
Neeraj Gupta 087903d6e6 Make enteFile param non-nullable in thumWidget 2023-08-25 12:44:51 +05:30
Neeraj Gupta 87496fa42c Use file prop to checking metadata edit permission 2023-08-25 12:35:59 +05:30
Neeraj Gupta 6e990f058f refactor 2023-08-25 11:48:06 +05:30
Neeraj Gupta cecbec7636 Organize import 2023-08-25 11:10:22 +05:30
Neeraj Gupta 6ad4a71f23 refactor 2023-08-25 10:57:39 +05:30
Neeraj Gupta f81c92bfee Fix type mistmatch issues 2023-08-25 10:46:16 +05:30
Neeraj Gupta 6b5eea4d9e Fix bug in displaying hint for motion photo play 2023-08-25 10:14:56 +05:30
Neeraj Gupta 3a98af3518 Move packages 2023-08-25 10:09:30 +05:30
Neeraj Gupta d6b08c8e66 Rename: File -> EnteFile 2023-08-24 22:26:24 +05:30
Neeraj Gupta 6aeecbbd0a Rename: FadingApp/FadingBottomBar -> FileApp/FileBottomBar 2023-08-24 21:57:35 +05:30
ashilkn a396f644d2 Check for multiple defaultHiddenCollections and club all to one and delete the rest 2023-08-24 16:33:49 +05:30
Neeraj Gupta fec92b8514
Minor changes (#1341) 2023-08-23 17:29:10 +05:30
ashilkn 0535292088 Add comment 2023-08-23 17:14:52 +05:30
Neeraj Gupta b7e2ddc2d5
Selection sheet tweaks (#1340) 2023-08-23 17:11:33 +05:30
ashilkn 8b40218fed Increase gallery footer's height to to accomodate the new selection bottom sheet 2023-08-23 16:35:43 +05:30
Neeraj Gupta 58b17ac20e Surface reason for ignore on long press 2023-08-23 15:04:49 +05:30
Neeraj Gupta 00f49dd36e Keep a map of ignoreID to reason 2023-08-23 14:26:06 +05:30
Neeraj Gupta 37e5519c95 Perf: Improve hasIgnoredFiles check for deviceFolder 2023-08-23 14:02:00 +05:30
ashilkn 7399004342 Remove suffix from selection action button's text and refactor to show only clickable actions 2023-08-23 10:08:15 +05:30
ashilkn 923bc1d9c4 Remove predefined size for widget enclosing selection actions and animate change in height 2023-08-22 17:30:52 +05:30
ashilkn 4c9e1150e9 Reorder selection options 2023-08-22 16:06:09 +05:30
ashilkn 5732cf35d8 Merge branch 'main' into selection_sheet_tweaks 2023-08-22 12:37:10 +05:30
Neeraj Gupta 95af6474dc
Fix: Do not initiate video_player if widget is not mounted (#1333) 2023-08-21 22:49:14 +05:30
Neeraj Gupta 6c2cd31e8b Fix: Do not initiate video_player if widget is not mounted 2023-08-21 22:47:01 +05:30
Neeraj Gupta 0ad3d57473 Remove commented out code 2023-08-21 22:39:31 +05:30
Neeraj Gupta 10216af80a format 2023-08-21 16:07:09 +05:30
Neeraj Gupta a3b93adbc4 Fix: Handle missing photo permission error 2023-08-21 16:02:33 +05:30
Neeraj Gupta 9d6e3cfa3d Merge branch 'main' into wechat_picker 2023-08-21 12:54:04 +05:30
Neeraj Gupta 3edee600e6 Switch to wechat asset picker 2023-08-21 12:20:41 +05:30
ashilkn 418c8ee374 Resolve conflicts and merge main 2023-08-21 12:01:58 +05:30
Neeraj Gupta 79ed7150a1 Fix state refresh issue 2023-08-21 11:20:07 +05:30
ashilkn c923e63027 Move collage selection option to end of list 2023-08-21 10:21:49 +05:30
ashilkn 2abaf4d7a9 Give bottom selection sheet a fixed height depending on textScaleFactor 2023-08-20 13:53:24 +05:30
ashilkn 445675981b Refactor 2023-08-19 18:18:45 +05:30
ashilkn d3488e1ac8 Refresh state of GalleryAppBar when hiding/unhiding & archiving/unarchiving 2023-08-19 18:12:00 +05:30
ashilkn 585a3095c4 Fix hidden state of hidden section 2023-08-19 18:05:46 +05:30
ashilkn ade28e95c3 Fix bug on renaming hidden album 2023-08-19 17:43:36 +05:30
ashilkn 846352756a Fix bug on sharing hidden album 2023-08-19 17:39:35 +05:30
ashilkn 967441f83d Remove unused imports 2023-08-19 17:39:09 +05:30
ashilkn 1e5ec8600d run dart fix --apply 2023-08-19 17:09:56 +05:30
Neeraj Gupta 574218c966 Merge branch 'main' into hidden_albums 2023-08-19 12:36:22 +05:30
Neeraj Gupta 5fecce1562 Refactor gallery app bar widget 2023-08-19 12:28:43 +05:30
Neeraj Gupta 1ebad74302 Add galleryType hiddenOwnedCollection 2023-08-19 11:36:46 +05:30
Neeraj Gupta edc4653056 Refactor 2023-08-19 11:28:10 +05:30
Neeraj Gupta 2b52aa74c1 Refactor colleciton_page & galleryType detection 2023-08-19 11:24:13 +05:30
ashilkn 2ccc913662 Revert "Show only relevat actions for hidden collection and it's files"
This reverts commit 3d4bb87891.
2023-08-19 11:14:29 +05:30
ashilkn c169cf7ea8 Revert "Remove redundant checks for collection type to find galleryType"
This reverts commit b05c693651.
2023-08-19 11:13:05 +05:30
ashilkn 7b572a28d2 Revert "A minor fix and some additions for ref"
This reverts commit b558e1defb.
2023-08-19 11:12:40 +05:30
ashilkn b558e1defb A minor fix and some additions for ref 2023-08-19 11:04:23 +05:30
ashilkn b05c693651 Remove redundant checks for collection type to find galleryType 2023-08-18 19:30:11 +05:30
ashilkn f62b55bd78 Remove redundant checks 2023-08-18 11:52:08 +05:30
Neeraj Gupta 88ecc967d7
Flutter upgrade: v3.10.6 (#1208) 2023-08-17 11:40:05 +05:30
Neeraj Gupta 206ff7f27f Clear file selection post link creation action 2023-08-16 17:55:14 +05:30
Neeraj Gupta 80205eed9b Merge branch 'upgrade_fixes_plus' into flutter_upgrade 2023-08-16 11:20:01 +05:30
Neeraj Gupta 4b5e8f5f43 Switch datetime pkg 2023-08-16 11:01:01 +05:30
Neeraj Gupta e26e49754b Upgrade package info & wakelock 2023-08-16 10:47:50 +05:30
ashilkn 3d4bb87891 Show only relevat actions for hidden collection and it's files 2023-08-15 15:46:59 +05:30
ashilkn 4af99ea2f0 Merge main 2023-08-15 14:30:06 +05:30
Neeraj Gupta 5664a69453 Merge branch 'main' into flutter_upgrade 2023-08-15 13:07:47 +05:30
ashilkn 980d60fc29 Fix stale state issue on the hidden collections list after unhiding a collection 2023-08-15 12:57:13 +05:30
ashilkn 7e871cdc8f Bug fix: defaultHiddenCollection surfacing on hidden collections list 2023-08-14 12:27:32 +05:30
ashilkn 327dcb0ab4 Show all hidden collections except for defaultHiddenCollection inside hidden section 2023-08-14 12:04:55 +05:30
ashilkn 087f0160e5 Show files from defaultHiddenCollection in hidden section's gallery 2023-08-14 11:50:11 +05:30
ashilkn 9c0cd4ea81 Use better method names 2023-08-14 11:24:28 +05:30
ashilkn 7fac60d28f Revert "Do not show defaultHiddenCollection in hidden collections list and show only files in defaultHiddenCollection in hidden section's gallery"
This reverts commit fd9646362b.
2023-08-14 11:01:35 +05:30
ashilkn f96c03660c Revert "Hide an incoming shared collection from it's gallery's appBar"
This reverts commit c1a3af08de.
2023-08-14 10:38:24 +05:30
ashilkn fd9646362b Do not show defaultHiddenCollection in hidden collections list and show only files in defaultHiddenCollection in hidden section's gallery 2023-08-11 11:39:37 +05:30
ashilkn fd04d83118 Use correct icon to unhide a photo 2023-08-10 20:00:45 +05:30
ashilkn e7b5a94703 Verify lock to open hidden collections from inside the hidden section 2023-08-10 18:33:56 +05:30
ashilkn 0ce4ee6b5a Show hidden collections inside hidden section 2023-08-10 18:03:02 +05:30
ashilkn c1a3af08de Hide an incoming shared collection from it's gallery's appBar 2023-08-10 16:02:16 +05:30
ashilkn eb67fd3db2 Show correct progress dialog and toast text when changing visibility 2023-08-10 15:29:18 +05:30
Ashil 5c6430553f
Redesign selection sheet (#1306) 2023-08-10 14:57:02 +05:30
ashilkn 9c4fe5293e Hide an owned collection from the gallery's appBar 2023-08-10 12:08:04 +05:30
ashilkn d30c1fa216 Use ClampingScrollPhysics in SelectionActionButton's scrollable area without overscroll indicator 2023-08-09 18:35:22 +05:30
ashilkn f633652f16 Add shadow to selection sheet on it's first child 2023-08-09 18:00:44 +05:30
ashilkn 8c315cc933 Add share button to selection actions 2023-08-09 17:49:27 +05:30
ashilkn 344fce0a02 Account for textScaleFactor when computing size of widest word in lableText 2023-08-09 17:25:31 +05:30
ashilkn b1514adbe8 Change min width of SelectionActionButton widget to width of widest word in it's labelText if widest is greater than default 2023-08-09 16:52:02 +05:30
ashilkn dae66c4945 Refactor 2023-08-09 16:02:23 +05:30
ashilkn 1fbc25c394 Use existing logic to show relevant selection actions upon selection 2023-08-09 15:51:35 +05:30
ashilkn 5e03a0d602 Fix bottom padding of selection sheet 2023-08-09 12:23:31 +05:30
ashilkn e37e4957ca Remove code irrelevant to new bottom selection sheet 2023-08-08 15:42:05 +05:30
Neeraj Gupta 9ae658c954
Revamp Quick link options (#1299) 2023-08-08 12:20:16 +05:30
ashilkn 8252f85045 Extract String 2023-08-07 15:45:14 +05:30
ashilkn 60956dd50c Show error dialog when video download fails 2023-08-04 17:48:01 +05:30
ashilkn 4d9d780974 Use ValueListenableBuilder to rebuild only circular progress on video playback and not the entire screen 2023-08-04 17:09:50 +05:30
Neeraj Gupta 2611c28fdf Route to mangage link for quick links 2023-08-04 14:05:27 +05:30
Neeraj Gupta c95cdbc1f3 QuickLink: Add remove link option
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-04 13:29:27 +05:30
Neeraj Gupta d968ef64db Fix state refresh issue on converting to album
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-04 13:11:23 +05:30
Neeraj Gupta bdd47e61a3 Extract string and update icon
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-04 13:03:52 +05:30
Neeraj Gupta ab4ffc7ace Automatically trash quick link collection on remove link 2023-08-04 12:55:03 +05:30
Neeraj Gupta 67f137b9c7 Update gallery options for quick links 2023-08-04 12:42:13 +05:30
Neeraj Gupta fd749534d9 Add quick link gallery type
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-04 12:23:58 +05:30
ashilkn 63e8ba48c9 Refactor figuring out to or not to autoPlay vidoes 2023-08-02 12:03:17 +05:30
ashilkn 663f23f5b7 Remove unnecessarily calling preloadFile() 2023-08-02 11:49:02 +05:30
ashilkn 745b511d69 Remove implementing PreferredSizeWidget in FadingAppBar 2023-08-02 11:44:46 +05:30
ashilkn ae12ed8b16 Refactoring: Remove setState in onPageChanged of PageView to avoid unnecessary rebuilds on PageView. Rebuilt appBar and bottomBar using valueListenableBuilders instead 2023-08-02 11:22:38 +05:30
ashilkn 3cbd35b1f5 Add comment 2023-08-01 19:00:31 +05:30
ashilkn fe7570e83e Refactoring step 1: Remove use of variable to check if swiping has happened after opening a photo 2023-08-01 18:34:53 +05:30
ashilkn 692e342b63 Follow best practice: Avoid storing widgets in memory 2023-08-01 05:09:14 +05:30
ashilkn 9cfef6bc9a Dispose valueNotifier 2023-08-01 04:54:14 +05:30
Neeraj Gupta 2b62835e36 Add icon for reset to default 2023-07-24 13:32:26 +05:30
Neeraj Gupta bd5f66b8ba Use same close model for add_photos_sheet 2023-07-24 13:26:21 +05:30
Neeraj Gupta 3c77f3e981 Cover: Support for resetting to default 2023-07-24 13:23:47 +05:30
Neeraj Gupta c20788726f Refactor: Change to support resetting cover 2023-07-24 13:08:00 +05:30
ashilkn 84644bbf1c Merge main 2023-07-24 09:42:10 +05:30
ashilkn 6d053d164f Add comments for better understanding 2023-07-21 21:09:01 +05:30
ashilkn badf01fc39 Show dialog after freeing up space and deduping 2023-07-21 14:38:10 +05:30
ashilkn 2d0c1dbf5c Remove janky confetti animation 2023-07-21 13:56:43 +05:30
ashilkn 8f980a2192 Merge branch 'main' into horizontal_grid 2023-07-18 14:45:12 +05:30
Ashil b8e0c62a63
Cache one placeholder to be used for all children of grid (#1283) 2023-07-17 15:41:23 +05:30
ashilkn cfa39ef56b Cache one placeholder to be used for all children of grid 2023-07-17 15:16:09 +05:30
ashilkn 33f1ab13ea Convert List<File> to Set<File> lazily and not on init 2023-07-17 10:27:30 +05:30
ashilkn d74a5166db Store set of files in state of widget rather than converting to set from list in multiple places 2023-07-14 14:52:15 +05:30