osu-web
osu-web copied to clipboard
Add confirmation alert when leaving page that has unsaved text
it's not uncommon for people to lose their progress on a mod that's thousands of letters long simply by accidentally refreshing/opening a new link within that tab, and it can get extremely infuriating at times. here's a recreation of such scenario.
I propose to add an alert that warns you about those pending changes before leaving the page, that would be an extremely appreciated ux improvement.
Very weird that the content isn't restored on returning to the page, but having a confirmation is a good first step. Bumping up to highest priority as this is a pretty horrible UX oversight.
Forum posts have a thing that saves to localstorage while composing; sounds like this could use the same thing