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

add Download button #104

Open
gregallensworth opened this issue May 15, 2018 · 0 comments
Open

add Download button #104

gregallensworth opened this issue May 15, 2018 · 0 comments

Comments

@gregallensworth
Copy link
Member

Add to the nav bar at the top, a new Download link.

Option 1

A hyperlink in a new tab, to CARTO, containing the very same SQL query which is being used to generate the data, except with &format=csv added.

  • Potential for very long URLs? An URL above 1000ish characters is not a good idea... Check into the queries and see how lengthy some of them get, whether any of them require using POST instead of GET.
  • Best way to expose that raw SQL query to higher-level places such as the Application and thus the navbar...

Option 2

Create a false file download dialog of the data already in-memory from reselect. Could circumvent long-URL issues, and give faster performance.

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

No branches or pull requests

1 participant