-
Notifications
You must be signed in to change notification settings - Fork 26
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
enable downloading log as a CSV #103
Comments
var csv = connection.history.received.join('\n'); // the CSV data
// old school, but doesn't seem to work for me?
window.open("data:text/csv;charset=utf-8," + escape(csv)); or generate a link: https://stackoverflow.com/questions/17564103/using-javascript-to-download-file-as-a-csv-file <a href="data:text/csv;charset=utf-8,'+escape(csv)+'" download="webjack.csv">download</a> We should put the timestamp (and ideally the better-formatted date + time) in the filename; |
Let's put the button here! Lines 55 to 58 in ce5d2a9
|
Hey, if its still open, can I claim it? |
Yes please! Thanks for the help!
…On Sun, Dec 29, 2019, 3:02 AM Devansh Agarwal ***@***.***> wrote:
Hey, if its still open, can I claim it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#103?email_source=notifications&email_token=AAAF6J5K6W6TEBUOHAKRSSTQ3BKQPA5CNFSM4HH5PGP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHY2FIQ#issuecomment-569483938>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6JZVUW2Q7U463OQLRCTQ3BKQPANCNFSM4HH5PGPQ>
.
|
Hello! |
It'd be great to be able to download the log as a CSV! Of course, you can just copy and paste it into a file right now. But still, a one-click button would be nice!
The text was updated successfully, but these errors were encountered: