-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Yesterday I was working on a demo using Try.MudBlazor and in about 45 minutes into getting it to work I accidentally refreshed the page of my browser losing everything.
I am used to coding sites like Codepen that will alert the user they are about the leave and lose progress but it appears on Try.MudBlazor you just lose everything.
I noticed that issue #7 was made closed to remove this exact functionality.
My suggestion would be to do one of the following:
-
Only prevent leaving the page if the user has compiled and not saved. If the snippet let the user leave, if they compile again, renable until they save again.
-
Provide a button in the sidebar that will let the user toggle the feature on or off. This will let users who are worried about losing data to enable the functionality well leaving all other users unaffected.