-
Notifications
You must be signed in to change notification settings - Fork 1
Add warning before reloading #42
Copy link
Copy link
Open
Labels
2This issue is good for beginners and will have some slight challengesThis issue is good for beginners and will have some slight challengesWeb TeamenhancementNew feature or requestNew feature or requestlow priorityLower priority to get doneLower priority to get done
Description
Metadata
Metadata
Assignees
Labels
2This issue is good for beginners and will have some slight challengesThis issue is good for beginners and will have some slight challengesWeb TeamenhancementNew feature or requestNew feature or requestlow priorityLower priority to get doneLower priority to get done
Type
Fields
Give feedbackNo fields configured for issues without a type.
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