-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Prevent page exit on the create page when there are unsaved changes #3567
Comments
In case of reload it is fine, I am wondering if we need it for navigation. cc @floreks |
If we'll save the changes locally even when the user navigates, then we can skip it for navigation and only show it for reload. |
i would like to work on this issue |
@DanielUche Great :) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
/good-first-issue |
@eloyekunle: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
I'm gonna give this a go since it has not been worked on in 2 years /assign |
Fixed on #6566 /close |
@prnam: You can't close an active issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/close |
@floreks: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added
On the resource creation page, it will be good to have a prompt asking users to confirm page reloads or navigation if the user has entered some content that have not yet been uploaded.
The prompt should also be applied on the various resource editing sections in the dashboard.
Why is this needed
This will ensure users do not accidentally lose contents they have entered in the boxes.
Comments
A sample prompt:
The text was updated successfully, but these errors were encountered: