[openstreetmap/openstreetmap-website] restore in-progress comments after restoring a closed browser tab (Issue #5624)
Andrew Harvey
notifications at github.com
Thu Feb 6 12:58:07 UTC 2025
If a user is writing a changeset comment on a changeset page `https://www.openstreetmap.org/changeset/:id:` and they accidentally close the browser tab, the in-progress comment is lost upon restoring the tab.
It would be preferable for the in-progress comment to be restored in the input text area upon restoring the tab.
For example this happens here in GitHub, if you're entering a comment, writing an issue description and close the tab, then restore that tab, the in-progress text is restored.
In my case this happens because in Vim Ctrl+W deletes the last word, but in Chrome it closes the tab and sometimes they can be mixed up.
An alternative would be to popup that their message will be lost and if they should continue, but I see this as a worse UX.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5624
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5624 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250206/36537825/attachment.htm>
More information about the rails-dev
mailing list