Commit graph

369 commits

Author SHA1 Message Date
Abhinav Kumar ea59e73c20
Add option to change collection sort order (#1147) 2023-05-30 18:52:27 +05:30
Abhinav Kumar 2c499442a6
Improve update magic metadata functions (#1149) 2023-05-30 18:52:07 +05:30
Abhinav 63c50f996e added download album option on shared-albums 2023-05-30 18:12:35 +05:30
Abhinav Kumar 9d52484b6d
Refactored collectionSort component (#1148) 2023-05-30 17:42:56 +05:30
Abhinav c31c9259a4 Merge branch 'improve-update-magic-metadata-API-function' into add-option-to-change-sort-order
and update collection public magic metadata api accordingly
2023-05-30 17:21:23 +05:30
Abhinav 2ffbf47018 fix collection card preview image not updating when all files are remove 2023-05-30 17:11:22 +05:30
Abhinav d897fbdaf3 fix updateFileMagicMetadata 2023-05-30 16:49:29 +05:30
Abhinav ef56487aa2 fix changeFileName returning undefined 2023-05-30 16:18:42 +05:30
Abhinav a05de5c67e fix build issues 2023-05-30 16:01:07 +05:30
Abhinav 5d66a6f3e2 fix type and cache EntityKey locally 2023-05-30 15:05:26 +05:30
Abhinav f5d8d21539 remove unneeded custom errror 2023-05-30 14:47:28 +05:30
Abhinav ebd4d18689 refactor utils and types 2023-05-30 14:44:29 +05:30
Abhinav c897653bd2 fixed SuggestionType LOCATION value 2023-05-30 14:29:28 +05:30
Abhinav 1e828edd0f add error logging to getAutoCompleteSuggestions 2023-05-30 14:28:50 +05:30
Abhinav d5bd95487a fix shared files being shown in location search result 2023-05-30 13:52:01 +05:30
Abhinav 620d697836 added custom error 2023-05-30 13:39:59 +05:30
Abhinav 1040f1986f added location tag search logic 2023-05-30 13:39:38 +05:30
Abhinav 3a78700760 added entity and entity key sync logic 2023-05-30 13:38:09 +05:30
Abhinav 68cdf5abda updated updateFilePublicMagicMetadata to accept a list of files with updated public magic metadata 2023-05-30 10:42:09 +05:30
Abhinav 14a0f75e03 updated updateFileMagicMetadata service to accept a list of files with updated magic metadata 2023-05-30 10:33:49 +05:30
Abhinav 4f8a8d52ef update updateCollectionMagicMetadata service to accept updatedMagicMetadata as second prop
and move updateCollectionSubType to util
2023-05-30 10:20:35 +05:30
Abhinav b7ffb724c9 rename updateMagicMetadataProps to updateMagicMetadata 2023-05-30 10:19:34 +05:30
Abhinav f5cd748b34 fix callbacks for sort order change 2023-05-30 10:06:42 +05:30
Abhinav 21eb2e7aae update handleCollectionSortOrder parameter 2023-05-30 10:03:38 +05:30
Abhinav ff01df8b7c rename 2023-05-30 09:59:38 +05:30
Abhinav f3e14e6ac9 Merge branch 'refactored-collection-sort-components' into add-option-to-change-sort-order 2023-05-30 09:50:49 +05:30
Abhinav 7ffe07e804 renamed CollectionSort component and related states to collectionListSortBy 2023-05-30 09:45:08 +05:30
Abhinav 4df5a0a102 moved component to root collection folder as it is used by not only AllCollections but also CollectionListBar 2023-05-29 22:06:47 +05:30
Abhinav eee94ce97b remove unnecessary components 2023-05-29 22:03:47 +05:30
Abhinav 112738d2bb added and implemented SHOW_SORT_ORDER_OVERFLOW_MENU and UPDATE_COLLECTION_FILES_ORDER actions 2023-05-29 21:45:27 +05:30
Abhinav 67c442dd77 memoized photoList rows to prevent rerendering 2023-05-29 21:44:28 +05:30
Abhinav a9f8aa9590 added collection sort order menu 2023-05-29 21:44:06 +05:30
Abhinav 6f63d2aa36 added change sort order option for album/folder type collection 2023-05-29 21:43:17 +05:30
Abhinav 8cc82ab842 added util to change collection order 2023-05-29 21:42:32 +05:30
Abhinav dde52c52db added new collection public magic metadata update API 2023-05-29 21:42:16 +05:30
Abhinav 075c93380b add new strings 2023-05-29 21:41:12 +05:30
Abhinav Kumar db0f745ce4
Fix opacity 0% backdrop blocking ui for firefox (#1146) 2023-05-29 17:24:58 +05:30
Abhinav Kumar 5f73ed09b7
Show disk cached thumb on scroll (#1140) 2023-05-29 16:03:55 +05:30
Abhinav 705c51c7b2 increase global transition out duration 2023-05-29 13:35:02 +05:30
Neeraj Gupta 77d7ec12e7
Refactor tsconfig setup (#1142) 2023-05-29 11:12:33 +05:30
Neeraj Gupta c2b100b50a
Remove redundant container (#1143) 2023-05-29 10:14:30 +05:30
Neeraj Gupta 91a22e048a Fix typo 2023-05-29 10:14:06 +05:30
Neeraj Gupta aad5346b86 Fix: set root:true at app level 2023-05-29 10:13:02 +05:30
Abhinav 6e433db358 avoid using hidden collections as replacement collection 2023-05-29 08:51:01 +05:30
Abhinav e3d9bcd7b3 add helper wrapper over syncCollections 2023-05-29 08:43:59 +05:30
Abhinav a52557717a fix hidden files getting removed on sync 2023-05-29 08:13:51 +05:30
Neeraj Gupta 52a9882328 Remove redundant container 2023-05-29 08:05:25 +05:30
Abhinav fee9a87df0 don't show shared files on search result page 2023-05-29 07:50:08 +05:30
Neeraj Gupta 3fd81907d5 Fix pkg dependency 2023-05-29 07:36:02 +05:30
Neeraj Gupta 15412f6e72 Revert "Add direct dependency on workspace package"
This reverts commit 703c60b888.
2023-05-29 06:05:37 +05:30
Neeraj Gupta 703c60b888 Add direct dependency on workspace package 2023-05-29 05:39:45 +05:30
Neeraj Gupta 8aa1f3e070 Remove ente/tsconfig dependencies from photos 2023-05-29 05:22:57 +05:30
Neeraj Gupta c363f871a5 photos/tsconfig: remove duplicates 2023-05-29 04:35:29 +05:30
Neeraj Gupta 1e9384478e app/photos: extend tsconfig.base.json 2023-05-29 04:32:08 +05:30
Abhinav 80022f2a3a fix issue 2023-05-28 12:29:46 +05:30
Abhinav 07d60cead1 change useEffect entry condition 2023-05-28 12:00:42 +05:30
Abhinav 57c86eceeb remove thumbnail request queuing and let browser handle it 2023-05-28 11:53:46 +05:30
Abhinav c47480ca95 fallback to placeholder only after checking for cached file on disk 2023-05-28 11:51:32 +05:30
Abhinav 48d1c3e186 don't limit parallel thumbnail download 2023-05-28 11:14:16 +05:30
Abhinav ddd42f37a4 refactor code to fix issue where a single file with hash was shown in a separate row 2023-05-28 09:14:14 +05:30
Abhinav Kumar ea41a5ea5f
Fix grouping based on hashes on dedupe page (#1138) 2023-05-27 19:42:15 +05:30
Abhinav 747db8c36c refactor if statement 2023-05-27 19:36:37 +05:30
Abhinav e91cb147f7 fix grouping based on hashes 2023-05-27 19:10:44 +05:30
Neeraj Gupta adb91c7fc6 Fixed import 2023-05-27 17:29:26 +05:30
Neeraj Gupta a6ab1abd9d Remove unused container 2023-05-27 16:48:11 +05:30
Neeraj Gupta b4e11a7475 Fix bad imports 2023-05-27 16:47:42 +05:30
Neeraj Gupta b1d524b114 Remove unused import 2023-05-27 16:43:42 +05:30
Neeraj Gupta b9030e0527 Remove default export 2023-05-27 16:43:02 +05:30
Neeraj Gupta fb9d541ad9 Remove extra attributes 2023-05-27 15:42:39 +05:30
Neeraj Gupta b61573eab6 Remove unnecessary type interface 2023-05-27 15:36:59 +05:30
Neeraj Gupta f62f9ec0d5 Remove unnecessary base interface 2023-05-27 15:06:15 +05:30
Neeraj Gupta aaf49cedcc Refactor: Remove reundant nesting 2023-05-27 14:53:19 +05:30
Neeraj Gupta 915764b675 PublicLink: Sort collections based on sort property 2023-05-26 15:49:27 +05:30
Neeraj Gupta 68d2c4a4c1 PublicLink: Decrypt collection pubMagicMetadata 2023-05-26 15:34:58 +05:30
Neeraj Gupta 749df18c1a
Reflect album sort order (#1133) 2023-05-26 13:32:34 +05:30
Neeraj Gupta 8399191481 Change variable name 2023-05-26 13:30:12 +05:30
Neeraj Gupta b74f4a2b7b Fix lint err 2023-05-26 12:53:31 +05:30
Neeraj Gupta 4b0399ca90 Reflect sort order in the collection view 2023-05-26 12:38:24 +05:30
Neeraj Gupta a037a38745 Support for saving collection pubMagicMetadata 2023-05-26 10:42:07 +05:30
Crowdin Bot 4efffec5b2 New Crowdin translations by GitHub Action 2023-05-26 01:08:36 +00:00
Abhinav Kumar 10cd5d1ba0
Update text (#1131) 2023-05-24 22:45:23 +05:30
Vishnu 778104935e Update string 2023-05-24 22:24:30 +05:30
Abhinav Kumar d6bc94eae5
Perf improvements (#1130) 2023-05-24 18:31:33 +05:30
Abhinav Kumar 11fa26ba48
Old formats support (#1128) 2023-05-24 18:21:36 +05:30
Abhinav 0f8cebd032 remove download manager logging 2023-05-24 17:44:26 +05:30
Abhinav 4bd5b95dd3 remove translation util function t passed as parameter 2023-05-24 17:44:19 +05:30
Crowdin Bot 82bda6da67 New Crowdin translations by GitHub Action 2023-05-24 10:42:22 +00:00
Abhinav edc183091a add unsupported file format detected 2023-05-24 16:04:41 +05:30
Abhinav f83a350455 rename 2023-05-24 15:59:55 +05:30
Abhinav 4ad79fb336 refactored code 2023-05-24 15:58:27 +05:30
Abhinav 283660114e add dv format to FILE_TYPE_LIB_MISSED_FORMATS 2023-05-24 15:33:57 +05:30
Abhinav d6d6688af6 moved back KNOWN_NON_MEDIA_FORMATS 2023-05-24 15:26:13 +05:30
Abhinav 64d93722f0 added whitelisted file type with application mimetype 2023-05-24 15:15:46 +05:30
Abhinav ff66abce74 Merge branch 'gallery-refactor' into hidden-support 2023-05-24 13:57:47 +05:30
Abhinav 200b7213ed Merge branch 'main' into gallery-refactor 2023-05-24 13:55:58 +05:30
Abhinav 32a95650d9 remove unneeded userOwnedNonTrashedExistingFiles state 2023-05-24 12:17:59 +05:30
Abhinav 7710c0440b cleanup code 2023-05-24 12:05:14 +05:30
Abhinav 018d62776a update syncCollection usage 2023-05-24 12:05:02 +05:30
Abhinav dd20f73603 leave collection ignore logic to createAlbum 2023-05-24 12:04:46 +05:30
Abhinav 904a518b98 return all collection after sync 2023-05-24 12:04:11 +05:30
Abhinav 62283b0ab1 only ignore default hidden collection while checking for replacement album 2023-05-24 11:58:56 +05:30
Crowdin Bot c296a93f13 New Crowdin translations by GitHub Action 2023-05-24 01:11:00 +00:00
Abhinav Kumar 8061ce4c62
Fix export window unresponsive (#1122) 2023-05-23 20:37:42 +05:30
Abhinav 7b7cc32ad8 add more logs 2023-05-23 17:43:58 +05:30
Abhinav fffccea273 update copy 2023-05-23 16:08:03 +05:30
Abhinav 5d62a56869 Revert "add one more log"
This reverts commit 214c0979bd.
2023-05-23 15:54:50 +05:30
Abhinav 02c54d2d6e Revert "add file migration logs"
This reverts commit d168d45829.
2023-05-23 15:54:37 +05:30
Abhinav 9c9ec00c5d remove total item count 2023-05-23 15:47:39 +05:30
Abhinav 9eb4445ff3 show in- progress state for migration 2023-05-23 15:43:52 +05:30
Abhinav 974a01be08 add progress bar to export migartion 2023-05-23 15:37:25 +05:30
Abhinav 4591d831c7 add types 2023-05-23 15:01:23 +05:30
Abhinav 0e96b32b87 rename 2023-05-23 14:30:13 +05:30
Abhinav dcdc5f73fb added comments 2023-05-23 14:20:53 +05:30
Abhinav 641490341b refactor magic numbers 2023-05-23 14:18:16 +05:30
Abhinav 9bed62e992 update AllCollectionDialog to handle large collectionSummary list 2023-05-23 14:14:05 +05:30
Abhinav b8733c275d add back scroll buttons 2023-05-23 13:01:35 +05:30
Abhinav 52fb02d855 update scroll strategy to smart 2023-05-23 12:53:57 +05:30
Abhinav 4a25c64545 fixed scroll to collection 2023-05-23 12:51:23 +05:30
Abhinav 2c72d6fcd8 fix card gap 2023-05-23 12:18:09 +05:30
Abhinav c23e3e9025 use isScrolling to prevent unnecessary renders 2023-05-23 12:14:57 +05:30
Abhinav 0582e6be38 remove memoization 2023-05-23 12:10:55 +05:30
Abhinav 77e124ae03 remove component memoization 2023-05-23 11:50:30 +05:30
Abhinav a1fbe349d5 Revert "testing collection card windowed render test"
This reverts commit aad5729b69.
2023-05-23 11:44:11 +05:30
Abhinav aad5729b69 testing collection card windowed render test 2023-05-23 11:43:40 +05:30
Abhinav 8b548fa561 use react window with collection cards 2023-05-23 11:39:48 +05:30
Abhinav 8dd28aa6e2 update scroll to collection card logic 2023-05-23 11:32:43 +05:30
Abhinav 506a214bea add react-virtualized-auto-sizer types 2023-05-23 11:31:04 +05:30
Abhinav 2bb709c878 add memoize-one package 2023-05-23 11:28:03 +05:30
Abhinav 756436e4cb add sleep(0) between iterations 2023-05-22 18:06:50 +05:30
Abhinav 214c0979bd add one more log 2023-05-22 16:34:52 +05:30
Abhinav d168d45829 add file migration logs 2023-05-22 16:16:05 +05:30
Abhinav 3110ccfe43 rename 2023-05-22 11:45:43 +05:30
Abhinav ca25727a15 update roadmap url 2023-05-22 11:19:05 +05:30
Crowdin Bot 2239abde69 New Crowdin translations by GitHub Action 2023-05-19 01:09:30 +00:00
Abhinav Kumar 1f22e0da12
Fix Modal not dismounted on close but stuck open at 0% opacity (#1117) 2023-05-18 16:11:50 +05:30
Abhinav c18bf08f84 fix unhide from collection 2023-05-18 16:02:31 +05:30
Abhinav eab16021ff reset deletedFileIds and hiddenFIlesIds on error too 2023-05-18 15:45:00 +05:30
Abhinav 879baa1104 add temp hiddenFileIds state 2023-05-18 15:43:44 +05:30
Abhinav cb997d020a Merge branch 'patch-broken-modal-close' into hidden-support 2023-05-18 15:35:38 +05:30
Abhinav eb41652736 use suggested https://github.com/mui/material-ui/issues/32286#issuecomment-1287951109 patch until issue is fixed 2023-05-18 13:56:54 +05:30
Abhinav c61991170c simplify getSelectedFiles and update hideFilesHelper with it 2023-05-18 11:28:08 +05:30
Abhinav a92679a6f9 Merge branch 'gallery-refactor' into hidden-support 2023-05-18 09:31:19 +05:30
Abhinav bba438af67 use filtered data to get selected files 2023-05-18 09:30:42 +05:30
Abhinav adb68d111f fix no files visible 2023-05-17 16:57:43 +05:30
Abhinav bdfdd510da Merge branch 'gallery-refactor' into hidden-support 2023-05-17 16:47:50 +05:30
Abhinav bb2b20f278 add hidden collection specific photoviewer logic 2023-05-17 16:46:40 +05:30
Abhinav e407dd308b show info icon for shared collection 2023-05-17 16:41:30 +05:30
Abhinav 93baf53951 Merge branch 'gallery-refactor' into hidden-support 2023-05-17 16:35:31 +05:30
Abhinav 51c163b6dc make fileToCollectionsMap and collectionNameMap optional 2023-05-17 16:35:05 +05:30
Abhinav e4c6b9049f Merge branch 'gallery-refactor' into hidden-support 2023-05-17 16:25:34 +05:30