Commit graph

446 commits

Author SHA1 Message Date
ashilkn 76eb0d52b3 Remove unnecessary GlobalKey 2023-07-07 19:03:45 +05:30
Neeraj Gupta a3282bfc53 Use cached value for collection_count 2023-07-06 13:29:31 +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 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 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 a6d979905b Map Gallery: Removed rebuilds on resizing bottom sheet caused by ScrollablePositionedList.builder 2023-06-23 21:12:04 +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 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 01f16bddde Merge branch 'main' into map 2023-06-20 20:23:13 +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 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 b5433d3f0d Rename decrecated fields 2023-06-13 12:11:31 +05:30
ashilkn 25004af55a Check gallery type of collection to set showSelectAllByDefault of gallery 2023-06-12 16:31:57 +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 fb7dfa2059 Merge remote-tracking branch 'origin/main' into map 2023-06-12 11:02:24 +05:30
Ashil b7776b9861
Album sort bug (#1191) 2023-06-07 18:01:59 +05:30
Neeraj Gupta d21a9e353f Merge branch 'main' into map 2023-06-07 13:24:21 +05:30
Neeraj Gupta e23c633511 Replace empty Contains with SizedBox.shrink 2023-06-07 12:21:19 +05:30
ashilkn 390bab470a Removed stateful wrapper around AlbumSortOrder as there is no where down the widget tree where it needs to be updated 2023-06-07 12:17:06 +05:30
ashilkn cd4d146fdc Made changes to detail_page to to show photos in the correct order in oldest first sort order 2023-06-07 12:01:06 +05:30
ashilkn b0e380a47f Minor fix 2023-06-07 11:23:01 +05:30
ashilkn c61e5ee6dc Used inherited widget to store state of ordering of photos in gallery 2023-06-06 21:38:11 +05:30
Neeraj Gupta 6b237f9d27 Refactor 2023-06-06 20:13:41 +05:30
Neeraj Gupta 79e8e0fce5 Add show on map options for collections 2023-06-05 09:10:25 +05:30
Neeraj Gupta 34d2fefca8 GalleryFileWidget: Refactor common code 2023-06-02 08:54:37 +05:30
Neeraj Gupta 567eea134b Fix: Use default selection color for files uploaded via pubLink 2023-06-02 08:46:06 +05:30
Neeraj Gupta b2b5e70790 Early return on any match 2023-06-02 08:11:14 +05:30
Neeraj Gupta 4ede7bbe29 Reload entire groupd on removal 2023-06-02 07:59:14 +05:30
Neeraj Gupta 40c8fc6965 More rename refactor 2023-06-01 12:05:30 +05:30
Neeraj Gupta 7f3932f427 Rename 2023-06-01 11:14:49 +05:30
Neeraj Gupta ab4be2d01a Refactor 2023-06-01 01:34:57 +05:30
Neeraj Gupta 729066976a Fix bad import 2023-06-01 01:29:13 +05:30
Neeraj Gupta f1718eb884 Rename 2023-06-01 01:25:57 +05:30
Neeraj Gupta bcf4f6fe91 Refactor 2023-06-01 01:09:43 +05:30
Neeraj Gupta 016cec52db Rename day widget as group header widget 2023-06-01 01:08:01 +05:30
Neeraj Gupta 8353b535f4 Refactor 2023-06-01 01:04:19 +05:30
Neeraj Gupta 7162bd6de5 Rename variable 2023-06-01 00:38:10 +05:30
Neeraj Gupta 26a161df03 Refactor: rename + extract widget in separate files 2023-06-01 00:31:58 +05:30
Neeraj Gupta 3b9aeffc97 Fix bug in query for showing items on timeline 2023-05-30 14:30:19 +05:30
Neeraj Gupta ad81ff412b Merge branch 'main' into migratie_collections 2023-05-30 07:47:05 +05:30
Neeraj Gupta ccbd5bf69e Hook API call to update collection 2023-05-29 19:07:02 +05:30
Neeraj Gupta dccf843361 IncomingSharee: Add hook to display archive status 2023-05-29 18:58:04 +05:30
vishnukvmd b0c9cae36a Preserve ordering within SelectedFiles 2023-05-26 13:55:15 +05:30
Neeraj Gupta b89d31ad03 Move sort option above archive 2023-05-26 10:17:12 +05:30
Neeraj Gupta e12ed7000d Force refresh collection gallery on collectionSort change 2023-05-26 10:05:19 +05:30
Neeraj Gupta 0dc5279f8b Refactor: Use fn as getter for sortAsc value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 10:04:32 +05:30
Neeraj Gupta 21bdabf4a8 Pass sort property to gallery 2023-05-26 08:35:06 +05:30
Neeraj Gupta 4f99062662 Add logic to update sortOrder on remote
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 08:03:58 +05:30
Neeraj Gupta 690fb935ae Merge branch 'gallery_pass_flag' into sort_order_collection 2023-05-25 19:59:57 +05:30
Neeraj Gupta e8594566b5 Pass sort property to gallery 2023-05-25 19:54:38 +05:30
Neeraj Gupta e540430c45 AlbumSort: Add option in overflow menu for sorting 2023-05-25 16:37:55 +05:30
Neeraj Gupta dc96583dcd Merge branch 'main' into migratie_collections 2023-05-25 13:37:52 +05:30
Neeraj Gupta 2aa272b9d0 Rename: Separate file and album magic property class 2023-05-25 11:23:34 +05:30
Neeraj Gupta 0b1f0e9ed7 Refactor: Move magic_metadata.dart under models/metadata
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-25 11:01:50 +05:30
Neeraj Gupta 10f1db49ef Merge branch 'remove_redundant_work' into migratie_collections 2023-05-23 15:26:21 +05:30
Neeraj Gupta e2e1d7ef13
Replace collection.name usage with collection.displayName 2023-05-23 10:26:48 +05:30
Neeraj Gupta 095df3abba
Fix lint warnings (#1117) 2023-05-22 11:12:45 +05:30
Neeraj Gupta 3d94d181bd
refactor: Switch to async + add mount check 2023-05-22 00:25:03 +05:30
Neeraj Gupta 700b19383a
Add logs when device folder is being turned off 2023-05-22 00:21:54 +05:30
Neeraj Gupta 6af54befc8
Fix lint warnings 2023-05-19 13:20:18 +05:30
Ashil 47a7ac3bb2
Perf improvements (#1097) 2023-05-16 18:12:26 +05:30
ashilkn 5050ac2f9c Performance imporvements to thumbnail widget 2023-05-15 20:19:28 +05:30
Neeraj Gupta fa74a247ca
l10n: fix label for draggable scrollbar 2023-05-10 11:49:40 +05:30
ashilkn 793ee17955 Moved RecyclableViewWidget and NonRecyclableViewWidget to separate files 2023-05-08 11:24:21 +05:30
ashilkn ca1ef1798c Moved GalleryFileWidget to a separate file 2023-05-05 15:56:53 +05:30
ashilkn 6c7001eb2c Moved LazyLoadingGridView to a separate file 2023-05-05 15:48:33 +05:30
ashilkn b3e2e52dc1 Move LazyLoadingGallery to viewer/gallert/component 2023-05-05 15:44:35 +05:30
ashilkn 92a52943b1 Move GalleryListView to a separate file 2023-05-05 15:41:50 +05:30
ashilkn ab85c96b4b Resolved merge conflicts 2023-05-05 11:47:36 +05:30
Neeraj Gupta ede2fcafa8
Fix l10n for days widget 2023-05-04 16:00:49 +05:30
Neeraj Gupta f48cf52de8
Extract strings for days 2023-05-04 15:49:47 +05:30
Neeraj Gupta a3e76f9bcb
Create component for day widget 2023-05-04 15:38:13 +05:30
Neeraj Gupta 9a1b2593a0
Merge branch 'main' into l10n_extract 2023-05-04 15:06:59 +05:30
Neeraj Gupta 7a21d0a8fd
Perf: Avoid redundant copy and clear 2023-05-04 15:03:49 +05:30
ashilkn 02ab63f843 Refactored LazyLoadingGallery 2023-05-03 15:22:06 +05:30
ashilkn e6ef538119 Refactor getListView() to a stateless widget 2023-05-03 10:24:57 +05:30
ashilkn 2c5d2c0d80 Fixed UI on archive screen 2023-04-20 15:50:49 +05:30
Neeraj Gupta 0ddfa1a865
Lint: Fix trailing comma warnings 2023-04-18 14:35:21 +05:30
Neeraj Gupta 06c9ead3e2
feat(location_tag): add location tags (#908) 2023-04-11 10:10:50 +05:30
Neeraj Gupta f19443607a
l10n: extract strings 2023-04-07 10:57:06 +05:30
Neeraj Gupta 372469f9ce
l10n: extract strings 2023-04-07 10:36:43 +05:30
ashilkn a9726b222f Modify LazyLoadingGridView to support single file selection 2023-04-04 16:50:15 +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 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 34b2a0ccd1 Made selectedFiles nullable and added null aware operators in Gallery and LazyLoadingGallery 2023-03-20 20:45:10 +05:30
ashilkn b1916f6605 Moved all button components to a folder 'Buttons' 2023-03-10 13:38:51 +05:30
ashilkn 318fbe1ad2 Beautify albums section in archive page 2023-03-07 15:00:42 +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
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
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 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
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 2193546f42 Created new picker for setting photo grid size 2023-02-03 13:55:01 +05:30
Neeraj Gupta 77eeaa4c06
Merge branch 'main' into fix_radius 2023-02-02 09:09:37 +05:30
Neeraj Gupta a11a86895a
Use 8 as border radius for multiple meneItems list 2023-02-02 07:56:41 +05:30
ashilkn 1414c2f05b Resolved merge conflicts 2023-02-01 15:30:34 +05:30
ashilkn b5202f4880 Show loading states within MenuItemWidget 2023-02-01 14:01:24 +05:30
ashilkn 2d9d8ca102 Refactored MenuItemWidget 2023-01-31 17:51:57 +05:30