Feature request: use session storage as temp storage for batch mode
Rubiks-boy opened this issue · 1 comments
Rubiks-boy commented
Hi, thanks for adding batch mode!
Due to poor internet, we were trying to use it for a recent competition. However, our internet dropped entirely, and we ended up refreshing the page, which cleared our batch of scorecards.
would it be possible to use session storage as a temp location for storing batches until a batch is submitted?
jonatanklosko commented
In the initial implementation I want to added an alert to prevent from refresh/navigation, but it turned out that react-router that we use doesn't have a good API for that currently. Persisting to local storage sounds good! Added in #163.