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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to