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

Add warning before reloading #42

Open
AlexKempen opened this issue Nov 3, 2021 · 0 comments
Open

Add warning before reloading #42

AlexKempen opened this issue Nov 3, 2021 · 0 comments
Labels
2 This issue is good for beginners and will have some slight challenges enhancement New feature or request low priority Lower priority to get done Web Team

Comments

@AlexKempen
Copy link
Member

Since reloading the page deletes all currently created paths, there should be a warning in place to ensure this doesn't happen accidentally. To fix this, an alert should be added before the webpage unloads, warning the user they are about to delete all of their unsaved paths and asking them if they are sure they want to continue.

Docs:
https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload

@AlexKempen AlexKempen added enhancement New feature or request low priority Lower priority to get done 2 This issue is good for beginners and will have some slight challenges Web Team labels Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 This issue is good for beginners and will have some slight challenges enhancement New feature or request low priority Lower priority to get done Web Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant