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 user about unsaved changes when closing the Web IDE #247

Open
xpyctumo opened this issue Feb 6, 2025 · 0 comments
Open

Warn user about unsaved changes when closing the Web IDE #247

xpyctumo opened this issue Feb 6, 2025 · 0 comments

Comments

@xpyctumo
Copy link

xpyctumo commented Feb 6, 2025

If the user makes any changes to files/file and does not save them, the user should be notified when closing the browser tab that these changes may be lost.

Note: It is important to show this warning only if the Web IDE actually has unsaved files in the active project

confirm("You will lose unsaved changes")
Image

Now a user can close the tab and lose their unsaved changes

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

No branches or pull requests

1 participant