-
Notifications
You must be signed in to change notification settings - Fork 27
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
🎨 Frontend: Improve UX for "Download of Study Data" #3963
Conversation
Kudos, SonarCloud Quality Gate passed! |
Code Climate has analyzed commit 2e6b577 and detected 0 issues on this pull request. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice
Hi @odeimaiz, I'm getting this dialog when clicking on Download: |
What do these changes do?
This PR changes the way files are downloaded in the File Browser window.
Until now, we were downloading files using XMLHttpRequest and the given (presigned) URL. This meant that first the response had to be loaded, then convert it into the file blob and finally download it.
Now, we simply create a virtual HTML
<a>
tag, make it point to the given (presigned) URL and virtually click it, which directly starts the download process.Related issue/s
closes ITISFoundation/osparc-issues#899
How to test
Checklist