PlutoSliderServer.jl icon indicating copy to clipboard operation
PlutoSliderServer.jl copied to clipboard

Persist `@bind` value state if tab closes accidentally

Open pankgeorg opened this issue 3 years ago • 1 comments

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

pankgeorg avatar Jun 22 '22 16:06 pankgeorg

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.

fonsp avatar Sep 01 '22 15:09 fonsp