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

Retain form choices in "Load" dialog #62

Open
melange396 opened this issue Aug 29, 2024 · 0 comments · May be fixed by #67
Open

Retain form choices in "Load" dialog #62

melange396 opened this issue Aug 29, 2024 · 0 comments · May be fixed by #67
Assignees

Comments

@melange396
Copy link
Contributor

Preserve the previous state of the "Load from Epidata API" dialog in subsequent uses of it (that is, save the selections made and text entered into fields). This would be particularly useful when a bad request is made, so that an error can be corrected instead of filling out everything again. It would also be helpful, for instance, in comparing the same signal between different geos.

It naively "seems" easy enough to do this within a browser session by not resetting certain JS variables between instantiations of the dialog. It could also be handy to retain them across different sessions using cookies, if not too difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants