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 the user when navigating away from unsaved changes #64

Closed
redimp opened this issue Dec 10, 2023 · 2 comments
Closed

Warn the user when navigating away from unsaved changes #64

redimp opened this issue Dec 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@redimp
Copy link
Owner

redimp commented Dec 10, 2023

The wiki should display a warning, in case the user has edited the page, is either in the Editor or on the Preview Page and would discard the changes when naviating away from there.

Reported in #60.

@redimp redimp added the enhancement New feature or request label Dec 10, 2023
@bverkron
Copy link

Was just thinking... rather than just a warning alone I wonder if it would be possible to bring up the save / commit dialog with the warning inside that dialog so that the user can either cancel and remain on the page or save / commit and continue navigating away from the page. Might be a smooth way to do it so that they don't have to dismiss the warning, manually trigger the save operation, and then trigger the navigation again.

@redimp
Copy link
Owner Author

redimp commented Aug 2, 2024

Released in 2.5.0.

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

No branches or pull requests

2 participants