Commit graph

673 commits

Author SHA1 Message Date
Vishnu Mohandas 1178ff23dc Update style of selected collection 2021-02-17 18:26:35 +05:30
Vishnu Mohandas 7829750d88 Remove onDragLeave triggers 2021-02-17 18:03:22 +05:30
Vishnu Mohandas 7489ab581f Depend on the collection updation time to display the first load banner 2021-02-17 15:17:26 +05:30
Vishnu Mohandas 1104a9d919 Return early if key is null 2021-02-17 14:46:20 +05:30
Vishnu Mohandas 4194390aa9 Merge branch 'download' into bhasaad 2021-02-17 14:36:40 +05:30
Vishnu Mohandas 79da1175f2 Change selected type to Number 2021-02-17 14:31:43 +05:30
Abhinav-grd 6517692214 display loadingBar while downloading image 2021-02-17 14:15:28 +05:30
Abhinav-grd 8679b5f62b random optimizations 2021-02-17 14:05:19 +05:30
Abhinav-grd b786f85ef7 corrected downloadManager import 2021-02-17 13:36:20 +05:30
Abhinav-grd 6fa8bf6246 updated to use the DownloadManager 2021-02-17 10:50:21 +05:30
Abhinav-grd 2cf099132e Merge branch 'master' into improve-uploading 2021-02-16 15:08:30 +05:30
Abhinav-grd cd358b3ff6 moved key to div wrapper 2021-02-16 13:20:37 +05:30
Abhinav-grd e16efe817c remove src and msrc saem check 2021-02-16 11:52:59 +05:30
Abhinav-grd 52714bc6f0 handle case when user actually has no data 2021-02-16 11:42:27 +05:30
Vishnu Mohandas 6d21de8681 Replace the upload button with an icon 2021-02-16 00:50:33 +05:30
Abhinav-grd 314c939c30 show loadingbar for initial load 2021-02-15 20:00:26 +05:30
Abhinav-grd 254780429f Merge branch 'master' into first-load-ux 2021-02-15 19:37:50 +05:30
Vishnu Mohandas b0937d1a7e Update create collection dialog 2021-02-15 19:15:48 +05:30
Vishnu Mohandas f3097a67c3 Update collection selector modal 2021-02-15 18:49:59 +05:30
Vishnu Mohandas aaffd4d289 Embrace the darkness 2021-02-15 18:12:03 +05:30
Vishnu Mohandas a609f966cf Remove background for unloaded image 2021-02-15 17:15:10 +05:30
Vishnu Mohandas c57772c2fb Update gallery screen 2021-02-15 17:04:11 +05:30
Vishnu Mohandas 9ef43724e6 Remove redundant spinner 2021-02-15 16:59:02 +05:30
Vishnu Mohandas 4380d2cee0 Change loading bar color 2021-02-15 16:51:34 +05:30
Vishnu Mohandas f42ae6e551 Update login screen 2021-02-15 16:16:16 +05:30
Abhinav-grd 63ae6f79af added data length zero check before rendering intial load delay alert 2021-02-15 15:37:36 +05:30
Abhinav-grd 9169e068d1 show alert message and loader on first load 2021-02-15 10:49:19 +05:30
Abhinav-grd 82b60f085c removed console log 2021-02-13 16:30:52 +05:30
Abhinav-grd 1d5473f3dd added braces everywhere and formated all files 2021-02-09 15:04:10 +05:30
Abhinav-grd 926a879f63 made errorAlert as default export 2021-02-09 12:38:45 +05:30
Abhinav-grd d5382f40ca Merge branch 'master' into handle_subscription_errors 2021-02-09 12:33:44 +05:30
Abhinav-grd 49d981e86a Merge branch 'master' into handle_subscription_errors 2021-02-09 12:26:42 +05:30
Abhinav-grd 21f2a7a4df added setting favItemIds state on intial load 2021-02-09 11:44:00 +05:30
Abhinav-grd a4a3ad2e40 renamed collectionLatestfile to collectionAndItsLatestFile 2021-02-09 11:34:19 +05:30
Abhinav-grd 85b96b1ef6 corrected DATE_CONTAINER_HEIGHT 2021-02-09 11:03:45 +05:30
Abhinav-grd 6ac4e7a269 Merge branch 'master' into collection-delete 2021-02-09 10:31:53 +05:30
Abhinav-grd 336fb1d551 uppercased o in no of pages 2021-02-08 22:59:45 +05:30
Abhinav-grd 82232cb270 added value variables 2021-02-08 22:45:13 +05:30
Abhinav-grd 95d50cc3c3 updated the function calls 2021-02-08 21:45:21 +05:30
Abhinav-grd cb49d98178 udpated with new get collection function 2021-02-08 16:21:40 +05:30
Abhinav-grd 99d547016e updated collection id type to number 2021-02-08 14:51:24 +05:30
Abhinav-grd 9ca1f5a683 added overscan property to prefetch files 2021-02-08 14:38:15 +05:30
Pushkar Anand 0a7cc252cb
Fix top bar color 2021-02-08 11:28:52 +05:30
Pushkar Anand ce4a521636 Fix gallary gird. 2021-02-08 09:57:55 +05:30
Pushkar Anand 36c84807f1
Merge pull request #9 from ente-io/file-loading-single-update
File loading single update
2021-02-07 21:15:07 +05:30
Abhinav-grd 1079a91056 used better variable names 2021-02-06 00:49:43 +05:30
Abhinav-grd 053568980e Merge branch 'collection-ops' into file-loading-single-update 2021-02-05 23:00:19 +05:30
Abhinav-grd 814530f1d1 abstracted fetch logic to syncWithRemote function 2021-02-05 22:34:32 +05:30
Abhinav-grd 08c993061c updated getCollectionLatestFile to use local files 2021-02-05 22:27:41 +05:30
Abhinav-grd 2e7f0e520a abstracted fetch calls to load data function 2021-02-05 19:34:08 +05:30
Abhinav-grd c281465fcd made setFavItemIds indepedent of collections updates 2021-02-03 13:53:32 +05:30
Abhinav-grd 42aca0ca00 Merge branch 'collection-ops' into file-loading-single-update 2021-02-03 13:45:47 +05:30
Abhinav-grd 2c0ba89c33 added updated collection not empty check 2021-02-03 13:44:37 +05:30
Abhinav-grd 61f0a07b3a abstracted out dropzone into seperate component 2021-02-03 11:42:07 +05:30
Abhinav-grd de5d47dbc7 abstracted out dropzone into seperate component 2021-02-03 11:26:11 +05:30
Abhinav-grd 121e3696d7 moved closing progressbar logic to finally block 2021-02-02 18:27:35 +05:30
Abhinav-grd 187d781726 added try catch block to dropzone Callback and setErrorCode on errors 2021-02-02 18:11:22 +05:30
Abhinav-grd ee663bc72c added new state errorCode and added errorAlert component to gallery 2021-02-02 18:09:36 +05:30
Abhinav-grd 50dc915401 Added ErrorAlert component 2021-02-02 18:08:28 +05:30
Abhinav-grd e524e0bc46 updated to use localCollection and fetchUpdatedCollections 2021-01-31 17:41:21 +05:30
Abhinav-grd 80c46796cf intial localFile Loading and then reload after complete fetch 2021-01-27 11:44:02 +05:30
Abhinav-grd 6321874ead added PreviewCard prop forcedEnable to overrride disable property 2021-01-26 15:14:56 +05:30
Abhinav-grd 01aef37a16 exported strings to englishConstants 2021-01-25 13:25:27 +05:30
Pushkar Anand a3379dc53a Updated empty content text. 2021-01-25 02:29:58 +05:30
Pushkar Anand e98ae28856 Fix fab button UI. 2021-01-25 02:24:14 +05:30
Pushkar Anand fc760ed471 UX fixes for File upload and Collection selection. 2021-01-25 01:52:12 +05:30
Abhinav-grd 49410a0eca reloaded data on photoswipe gallery close 2021-01-20 18:17:20 +05:30
Abhinav-grd c4e16ecfba added key to list elements 2021-01-20 17:35:32 +05:30
Abhinav-grd 58d1ffb66f added favItemId state 2021-01-20 17:35:04 +05:30
Abhinav-grd 1a8d53c739 Merge branch 'file-upload' into collection-ops 2021-01-20 08:43:52 +05:30
Abhinav-grd 78f4cca807 add check for getData reponse to be null 2021-01-20 08:40:00 +05:30
Abhinav-grd 63b26baa01 converted component to normal functions 2021-01-20 07:17:27 +05:30
Abhinav-grd e3c1b412e5 Merge branch 'file-upload' into collection-ops 2021-01-19 14:00:51 +05:30
Abhinav-grd c82cc2b5f1 replaced double equals with tripple equals 2021-01-19 10:32:21 +05:30
Abhinav-grd 40f27d0d17 fixed bug dropzone rejecting json file 2021-01-19 10:29:09 +05:30
Abhinav-grd 8e2b37fa78 improved styling 2021-01-19 10:28:32 +05:30
Abhinav-grd a9672056f1 made style imporvements 2021-01-19 10:27:21 +05:30
Abhinav-grd 37cb6f4d68 added onDragOver event on collectionDropzones to prevent filkerring 2021-01-19 10:17:13 +05:30
Abhinav-grd 5e0a547960 removed unnecessary fragments 2021-01-19 10:11:35 +05:30
Abhinav-grd 65a4489cf8 added onDragOver event on collectionDropzones to prevent filkerring 2021-01-19 10:04:42 +05:30
Abhinav-grd a58a8534be removed unnecessary fragments 2021-01-19 10:04:42 +05:30
Abhinav-grd c4f56d54c5 removed unneccesary token and masterKey props 2021-01-18 09:38:35 +05:30
Abhinav-grd ab9a0bc21b Added the photoswipe react component locally 2021-01-18 09:38:35 +05:30
Abhinav-grd 5d3f7af0fe made create Collection modal smaller and button width 100% 2021-01-18 09:38:35 +05:30
Abhinav-grd 36b4eab2f0 fixed bug dropzone rejecting json file 2021-01-18 09:38:35 +05:30
Abhinav-grd eb7cd41e00 corrected collection import 2021-01-18 09:38:35 +05:30
Abhinav-grd aeb3de2844 improved styling 2021-01-18 09:38:35 +05:30
Abhinav-grd 6815470c80 made style imporvements 2021-01-18 09:38:35 +05:30
Abhinav-grd 95fc146657 refactored getfiles and moved getCollectionLatestFile to collection service 2021-01-18 09:38:35 +05:30
Abhinav-grd ed922371d9 added logic to auto fill Collection name with folder name 2021-01-18 09:38:35 +05:30
Abhinav-grd b829187424 restructed the components related to new collection create 2021-01-18 09:37:57 +05:30
Abhinav-grd 87faa7f1f1 replace setData prop to refreshData for forcing reload of gallery component 2021-01-18 09:37:57 +05:30
Abhinav-grd 4707b94a9f added state to trigger useEffect 2021-01-18 09:37:57 +05:30
Abhinav-grd 2a547cde4e integrated Add Collection Icon component 2021-01-18 09:37:57 +05:30
Abhinav-grd 588061ee5c added named exports 2021-01-18 09:37:57 +05:30
Abhinav-grd 63ee4293bd Added addCollection Component 2021-01-18 09:37:57 +05:30
Abhinav-grd d867756868 Added CreateCollection Component 2021-01-18 09:37:57 +05:30
Abhinav-grd faa1fb329a Cleaned up uploadButton component 2021-01-18 09:37:57 +05:30
Abhinav-grd 331d6e4d92 removed unused parameter encryptionKey from fetchData 2021-01-18 09:37:57 +05:30
Abhinav-grd d687999f92 refactored Collection related function to collection Service 2021-01-18 09:37:01 +05:30
Abhinav-grd 8999ded2bd added condtional property lookup to filecounter prop 2021-01-13 09:44:01 +05:30
Abhinav-grd 15bca89639 restructed props arguments 2021-01-12 19:59:38 +05:30
Abhinav-grd 205c7f9196 accept JSON metadataFiles in dropzone 2021-01-12 19:13:41 +05:30
Abhinav-grd 2a9e34292e minor ui improvements 2021-01-12 13:30:40 +05:30
Abhinav-grd b7c7f02141 prevent progress modal closing during upload 2021-01-12 13:30:14 +05:30
Abhinav-grd f82e4c2b41 Modified file metadata property names 2021-01-12 12:31:00 +05:30
Abhinav-grd 1b32791fb4 Improved Progress bar UI 2021-01-12 12:29:37 +05:30
Abhinav-grd 52295b0548 added uploadButtonView state 2021-01-11 15:20:11 +05:30
Abhinav-grd 4c509644cc added progress bar component update logic 2021-01-11 14:45:41 +05:30
Abhinav-grd cbb74b9a59 added update data state on upload logic 2021-01-11 13:47:19 +05:30
Abhinav-grd 103bd7fce7 renamed modalview state to uploadmodalview 2021-01-11 13:46:23 +05:30
Abhinav-grd 2dcd95f6a6 refactored fetchData to fileService and collectionSelector to upload component 2021-01-11 13:43:53 +05:30
Abhinav-grd f07e7b3502 added accept prop to dropzone to accept only image and video 2021-01-08 18:41:48 +05:30
Abhinav-grd 54b7a1162c passed token to uploadService 2021-01-08 13:16:57 +05:30
Abhinav-grd a65f101fe5 added token state 2021-01-08 13:16:10 +05:30
Abhinav-grd c5e0c19a05 replaced inline functions with named 2021-01-08 09:27:31 +05:30
Abhinav-grd ffc6b4e12e removed local user related data from component 2021-01-08 08:38:50 +05:30
Abhinav-grd 8539912f3f integrated file upload service 2021-01-07 16:20:21 +05:30
Abhinav-grd cf265bd306 changed card.img to previewCard 2021-01-07 16:15:50 +05:30
Abhinav-grd 0c7fedc09a css changes 2021-01-06 23:24:06 +05:30
Abhinav-grd f7ad11e08b added collectionLatestFile undefined/null check 2021-01-06 13:16:02 +05:30
Abhinav-grd 99c57c5ad2 style changes to collectionSelector 2021-01-06 13:03:37 +05:30
Abhinav-grd b7e0ccd900 seperate DropZone component for collections 2021-01-06 12:47:56 +05:30
Abhinav-grd 230ba38840 Moved FileUpload to _app 2021-01-06 12:01:16 +05:30
Abhinav-grd 9fb0920c43 fixed UploadProgress import to gallery 2021-01-06 10:06:19 +05:30
Abhinav-grd 45507d13bd added default export to UploadProgress 2021-01-06 09:15:49 +05:30
Abhinav-grd ae03343066 passed Setprogress as prop to File Upload component 2021-01-05 16:44:19 +05:30
Abhinav-grd 38ef6d12bc integrated upload progress component 2021-01-05 16:42:38 +05:30
Abhinav-grd 0612361ee2 Added Upload Progress component 2021-01-05 16:42:02 +05:30
Abhinav-grd 40861e5e74 updated passed collection prop to collectionLatestFile 2021-01-05 16:02:13 +05:30
Abhinav-grd 01c9edaac2 added collectionLatestFile state and setCollectionLatestFile logic 2021-01-05 15:59:05 +05:30
Abhinav-grd 34d1a261b9 Prevented EventPropgration to gallery dropzone and style changes 2021-01-05 13:18:13 +05:30
Abhinav-grd 7c53f3936a added FileUpload wrapper Component over collection cards 2021-01-05 13:06:35 +05:30
Abhinav-grd 7b36fba3dc refactored and moved CollectionSelector to Gallery 2021-01-05 13:05:47 +05:30
Abhinav-grd 8ee630fc43 Updated CollectionSelector to show actual collection data 2021-01-05 12:53:28 +05:30
Abhinav-grd 4e8117b6b2 Passed collections to CollectionSeclector 2021-01-05 12:47:46 +05:30
Abhinav-grd c49084430f Updated the CollectionSelector to display Collections 2021-01-05 12:47:17 +05:30
Abhinav-grd 5921c6ea23 [Abhinav] | integrated uploader components with gallery component 2021-01-05 10:57:34 +05:30
Abhinav-grd 6b7b579197 [Abhinav] | moved upload Button to gallery component 2021-01-05 10:56:33 +05:30
Abhinav-grd 1fe714fb2a [Abhinav] | Added logic to show upload modal on hover 2021-01-05 10:55:58 +05:30
Abhinav-grd f64051008c [Abhinav] | Created CollectionSelector Component 2021-01-05 10:55:08 +05:30
Abhinav-grd 09f858e592 [Abhinav] | turned off the click event lisener on DrapAndDrop component 2021-01-05 08:13:38 +05:30
Abhinav-grd d71d89bada [Abhinav] | Integrated FileUpload with gallery component 2021-01-05 08:10:59 +05:30
Abhinav-grd 82729532fe [Abhinav] | Added dragAndDropUpload component 2021-01-05 08:00:43 +05:30
Pushkar Anand cfbb32702c Fix for layout messup on resize / collection switch. 2020-11-29 21:08:38 +05:30
Pushkar Anand 3cebd4c96c CSS fix. 2020-11-29 20:28:34 +05:30
Pushkar Anand 37062f93ba Design fixes. 2020-11-29 20:25:07 +05:30
Pushkar Anand c78774f232 Timestamp list support. 2020-11-29 20:18:47 +05:30
Pushkar Anand 2798163ec0 Fix for high res image not loading. 2020-11-29 00:13:24 +05:30
Pushkar Anand 140b4860ac Responsive fix. 2020-11-28 23:46:56 +05:30
Pushkar Anand ba24e8ee46 Collection handling. 2020-11-28 23:41:24 +05:30
Pushkar Anand 8f27d7636f Video fix. 2020-11-26 23:05:26 +05:30
Pushkar Anand b6fbc79e7e Build fix 🤦‍♂️ 2020-11-26 22:09:43 +05:30
Pushkar Anand cd56c9b0b0 Video support. 2020-11-26 22:04:23 +05:30
Pushkar Anand 4d2743cec9 build fix 2020-11-25 20:11:32 +05:30
Pushkar Anand 44f550d55f zoom on mobile devices. 2020-11-25 19:44:05 +05:30
Pushkar Anand 6c75a433ee Removed ; 2020-11-25 19:12:24 +05:30
Pushkar Anand a6774ef269 Fix for update. 2020-11-24 10:19:18 +05:30
Pushkar Anand 3e86d03efc Full image load done. 2020-11-24 10:10:02 +05:30
Pushkar Anand c53af912f0 Responsive handling. 2020-11-23 11:50:00 +05:30
Pushkar Anand 437682a901 Build fix. 2020-11-23 08:45:28 +05:30
Pushkar Anand 6adc49cc2b Inmemory caching with photoswipe on thumbnail. 2020-11-23 08:30:54 +05:30
Pushkar Anand a7664dbab1 Infinite pagination. 2020-11-20 22:54:21 +05:30
Vishnu Mohandas 90b41c67a5 Increase diff response limit 2020-11-20 16:52:13 +05:30
Pushkar Anand 8908615bc5 Storage and icon update. 2020-11-20 14:17:20 +05:30
Pushkar Anand 623d115019 Fixes. 2020-11-07 21:13:00 +05:30
Vishnu Mohandas 9a0adc1e1e Fix minor errors 2020-11-07 16:43:00 +05:30
Vishnu Mohandas e2c0c381c8 Update the file fetching APIs 2020-11-07 16:40:49 +05:30
Pushkar Anand ad1e90dfcc Moved libsodium to worker. 2020-10-03 19:51:56 +05:30
Pushkar Anand f9ee680c8f Initial gallary chagnes. 2020-09-20 20:48:35 +05:30
Pushkar Anand 8e76f6b5bd Added web worker for parallel decryption. 2020-09-20 02:50:10 +05:30
Pushkar Anand 5478a2e8a1 Using local and session storage to maintain session.
+ Fixed SSR of styled components.
+ Added warninig message in console.
2020-09-13 12:00:07 +05:30
Pushkar Anand 2e10ea441e Login and key generation flow complete! 2020-09-13 03:23:41 +05:30