Skip to content

Fix unknown filename when exporting charts using new versions of Safari - #5838

Merged
archmoj merged 6 commits into
masterfrom
safari-download
Jul 20, 2021
Merged

Fix unknown filename when exporting charts using new versions of Safari#5838
archmoj merged 6 commits into
masterfrom
safari-download

Conversation

@archmoj

@archmoj archmoj commented Jul 19, 2021

Copy link
Copy Markdown
Contributor

Closes #1227.

Follow up for PR #5609 thanks to @rlreamy

@plotly/plotly_js

rlreamy and others added 2 commits April 26, 2021 13:46
@archmoj archmoj added bug something broken community community contribution status: has TODOs labels Jul 19, 2021
@archmoj
archmoj requested a review from alexcjohnson July 19, 2021 21:29
@archmoj archmoj added this to the NEXT milestone Jul 19, 2021
@archmoj archmoj changed the title Fix Safari download Fix unknown filename when exporting charts using new versions of Safari Jul 19, 2021
Comment thread test/jasmine/tests/download_test.js Outdated

it('should produce right output in Safari', function(done) {
/*
it('should produce right output in Old Safari', function(done) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we really want to keep these commented-out tests around? Unless you want to try and mock canUseSaveLink===false - which I don't really think is worth it at this point - I'd just delete them.

@alexcjohnson alexcjohnson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

💃 after doing something with the obsolete tests.

@nicolaskruchten

Copy link
Copy Markdown
Contributor

✨ works for me on Safari 13.

@archmoj
archmoj merged commit f1d4f48 into master Jul 20, 2021
@archmoj
archmoj deleted the safari-download branch July 20, 2021 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken community community contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown filename when exporting charts (Safari)

4 participants