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

Save not synced answers in local storage #13

Open
hodak opened this issue Dec 14, 2015 · 0 comments
Open

Save not synced answers in local storage #13

hodak opened this issue Dec 14, 2015 · 0 comments

Comments

@hodak
Copy link
Owner

hodak commented Dec 14, 2015

Exam solver works offline: when you load exam and lose internet connection, you can still solve the exam and once you regain internet connection, your answers will be synced.

Problem is that answers are saved in memory, so after closing browser before answers are synced, they will be gone.

It would be best if answers were stored in local storage and after proper sync local storage would be emptied (sync function)

Also, in this case, it would be important to "merge" user answers from local storage and database when entering the exam solver page (the init function)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant