Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix download of folders #2891

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Conversation

reivaj05
Copy link
Contributor

Fixes: #2890

Folders don't have a size attribute when they are retrieved from minio, i believe this is for design so new way to download in chunks won't work in this case, for the moment i'll let the browser handle the download as we do it for safari and later i'll check minio code if there is a way to send the size for folders to console

Copy link
Collaborator

@cesnietor cesnietor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested LGTM, thanks for the fix.

@cesnietor
Copy link
Collaborator

cesnietor commented Jun 16, 2023

@reivaj05 I just noticed that on Chrome, the snackBar message doesn't show up like it does on Safari when downloading the folder.

@reivaj05
Copy link
Contributor Author

reivaj05 commented Jun 16, 2023

@cesnietor That's right, it doesn't show as in Safari, i wasn't sure if we want to display it in this case, Safari always downloads with the browser so we display the message all the time, it can be added if we want the same behavior for this case

cc: @dvaldivia

@cesnietor
Copy link
Collaborator

@reivaj05 yeah it indeed might not be needed since Chrome has a more visible indication on what's going on.
Screenshot 2023-06-16 at 2 24 49 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Cannot read properties of null (reading 'close')' issue while downloading folders
6 participants