uppy/packages/@uppy
Andrew e40cd018e1
Fix: Incorrect File Added Count (#2439)
On the dashboard, when uploading a folder, if files from that folder are not successfully added, the count would still say they are there

For example, If you're using Google Drive, and upload a folder with 3 images and 2 mp3 files. If you also have a restriction set to only allow images, Dashboard would still read something like "5 Files Added", even though only 3 would be there. I resolved this by making the `addFile` method in the `provider-views` package return a boolean value based on whether or not the file was added successfully. I then created a count variable with the `addFolder` method and added to that count for every successful addition. Using that count instead of the total count of files in the folder fixes this problem

Resolves #2038
2020-08-13 09:34:49 +02:00
..
aws-s3 Release 2020-07-30 15:52:20 +01:00
aws-s3-multipart Release 2020-08-10 17:49:30 +02:00
companion Release 2020-08-10 17:49:30 +02:00
companion-client Release 2020-07-30 15:52:20 +01:00
core Release 2020-08-10 17:49:30 +02:00
dashboard Release 2020-08-10 17:49:30 +02:00
drag-drop Release 2020-07-30 15:52:20 +01:00
dropbox Release 2020-07-30 15:52:20 +01:00
facebook Release 2020-07-30 15:52:20 +01:00
file-input Release 2020-07-30 15:52:20 +01:00
form Release 2020-07-30 15:52:20 +01:00
golden-retriever Release 2020-07-30 15:52:20 +01:00
google-drive Release 2020-07-30 15:52:20 +01:00
image-editor Release 2020-08-10 17:49:30 +02:00
informer Release 2020-07-30 15:52:20 +01:00
instagram Release 2020-07-30 15:52:20 +01:00
locales Release 2020-08-10 17:49:30 +02:00
onedrive Release 2020-07-30 15:52:20 +01:00
progress-bar Release 2020-07-30 15:52:20 +01:00
provider-views Fix: Incorrect File Added Count (#2439) 2020-08-13 09:34:49 +02:00
react Release 2020-08-10 17:49:30 +02:00
react-native Release 2019-10-09 21:00:46 +02:00
redux-dev-tools Release 2020-07-30 15:52:20 +01:00
robodog Release 2020-08-10 17:49:30 +02:00
screen-capture Release 2020-07-30 15:52:20 +01:00
status-bar Release 2020-08-10 17:49:30 +02:00
store-default Release 2020-07-30 15:52:20 +01:00
store-redux Release 2020-07-30 15:52:20 +01:00
thumbnail-generator Release 2020-07-30 15:52:20 +01:00
transloadit Release 2020-08-10 17:49:30 +02:00
tus Release 2020-07-30 15:52:20 +01:00
url Release 2020-07-30 15:52:20 +01:00
utils Release 2020-07-30 15:52:20 +01:00
webcam Release 2020-07-30 15:52:20 +01:00
xhr-upload Release 2020-07-30 15:52:20 +01:00
zoom Release 2020-07-30 15:52:20 +01:00