gush-labs / kazan

VueJS web-app to practice Japanese
https://gush-labs.github.io/kazan/
GNU General Public License v3.0
1 stars 1 forks source link

Make it safe to reload the review page #83

Open VadimGush opened 1 year ago

VadimGush commented 1 year ago

Currently if user is doing a review and the page is reloaded, the user will lose all progress. Which is not a good thing and we want to avoid that. The progress should be saved and restored on every page refresh.

VadimGush commented 1 year ago

In order to do that we will need to submit a review state to the Storage so it will be saved across sessions.

bill876 commented 1 year ago

if it is only needed short-term (until user clicks away to main or something) you could also store it in the url

VadimGush commented 1 year ago

@bill876 I think it will probably complicate implementation too much because the app will not be able to save an entire state of the review in the URL.