Skip to content

Add warning before reloading #42

Description

@AlexKempen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2This issue is good for beginners and will have some slight challengesWeb TeamenhancementNew feature or requestlow priorityLower priority to get done

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions