Commit graph

1289 commits

Author SHA1 Message Date
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
ashilkn cd17473c56 Refactor and optimize commit 48f45961 2023-07-13 12:51:45 +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
ashilkn 9ef9963161 Remove UniqueKey() for LazyGroupGallery 2023-07-11 12:20:37 +05:30
ashilkn f10fad2b8f Remove UniqueKey which was stopping framework from reusing element of LazyGridView on rebuild. This is the right fix compared to the previous commit, both solve the same bug. 2023-07-11 12:06:43 +05:30
ashilkn 0cc6bb78cc Gallery perf: Remove unneccesary reloads of subGroup on updates in it's group 2023-07-10 18:49:39 +05:30
ashilkn 0f6eb2f2c2 Remove ExcludeSemantics widgets which exists down the tree from a Parent ExcludeSemantics widget 2023-07-10 12:11:23 +05:30
ashilkn 21e836643b Exclude semantics to improve performance of gallery 2023-07-10 10:13:50 +05:30
ashilkn a4b6ea66ae Use better variable name 2023-07-07 21:44:12 +05:30
ashilkn 76eb0d52b3 Remove unnecessary GlobalKey 2023-07-07 19:03:45 +05:30
Neeraj Gupta 0545d401d6 Merge branch 'main' into horizontal_grid 2023-07-07 11:20:57 +05:30
Neeraj Gupta 8b5905dbd8 Remove unused imports 2023-07-06 13:30:18 +05:30
Neeraj Gupta a3282bfc53 Use cached value for collection_count 2023-07-06 13:29:31 +05:30
Ashil f795613e78
Detail page fixes (#1264) 2023-07-06 09:20:50 +05:30
ashilkn eb3b1666db Remove a comment 2023-07-04 18:40:01 +05:30
ashilkn 3ca74d51a3 Detail page: Partial solution for popping of seekbar on seeking video 2023-07-04 17:46:56 +05:30
ashilkn 82059ab59c Refactoring 2023-07-04 11:39:05 +05:30
ashilkn d2908466d9 Use null aware operator instead of checking for null in if condition 2023-07-03 20:07:09 +05:30
Neeraj Gupta 6e26823e64 Merge branch 'main' into horizontal_grid 2023-07-03 18:49:53 +05:30
ashilkn 3890ab7f0c Detail page: Remove use of GlobalKeys for top and bottom bar and use ValueNotifier instead to update UI state 2023-07-03 18:11:44 +05:30
ashilkn f139d20f04 Details page: Initialize and dispose pageController properly 2023-07-03 16:34:37 +05:30
Neeraj Gupta fcbb2552e0 Show video playback error for internal builds only 2023-07-03 15:32:55 +05:30
Neeraj Gupta 5cfd6b3ff5 Add EmptyAlbumState 2023-07-03 12:18:16 +05:30
Neeraj Gupta 276b62fae6 Merge branch 'main' into horizontal_grid 2023-07-03 10:36:25 +05:30
Neeraj Gupta 4948d82441 Merge branch 'add_photos_hook' into horizontal_grid 2023-07-03 10:29:24 +05:30
Neeraj Gupta d0cf8165db
Surface video playback error on UI (#1189) 2023-07-03 09:44:14 +05:30
Neeraj Gupta b1be14a70d Update icons 2023-06-30 11:38:53 +05:30
Neeraj Gupta fb3d2dae74 Extracted string 2023-06-30 10:32:59 +05:30
Neeraj Gupta 2860a56198 Show icon for pinned albums 2023-06-30 10:29:39 +05:30
Neeraj Gupta 604ab25531 Add support for pinning albums 2023-06-30 10:01:15 +05:30
Neeraj Gupta 16e5b4fcfb
Undo gallery optimization and german lang (#1243) 2023-06-29 09:25:16 +05:30
Neeraj Gupta 3ffb94022b
Map improvements (#1245) 2023-06-29 09:12:35 +05:30
Neeraj Gupta 59ce71c9c4 Undo gallery optimization and german lang 2023-06-28 19:02:01 +05:30
Neeraj Gupta 648fa26d34 Change buttonStyle 2023-06-28 13:36:14 +05:30
Neeraj Gupta ca6a718925 Fix: Specify initial name during collection rename
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-28 13:17:37 +05:30
Neeraj Gupta d914275392 CollectionEmptyState: Show add photos button 2023-06-28 13:15:17 +05:30
Neeraj Gupta cff0a5a325 Extract string
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-28 12:58:40 +05:30
Neeraj Gupta 8d7070d3d7 Add support for adding files from device 2023-06-28 10:21:14 +05:30
Neeraj Gupta cea5bab174 Hide current colleciton files from the list 2023-06-27 16:58:16 +05:30
Neeraj Gupta 16f45f7dba Fix add more photos within collection 2023-06-27 16:56:16 +05:30
Neeraj Gupta 68c66c0ff1 Gallery: Add support for selection mode 2023-06-27 15:43:39 +05:30
Neeraj Gupta 13e43af7f6 Rename GallerySortOrder->GalleryContextState 2023-06-27 14:51:00 +05:30
Neeraj Gupta 1833afb53a Add trailing comma 2023-06-27 14:45:25 +05:30
Neeraj Gupta 715fe5bf9e Minor refactor 2023-06-27 14:04:58 +05:30
Neeraj Gupta f219cd4f8b Fix hero tag for iOS swipe navigation 2023-06-26 14:28:15 +05:30
ashilkn 6f2c3c3e56 Map gallery: Fixed broken UI for FileSelectionOverlay 2023-06-25 03:13:11 +05:30
ashilkn 233a005927 Map gallery: Improve UI/UX 2023-06-24 21:53:39 +05:30
ashilkn bffd440d19 Map Gallery: Increase elevation of FileSelectionOverlay 2023-06-24 12:15:04 +05:30
ashilkn a6d979905b Map Gallery: Removed rebuilds on resizing bottom sheet caused by ScrollablePositionedList.builder 2023-06-23 21:12:04 +05:30
Neeraj Gupta 9aab109d72 Fix the album cover thumbnail to 160 2023-06-23 13:57:58 +05:30
Neeraj Gupta bfebc6d051
Set cover photo (#1234) 2023-06-22 22:20:15 +05:30
Neeraj Gupta 0c9d81dce3 Fix placeholder color 2023-06-22 18:52:19 +05:30
Neeraj Gupta 1bea43897b Add support for changing cover photo 2023-06-22 16:21:56 +05:30
Neeraj Gupta e461da9d22 Add set cover option 2023-06-22 15:40:21 +05:30
Neeraj Gupta 5f1b0864f3 AlbumPopupMenu: switch to enum for PopupItemValue 2023-06-22 15:31:46 +05:30
Neeraj Gupta ed046c0301 Refactor DeleteEmptyButtonWidget 2023-06-22 14:19:42 +05:30
Neeraj Gupta ec0fa298c2 Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-22 12:53:56 +05:30
Neeraj Gupta 20b122049c Increase upper limit for placeholder grid 2023-06-21 16:11:54 +05:30
Neeraj Gupta e463dc0d51 Limit the count of items in the PlaceHolderWidget 2023-06-21 15:02:20 +05:30
Neeraj Gupta a2bb8e7b4a Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-21 11:52:57 +05:30
Neeraj Gupta 65840dec28 Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-21 11:52:21 +05:30
Neeraj Gupta feeb958b25
Fix the size of video loader progress bar (#1230) 2023-06-21 11:49:53 +05:30
Neeraj Gupta 0b89a52f22 Fix the size of video loader progress bar
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-21 11:40:35 +05:30
Neeraj Gupta 01f16bddde Merge branch 'main' into map 2023-06-20 20:23:13 +05:30
Neeraj Gupta f6e9d63f59 Replace all usage of _deduplicatedAndFilterIgnoredFiles 2023-06-20 18:19:45 +05:30
Neeraj Gupta a1bcf60159 refactor 2023-06-20 17:55:49 +05:30
Neeraj Gupta 80b0c88b1c Merge branch 'main' into perf_improvement 2023-06-20 17:40:06 +05:30
Neeraj Gupta 15c4c97dab getAllPendingOrUploadedFiles: Use improved filtering for dedupe+ignored 2023-06-20 17:34:12 +05:30
Neeraj Gupta 24e1e8d558 Remove dependency from getCollectionsWithThumbnails 2023-06-19 22:37:03 +05:30
Neeraj Gupta 7e05f5d2e0 Fix typo 2023-06-19 16:01:01 +05:30
Neeraj Gupta ee6a12e706 Refactor delete emptyAlbums logic 2023-06-19 15:58:15 +05:30
Neeraj Gupta 446a6adc34 use collectionFileCount for identifying emptyCollection 2023-06-19 11:38:37 +05:30
Neeraj Gupta 49dc54dd67 Hide gallery overflow menu when files are selected 2023-06-16 09:27:46 +05:30
Neeraj Gupta 06a9244fec Copy change for overflow menu item 2023-06-15 18:36:18 +05:30
Neeraj Gupta 65f5487b68 Use extract string 2023-06-15 18:23:47 +05:30
Neeraj Gupta 5b7eb47521 Add hook for checking permission 2023-06-15 18:15:26 +05:30
Neeraj Gupta 240b5667eb Merge branch 'cache_collections' into map 2023-06-14 16:14:16 +05:30
Neeraj Gupta 938287ab23 Fix: Hide shared archived from all places as owned archived 2023-06-14 14:00:33 +05:30
Neeraj Gupta 1eed65957c
Make file details UI more compact (#1210) 2023-06-14 07:42:55 +05:30
ashilkn fe5065f559 Make file details UI more compact 2023-06-13 20:13:52 +05:30
ashilkn 590fb9acd1 Fixed broken edit 2023-06-13 19:21:13 +05:30
Neeraj Gupta 766946c3da Switch to different package for date-picker 2023-06-13 16:43:34 +05:30
Neeraj Gupta 30fe2731ce
Remove deprecated theme props (#1207) 2023-06-13 15:06:30 +05:30
ashilkn dcd86a1611 Remove default select all button in location tag related screens where selection is not possible 2023-06-13 13:01:52 +05:30
Neeraj Gupta b5433d3f0d Rename decrecated fields 2023-06-13 12:11:31 +05:30
ashilkn ace8225d45 Fix loading icon when uploading a file after opening it 2023-06-13 10:48:33 +05:30
ashilkn 25004af55a Check gallery type of collection to set showSelectAllByDefault of gallery 2023-06-12 16:31:57 +05:30
ashilkn b9e35b004a Merge branch 'main' into show_select_all_by_default 2023-06-12 16:20:19 +05:30
ashilkn 315fb2ffe1 Don't show select all button by default for incoming shared albums 2023-06-12 16:19:16 +05:30
ashilkn 6087bb6a7e Show select all button by default in galleries 2023-06-12 16:18:33 +05:30
Neeraj Gupta afe561b225 Change size of video icon
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-12 16:10:20 +05:30
Neeraj Gupta fb7dfa2059 Merge remote-tracking branch 'origin/main' into map 2023-06-12 11:02:24 +05:30
ashilkn 7c201ffa23 Added pressed states 2023-06-09 21:50:10 +05:30
ashilkn bd5f230c8e Show button to navigate to map on clicking search icon 2023-06-09 21:32:54 +05:30
Ashil b7776b9861
Album sort bug (#1191) 2023-06-07 18:01:59 +05:30
ashilkn 932caaad96 Refactor _preloadEntries() 2023-06-07 17:22:23 +05:30
ashilkn 02c7e7be8a Fixed order of photos in detail_page when sort ordering is ascending 2023-06-07 17:04:43 +05:30