[openstreetmap/openstreetmap-website] Bootstrap modal instead of alert() (PR #6263)

mmd notifications at github.com
Sun Jul 27 20:09:35 UTC 2025


mmd-osm left a comment (openstreetmap/openstreetmap-website#6263)

I find toast messages helpful in case of success messages (eg. "Message successfully sent"). Usually, they're disappearing after a few seconds without any user interaction required. They're not distracting the user flow in any way.

Now with error messages, users probably want to take a closer look, or even take a screenshot if they can't figure out what the error is about. The default `autohide: true` is less than ideal here.

You can dismiss the bootstrap modal error message by clicking anywhere on the screen. So there isn't a huge difference to a toast, considering that the user needs to dismiss the toast message anyway.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6263#issuecomment-3124699487
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6263/c3124699487 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250727/fe12e5a2/attachment.htm>


More information about the rails-dev mailing list