Commit graph

274 commits

Author SHA1 Message Date
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
Abhinav 0f8e3622d6 add hiddenFiles as filteredData dependencies 2023-05-17 16:21:29 +05:30
Abhinav cb775651a9 shared collection can show info with disabled edits 2023-05-17 16:20:18 +05:30
Abhinav ed39b19ebf Merge branch 'gallery-refactor' into hidden-support 2023-05-17 15:45:00 +05:30
Abhinav 006f2944fb refactor filteredData dependency 2023-05-17 15:44:26 +05:30
Abhinav ae8304ff9e Merge branch 'gallery-refactor' into hidden-support 2023-05-17 15:33:14 +05:30
Abhinav 6dafd9bd03 fix archived collection hidden from all section 2023-05-17 15:30:58 +05:30
Abhinav c233719566 fix getUpdateReadyToInstallMessage 2023-05-17 11:23:39 +05:30
Crowdin Bot 9cfd0dc4a4 New Crowdin translations by GitHub Action 2023-05-17 01:11:22 +00:00
Abhinav 41e653b59a fix hidden count not updated when hiding new files 2023-05-16 18:05:15 +05:30
Abhinav 21e84f4bcf fix hidden delete 2023-05-16 17:59:24 +05:30
Abhinav 6938bec7f1 fix type 2023-05-16 16:48:33 +05:30
Abhinav eee2ce4429 Merge branch 'gallery-refactor' into hidden-support 2023-05-16 16:47:18 +05:30
Abhinav 095abf71da fix archived collection filtering 2023-05-16 16:40:38 +05:30
Abhinav a344d96d71 refactor filteredData archivedCollections view logic and keep sharedFile non searchable 2023-05-16 16:36:41 +05:30
Abhinav b2a3e9ef80 remove unneeded async await 2023-05-16 16:02:08 +05:30
Abhinav 67f3739f16 no need of migration in progress state 2023-05-16 16:02:01 +05:30
Abhinav f500214782 no need to call cancel export on folder change 2023-05-16 16:01:53 +05:30
Abhinav 204b57b62a run migration in pre-export 2023-05-16 16:01:45 +05:30
Abhinav b3ae19765c fix export cancellation 2023-05-16 16:01:36 +05:30
Abhinav 7c37e900c8 fix missing promie 2023-05-16 16:01:28 +05:30
Abhinav b6f7f5f33c move finally logic to catch to handle export stopped error case 2023-05-16 16:01:21 +05:30
Abhinav 63350bf1a3 throw export stopped error to skip doing post processing for stopped export 2023-05-16 16:01:14 +05:30
Abhinav 02bfbedae6 clear in progress export on export stop 2023-05-16 16:01:06 +05:30
Abhinav ff84ebc7ab stop any running export on export folder change 2023-05-16 16:00:59 +05:30
Abhinav a079051813 mergeMetadata 2023-05-16 16:00:52 +05:30
Abhinav 0a6c35ef20 fix build 2023-05-16 14:33:25 +05:30
Abhinav 47ea3d1d02 add back msc and src prop prefilling and rename prop back to files 2023-05-16 14:21:36 +05:30
Abhinav bc0219ac4b fix search intiated from trash section 2023-05-16 14:13:30 +05:30
Abhinav d984767c31 don't show archive collection files in archive section 2023-05-16 14:08:56 +05:30
Abhinav 10a4010d0d rename PhotoFrame file prop to displayFiles 2023-05-16 14:08:00 +05:30
Abhinav 021e7c04b5 fix trash section file count and no need to set archive section or trash section latest file 2023-05-16 14:07:05 +05:30
Abhinav fae6eb18b9 remove file prop pre filling 2023-05-16 14:05:22 +05:30
Abhinav 807d960307 separate state for trashedFiles 2023-05-16 13:49:28 +05:30
Abhinav 6b4e5173f0 refactor file filteration 2023-05-16 12:46:47 +05:30
Abhinav eaab3e6908 update file type with isTrashed prop 2023-05-16 12:36:28 +05:30
Abhinav 5be2f2d84d add user gallery context and fix issues 2023-05-16 12:34:55 +05:30
Abhinav 2f971fe367 Merge branch 'gallery-refactor' into hidden-support 2023-05-16 10:47:55 +05:30
Abhinav 6c4e192cfc use useMemoSingleThreaded 2023-05-16 10:45:36 +05:30
Abhinav 477848fb16 Merge branch 'gallery-refactor' into hidden-support 2023-05-16 10:35:53 +05:30
Abhinav cd1fc6782b separate hidden and trash from files state 2023-05-16 10:13:14 +05:30
Abhinav af9cc39249 update shared-album 2023-05-16 10:07:41 +05:30
Abhinav 3376df7473 updated dedupe page to use the new updated gallery 2023-05-16 10:06:20 +05:30
Abhinav 9b359c2092 move filtration logic to gallery 2023-05-16 10:04:44 +05:30
Abhinav a26c2ab3be add hook useMemoSingleThreaded 2023-05-16 10:03:02 +05:30
Abhinav 3ed7f157df add utils 2023-05-16 10:02:13 +05:30
Abhinav 2b445bfdee disable info shortcut working for incoming shared collection 2023-05-16 09:43:26 +05:30
Abhinav cbba799e7b remove filtration logic from PhotoFrame 2023-05-16 09:41:48 +05:30
Crowdin Bot 033aa73e5d New Crowdin translations by GitHub Action 2023-05-15 01:10:28 +00:00
Crowdin Bot e8ff51be07 New Crowdin translations by GitHub Action 2023-05-13 15:42:24 +00:00
Abhinav aae68585bf change translations string 2023-05-13 21:08:51 +05:30
Abhinav 30766a01c5 change Album title 2023-05-13 21:03:40 +05:30
Vishnu 8387a1a917 Use "ente Photos" as the title for albums 2023-05-13 20:51:49 +05:30
Abhinav Kumar 368d8bc506
fix export migration issue (#1108) 2023-05-12 21:32:00 +05:30
Abhinav c6358a486b revert use file.collectionID during move change, causing issue while removing from favorite 2023-05-12 18:51:26 +05:30
Abhinav 5ba0638d8f Merge branch 'main' into hidden-support 2023-05-12 18:22:59 +05:30
Abhinav 95a576d9e0 don't show hidden file in dedupe page 2023-05-12 18:16:32 +05:30
Abhinav e236025dff rename util and fix hidden file shown as latest file of all section and exclude hidden file from all files count 2023-05-12 17:52:10 +05:30
Abhinav 752f659146 translate other system collections too 2023-05-12 17:47:13 +05:30
Abhinav 9022fd3bbe show translated name as collection name for hidden collection 2023-05-12 17:44:25 +05:30
Abhinav 0efd4f7549 remove comment 2023-05-12 16:46:19 +05:30
Abhinav a996d13e14 set sso domain to web.ente.io 2023-05-12 16:41:08 +05:30
Abhinav 374aaf07eb patch moveToHiddenCollection for case where file was also present in hidden 2023-05-12 15:05:04 +05:30
Abhinav 365e5af934 simplify syncing hidden files logic 2023-05-12 13:34:24 +05:30
Abhinav 8bea2dfd53 refactored using existing collection as replacement logic to just for createAlbum 2023-05-12 13:26:37 +05:30
Abhinav f58785410d reorder options 2023-05-12 13:05:39 +05:30
Abhinav 8efdb683e3 special cased hidden collection quick option and overflow menu options 2023-05-12 13:05:10 +05:30
Abhinav a82b0224e9 updated getSelectedFiles to return current specific file copy and updated moveToCollection to not expected sourceCollectionID separately and update moveToCollection usages 2023-05-12 12:39:12 +05:30
Abhinav eebdc53b22 remove console log 2023-05-12 12:17:56 +05:30
Abhinav 459f820633 fix hide from all section 2023-05-12 12:14:37 +05:30
Abhinav 9bb01bc64d add includeAllCopies option 2023-05-12 12:11:23 +05:30
Abhinav 91a3bfb1fb revert moveToCollection changes 2023-05-12 12:00:20 +05:30
Abhinav 82e38b7034 fix isValidReplacementCollection 2023-05-12 10:33:21 +05:30
Abhinav 83a026b2d3 remove unneeded wrapper outdated comments 2023-05-11 16:08:16 +05:30
Abhinav 210163dfe4 show unhide to album title 2023-05-11 15:54:03 +05:30
Abhinav ccb8144cf0 throw migration error 2023-05-11 15:35:00 +05:30
Abhinav 5d6183f246 moved migration to be done as part of export starting progress 2023-05-11 15:34:03 +05:30
Vishnu Mohandas 2fcf739972
Update string 2023-05-11 13:51:02 +05:30
Abhinav 122cef42e7 remove console.log 2023-05-11 12:22:17 +05:30
Abhinav b0a9aee724 fix getSearchableFiles 2023-05-11 12:20:37 +05:30
Abhinav 0b66a6685a make hidden collections and files unsearchable and add better isValidReplacementCollection check 2023-05-11 12:10:26 +05:30
Abhinav 923bc858e4 add CollectionSummaryType type hidden 2023-05-11 11:47:50 +05:30
Abhinav f030d94a0f fix build 2023-05-11 11:43:36 +05:30
Abhinav ddad96ddbd group files and derive fromCollectionID in moveToCollection function 2023-05-11 11:36:20 +05:30
Abhinav 715b5d9875 implement hide and unhide file functionality 2023-05-11 11:32:35 +05:30
Crowdin Bot e8bbda3e90 New Crowdin translations by GitHub Action 2023-05-11 01:08:39 +00:00
Abhinav 4304a5e09f merge hidden files in file DB 2023-05-10 18:12:38 +05:30
Abhinav 1b1d64c391 fix hidden section file count 2023-05-10 18:11:30 +05:30
Abhinav 21d9c66320 fix filtering of filteredData 2023-05-10 18:11:12 +05:30
Abhinav 55beebffb6 refactored filteredData filtrating logic and add support to hide hidden photos 2023-05-10 16:51:17 +05:30
Abhinav cae2b3abb4 make a separate hidden section independent of the default hidden collection 2023-05-10 16:49:36 +05:30
Abhinav 451e0c54a4 add hidden file sync logic 2023-05-10 16:38:48 +05:30
Abhinav 7c4a56c78f dont remove hidden from results 2023-05-10 16:32:46 +05:30
Abhinav d8e1480c97 authenticate user before opening hidden section 2023-05-10 14:47:52 +05:30
Abhinav 75770fbff0 moved authenticateUserModal to gallery 2023-05-10 14:46:46 +05:30
Abhinav 317ac81568 add hidden section shortcut sidebar menu item 2023-05-10 14:36:31 +05:30