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

Use localStorage to remember the user's last viewed module #5

Open
pkgw opened this issue Oct 13, 2022 · 0 comments
Open

Use localStorage to remember the user's last viewed module #5

pkgw opened this issue Oct 13, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@pkgw
Copy link
Contributor

pkgw commented Oct 13, 2022

If someone is reading the book and closes their browser window, it would be nice to return them to the module they were just viewing the next time they navigate to the book. We could do this using the browser's "local storage" capability.

This could be taken a lot farther: we could save "favorite" pages, search terms, and more. But the most recently viewed page seems like the simplest place to start.

@pkgw pkgw added the good first issue Good for newcomers label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant