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

Persist @bind value state if tab closes accidentally #76

Open
pankgeorg opened this issue Jun 22, 2022 · 1 comment
Open

Persist @bind value state if tab closes accidentally #76

pankgeorg opened this issue Jun 22, 2022 · 1 comment

Comments

@pankgeorg
Copy link
Member

For example, suppose that someone works in a PlutoSliderServer notebook and accidentally closes the tab. It would be nice to save and reload the state when we reload the page, for example by saving in the localStorage

@fonsp
Copy link
Member

fonsp commented Sep 1, 2022

Hmmm, I found the resetting to be what I expected, it also helps recover from problems.

Maybe we could store the state, and upon refresh, show a button that offers to "Reset inputs to previous state"? Or the opposite: always restore, and offer a "Reset" button.

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

2 participants