points
points copied to clipboard
DT-340: Warn the user if they are leaving a story edit page with unsaved changes
Jira Ticket
https://ombulabs.atlassian.net/browse/DT-340
Motivation / Context
Currently if you leave the current page, you can lose information that was not saved. This feature warns you if you are leaving without saving information.
QA / Testing Instructions
- Go to the Edit Story page.
- Edit the story.
- Try to navigate off the page by reloading, pressing the back button in the browser, clicking the logo or the Back button on the page.
- Ensure that you get a popup asking you if are sure you want to reload/go back.
Screenshots:
I will abide by the code of conduct.