Commit graph

235 commits

Author SHA1 Message Date
Abhinav-grd 72e9b1cfa2 added error handler adn grouped errorCode and handler in errorUtil file 2021-02-22 16:50:08 +05:30
Abhinav-grd f7c1e6912a corrected subscription typo 2021-02-22 16:45:33 +05:30
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 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