question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Atom download

See original GitHub issue

Inside of Hydrogen (Atom Package), we use plotly.js to display plotly responses from a kernel. However inside atom, clicking links does not work the same as a normal browser. Therefore the download plot as png button does not behave as expected (it returns a success message and says the plot is downloaded, but it never actually is). I have code that could do the intended result, but that would require downloading your library modifying it and publishing the modified version. I would then have to continue to update as you guys update. So I prefer if I could have a way to support it natively.

const electron = require('electron');
electron.remote.getCurrentWebContents().downloadURL(insertCreatedUrlFromPlotly);

See nteract/hydrogen#1653 for example and original issue

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
wadethestealthcommented, Jul 8, 2019

Works like a charm @etpinard. Thanks for the help 😄

1reaction
wadethestealthcommented, Jul 8, 2019

This looks very promising I’ll try it out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sunsetting Atom | The GitHub Blog
We are archiving Atom and all projects under the Atom organization for an official sunset on December 15, 2022.
Read more >
Atom download | SourceForge.net
Atom is free to download and runs on Linux, OS X and Windows with support for plug-ins written in Node.js and embedded Git...
Read more >
Atom for Windows - Download it from Uptodown for free
Download Atom for Windows for free. The comprehensive text editor for programmers, created by GitHub. GitHub is one of the best software development ......
Read more >
Atom 1.63.1 Download - TechSpot
A free source code editor for Windows, Linux and macOS. It includes support for debugging, Git control, syntax highlighting, intelligent code ...
Read more >
Releases · atom/atom - GitHub
This is the last release of Atom. We will be archiving Atom and all repositories under the Atom organization on December 15, 2022....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found