-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 the code and a checkpoint so the users can start from where they left off #68
Comments
@JeelRajodiya can I work on this? |
Yes @pavanydg, please go ahead! |
Hello @pavanydg, for this issue I suggest the following approach.
|
@pavanydg Are you still working on it? |
@JeelRajodiya sorry for the delay. Will raise a pr within 2-3 days. Is it fine? |
You can take as much time as you want. Just make sure you give some updates so that we can know that you are working on it.
Yes, That's a good idea. When a returning user opens tour.json-schema.org, we can redirect them to the page when they previously left off. Please go ahead with this idea. |
@JeelRajodiya i have 2 doubts:-
|
I think It is a good approach. You can go ahead with it. If I have some suggestions I will leave it in the PR review
It should reset all chapter codes. |
Assume the user is on Chapter 2 - Lesson 2, now the user closes the tour, opens it again by visiting https://tour.json-schema.org. but the problem is when They click on Start the tour button, it starts from all over again. and the code they wrote in the any of the previous sessions is lost.
We need to save the following informations:
We can use browser's local storage to store the progress so that it stays on the user's machine as long as they don't clear the cache.
Additional Task: When the user resets their progress (through settings), the saved code should also be cleared.
The text was updated successfully, but these errors were encountered: