grantm / sudoku-web-app

A Sudoku web app - as used on SudokuExchange.com
GNU Affero General Public License v3.0
49 stars 22 forks source link

Save progress in local storage - as protection against a crash or lost tab #23

Closed grantm closed 3 years ago

grantm commented 4 years ago

Currently the user loses all their work and has to start over if there is a crash in either the app or the user's browser. Also, on mobile, if they switch away from the browser to another app, the OS might unload either the tab or the whole browser app - and subsequently restore just the starting grid when the user returns.

Initial thoughts about how this might work:

StasJS commented 3 years ago

Hey Grant,

I enjoyed your NZ JSCon presentation the other week and told my partner about it. She's been having a good time using it for the past week, but would really like this feature to be added. I would be happy to play around and spike something out, if that's OK?

grantm commented 3 years ago

Hi Jordan. I'm sure it's a feature that many people would appreciate, so yes, have at it. It dropped off my priority list once the app got stable :-)

grantm commented 3 years ago

This feature is live now on SudokuExchange.com.

Thank you for both your contribution and your patience.