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

Warn you are leaving check edit page when unsaved data is present #892

Open
ckbedwell opened this issue Aug 1, 2024 · 1 comment · May be fixed by #1002
Open

Warn you are leaving check edit page when unsaved data is present #892

ckbedwell opened this issue Aug 1, 2024 · 1 comment · May be fixed by #1002
Assignees
Labels

Comments

@ckbedwell
Copy link
Contributor

ckbedwell commented Aug 1, 2024

Problem

When creating or editing a check you can spend a long time filling out all the fields, only to accidentally click a link, back/forward button etc. and immediately lose all of your work.

Completion criteria

A confirmation that you want to leave the page without saving your work when you have 'dirty' form fields on the check creation page should be presented to the user.

Please ensure the appropriate integration tests have been added when submitting the PR.

@majavojnoska
Copy link

I also think that implementing a confirmation dialog when users attempt to leave the page with unsaved changes is a great solution to prevent accidental data loss. The dialog should:
* Clearly explain the situation: "You have unsaved changes. Are you sure you want to leave this page?"
* Offer clear actions: "Stay on Page" and "Leave Page" buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants