Commit graph

326 commits

Author SHA1 Message Date
Abhinav-grd 5e5df08f6e add getToken function to ge token 2021-02-22 16:45:10 +05:30
Abhinav-grd 2c705cd665 updated AlertBanner to use errorCodes file 2021-02-22 13:20:41 +05:30
Abhinav-grd ac85460ed5 moved internetConnectivity Check logic to uploadService 2021-02-22 13:19:36 +05:30
Abhinav-grd 4cb835cefe changed ERR_NO_INTERNET_CONNECTION code to 1 and added missed break statements 2021-02-18 14:31:46 +05:30
Abhinav-grd 12368048d0 use constants for errorCodes 2021-02-18 13:36:50 +05:30
Abhinav-grd 24a0f75930 handle no internet connection error 2021-02-18 13:36:42 +05:30
Abhinav-grd afd3895ee3 Merge branch 'master' into handle-B2-errors 2021-02-18 12:55:19 +05:30
Abhinav-grd 8cbff31c36 Added progressBar modal close Button 2021-02-18 12:51:22 +05:30
Abhinav-grd d03fc0c339 added new uploadErrors state 2021-02-18 11:43:21 +05:30
Abhinav-grd 42c46165fa chnaged ErrorAlert to AlertBanner and errorCode state to bannerErrorCode 2021-02-18 11:36:57 +05:30
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 1bee6c9ac0 Auto focus on the email entry field 2021-02-17 16:40:07 +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 209dd4d1df Auto focus on the passphrase entry field 2021-02-17 14:39:52 +05:30
Vishnu Mohandas a2c8ae8eee Add missing brace 2021-02-17 14:39:43 +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 faf01918cb Merge branch 'master' into download-button 2021-02-16 19:13:06 +05:30
Abhinav-grd e7689f79e1 Merge branch 'master' into improve-uploading 2021-02-16 18:30:01 +05:30
Abhinav-grd 3cac7f17ed corrected KeyEncryptionResult import 2021-02-16 18:24:23 +05:30
Abhinav-grd 4bbfb61f56 fixed collection name decryption 2021-02-16 17:13: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
Vishnu Mohandas 08528d61e2 Merge branch 'master' of github.com:ente-io/bada-frame 2021-02-15 22:21:27 +05:30
Vishnu Mohandas 91e8bdf2f2 Move the logout button to the left 2021-02-15 22:21:00 +05:30
Abhinav-grd 7510749821 Merge branch 'first-load-ux' into download-button 2021-02-15 20:42:42 +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
Abhinav-grd a6ad3de6b0 Merge branch 'master' into first-load-ux 2021-02-15 19:33:05 +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 4e3b78eab1 Update password entry screen 2021-02-15 16:47:01 +05:30
Vishnu Mohandas 7e588e7666 Update verification screen 2021-02-15 16:35:41 +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
Vishnu Mohandas 4cb46be72f Update strings 2021-02-15 14:54:15 +05:30
Vishnu Mohandas 4378008330 Update app icon 2021-02-15 14:51:52 +05:30
Abhinav-grd 2d156859d1 added download button 2021-02-15 13:44:33 +05:30
Abhinav-grd 9169e068d1 show alert message and loader on first load 2021-02-15 10:49:19 +05:30
Abhinav-grd 5acb18c807 changed variable name USER_DOES_NOT_EXIST 2021-02-14 12:13:35 +05:30
Abhinav-grd 3d8d5ae8a6 updated the login component 2021-02-13 17:23:36 +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
Pushkar Anand e5bcc95c2f Build fix 2021-02-07 20:33:04 +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 310bcc1620 edited FullScreenDropZone to remove the unneccesary DropZone component wrapper 2021-01-19 10:12:11 +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 fe2aff1280 edited FullScreenDropZone to remove the unneccesary DropZone component wrapper 2021-01-19 10:04:42 +05:30
Abhinav-grd a58a8534be removed unnecessary fragments 2021-01-19 10:04:42 +05:30
Abhinav-grd bee1d7cfea updated all cryptoUtil calls to send Base64 values 2021-01-19 07:21:04 +05:30
Abhinav-grd 16c4e91607 updated all cryptoUtil calls to send Base64 values 2021-01-18 18:38:14 +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