Commit graph

5175 commits

Author SHA1 Message Date
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 2714014fd8 Rename 2023-08-25 10:01:16 +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
Neeraj Gupta bd8a868c57
Option to Hide memories (#1345) 2023-08-24 21:09:18 +05:30
Neeraj Gupta 70b60074bd Remove unused import
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-24 21:05:40 +05:30
Neeraj Gupta 42d0bb8da5 Add option to turn off memories
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-24 21:05:28 +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
Neeraj Gupta c4b98dc35f Hide options to club by name/time + size(default) 2023-08-23 16:44:27 +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
ashilkn 2dd5297894 Minor change 2023-08-23 16:30: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 72855c495f Add fade transition between visible and collapsed states of selection action buttons 2023-08-23 11:23:04 +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 121df7eb32 Modify SelectionActionButton to be visible or collapsed based on 'shouldShow' parameter 2023-08-22 21:19:46 +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
Ashil 14b1d4c707
Update change log (#1331) 2023-08-22 09:02:29 +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
ashilkn f11f41978b Extra changes to change log 2023-08-21 19:17:25 +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
ashilkn 560866da29 Update change log 2023-08-21 15:52:10 +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 a18176c8a9
Login v2 improvements (#1318) 2023-08-16 22:39:22 +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 0755cb9536 Check for mounted state before state refresh 2023-08-16 11:14:35 +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
Neeraj Gupta 5eb8da59d9 Dispose elements 2023-08-16 07:26:59 +05:30
ashilkn 3d4bb87891 Show only relevat actions for hidden collection and it's files 2023-08-15 15:46:59 +05:30
Neeraj Gupta 6527807049 Check for mounted state before state refresh 2023-08-15 15:08:27 +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
Neeraj Gupta 9a7e24759d Show disable email verification for all users 2023-08-14 14:05:11 +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
vishnukvmd 7761b32ab2 Add setting to opt out of crash reporting 2023-08-11 16:57:00 +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 3b3ec826ad Minor changes 2023-08-09 18:33:19 +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 47dc47566a Add extra padding on bottom of albums tab depending on device's bottom padding 2023-08-09 16:47:28 +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
Ashil 092bf64d06
Remove unnecessary popping of Navigator stack (#1300) 2023-08-09 15:07:38 +05:30
ashilkn aadfce89d0 Add padding at ends of scrollview 2023-08-09 13:07:21 +05:30
ashilkn 25922ea3d6 Add pressed state for SelectionOptionButton 2023-08-09 13:03:36 +05:30
ashilkn 5e03a0d602 Fix bottom padding of selection sheet 2023-08-09 12:23:31 +05:30
ashilkn 090733591d Create dummy UI of new selection sheet 2023-08-09 12:10:28 +05:30
ashilkn 24582b3c71 Remove bottom shadow from home gallery 2023-08-08 18:42:35 +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
Ashil b8bdc1fe60
Fix video playback (#1301) 2023-08-07 18:28:39 +05:30
ashilkn 8252f85045 Extract String 2023-08-07 15:45:14 +05:30
ashilkn 4229a4d02e Remove comment 2023-08-07 15:26:08 +05:30
ashilkn 02263038e1 Remove unwanted popping of Navigator stack 2023-08-07 15:23:44 +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 e99b5e0fd7 ManageLink: Show link copy and share option 2023-08-04 13:56:44 +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
Neeraj Gupta 0d37467a7f Remove redundant state refresh 2023-08-04 11:49:27 +05:30
Neeraj Gupta b6061522d2 Add toggle for email verification 2023-08-04 09:54:54 +05:30
Neeraj Gupta 1a21119a01 Trigger email verification when emailMFA enabled 2023-08-04 09:35:31 +05:30
ashilkn a36f16fd85 Increase max width of settings drawer 2023-08-02 16:57:45 +05:30
ashilkn 40b74cfe6e Expand storage card on bigger screens 2023-08-02 16:54:21 +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
ashilkn 110be65242 Remove unused imports 2023-08-01 04:53:52 +05:30
Neeraj Gupta 61e817828c Fix typo 2023-07-26 15:49:11 +05:30
Neeraj Gupta 07b57f8dcd Make sectionType a required param 2023-07-26 15:48:45 +05:30
Neeraj Gupta 55344923cb Fix UI refresh 2023-07-26 15:45:58 +05:30
Neeraj Gupta f411c89617 Fix fresh for shared collections in list view 2023-07-26 15:37:28 +05:30
Neeraj Gupta 0df738b755 Fix position of icon 2023-07-26 10:31:41 +05:30
Neeraj Gupta 4ee4b5b2fe Address review comments 2023-07-25 14:10:07 +05:30
Neeraj Gupta c5ea4d0f2b Fix padding 2023-07-25 14:06:22 +05:30
Neeraj Gupta f7162f3fe0 Fix: Show link for shared albums with link 2023-07-25 14:05:04 +05:30
Neeraj Gupta 10e2a1b32a Merge branch 'main' into login_v2 2023-07-25 14:01:09 +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 5b953d1a8c Modify BottomOfTitleBarWidget to show close button 2023-07-24 13:17:32 +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 f48a48f03c Remove unused widget 2023-07-21 16:45:25 +05:30
ashilkn 38f5a0b9de Move init of logger from build method to on widget's init and store it in state 2023-07-21 16:38:49 +05:30
ashilkn 5d028f918d Merge branch 'main' into delete_account_screen_fixes 2023-07-21 15:12:20 +05:30
ashilkn 5886ff3c45 Change paddings 2023-07-21 15:07:48 +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 e7b781830b Add divider at bottom of shared section 2023-07-20 16:57:48 +05:30
ashilkn f6635f5bca Minor UI change 2023-07-20 16:20:46 +05:30
ashilkn cbf7fc9059 Add comments 2023-07-20 16:00:24 +05:30
ashilkn 70103c19bd Fix jumping of title in appbar on hero animation 2023-07-20 15:39:46 +05:30
ashilkn e0d3fe191c Set initial scroll offset for on ente's view all 2023-07-20 15:15:30 +05:30
ashilkn 66c2dc0a30 Merge branch 'horizontal_grid' into horizontal_grid_changes 2023-07-20 11:58:46 +05:30
Neeraj Gupta 2f41ae72db Fix animation issue 2023-07-20 11:49:13 +05:30
ashilkn ee2180f587 Change copy 2023-07-19 18:55:17 +05:30
ashilkn 6762a8b1e4 Only show 'invite your friends to ente' when incoming shared albums are empty 2023-07-19 18:54:42 +05:30
ashilkn a7205222d1 Layout changes to quick link section in shared section 2023-07-19 18:15:20 +05:30
ashilkn 200a0a4c32 Change sectionTitle copies on shared albums section 2023-07-19 16:05:34 +05:30
ashilkn 6aaa43f0d4 Adjust layout of grids in shared collections section 2023-07-19 15:59:54 +05:30
ashilkn 57515ee506 Adjust paddings in layout 2023-07-19 15:41:36 +05:30
Neeraj Gupta 8ae121cf06 Reset password from in-memory 2023-07-19 14:45:08 +05:30
Neeraj Gupta b6142c80cf Handle SRPNotSetupErr + fix bug in SRP setup 2023-07-19 14:35:26 +05:30
Neeraj Gupta b432dffbf5 Support for setting up SRP for existing users 2023-07-19 13:03:39 +05:30
ashilkn a1adcc703f Update UI of Outgoing albums empty state 2023-07-19 12:14:19 +05:30
ashilkn 127f717472 Implement UI from design for empty state of 'incoming shared albums' section 2023-07-19 11:51:45 +05:30
ashilkn 59a16f14c9 Added hero animation for gird titles 2023-07-19 10:38:40 +05:30
Neeraj Gupta 788a6f62da Update SRP on change password 2023-07-18 21:31:45 +05:30
Neeraj Gupta 554beb7139 Update method name 2023-07-18 21:00:42 +05:30
ashilkn 03b6c21d42 Use sliver for albums section and album gird views 2023-07-18 18:59:59 +05:30
Neeraj Gupta 351a699919 SRP: Redirect to Recover password page 2023-07-18 17:58:45 +05:30
ashilkn c81bb06a3a Use sliver and sliver appbar in view all of on device section 2023-07-18 17:54:49 +05:30
Neeraj Gupta 0206752de7 Fix UI 2023-07-18 17:51:49 +05:30
Neeraj Gupta 0ebd1d1b67 Change OTT copy for forgot password 2023-07-18 17:35:30 +05:30
Neeraj Gupta e92f1e54b1 Show email id on login page 2023-07-18 17:14:53 +05:30
ashilkn 03644ccc90 Made albums in view all of on device section flexible in size, removing the fixed dimensions 2023-07-18 16:38:58 +05:30
ashilkn fe74c0f7c1 Refactor by extracting helper methods to widgets 2023-07-18 16:04:46 +05:30
ashilkn 8f980a2192 Merge branch 'main' into horizontal_grid 2023-07-18 14:45:12 +05:30
Neeraj Gupta 552a8fa852 Autofill password if in memory 2023-07-18 11:06:43 +05:30
Neeraj Gupta 51c56b52da Add support for login via password 2023-07-18 08:17:29 +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
Neeraj Gupta d91215c36d Make password mode as required parameter 2023-07-17 13:37:07 +05:30
ashilkn 33f1ab13ea Convert List<File> to Set<File> lazily and not on init 2023-07-17 10:27:30 +05:30
Neeraj Gupta 35fd2992c7 Temp commit 2023-07-15 16:35:06 +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
ashilkn cd17473c56 Refactor and optimize commit 48f45961 2023-07-13 12:51:45 +05:30
ashilkn 95446e7a26 Use better names for memebers and it's parameters for better readability in SelectedFiles 2023-07-13 12:22:20 +05:30
ashilkn a453316e1c Dispose valueNotifier 2023-07-13 11:54:46 +05:30
ashilkn 48f45961b6 Fix State-loss of 'Select all' button for a group when scrolling it out and in of view 2023-07-13 11:37:42 +05:30
ashilkn 9317ca615c Refactor file selection 2 2023-07-12 17:59:15 +05:30
ashilkn a41986d2ea Refactor file selection 1 2023-07-12 16:02:37 +05:30