[openstreetmap/openstreetmap-website] Bootstrap modal instead of alert() (PR #6263)
mmd
notifications at github.com
Sun Jul 27 19:38:56 UTC 2025
For better UX consistency, this PR replaces alert() by a centered Bootstrap modal window. It's currently used for map export messages only.
Before:
<img width="744" height="399" alt="image" src="https://github.com/user-attachments/assets/4537694d-fb22-4ce5-8eff-a7d996ba22cd" />
After:
<img width="744" height="399" alt="image" src="https://github.com/user-attachments/assets/d2bc7553-8efd-4c3a-bda7-9a753bec51f2" />
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6263
-- Commit Summary --
* Bootstrap modal instead of alert()
-- File Changes --
M app/assets/javascripts/download_util.js (11)
M app/views/layouts/_header.html.erb (16)
M config/locales/en.yml (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6263.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6263.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6263
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6263 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250727/f1f128b6/attachment.htm>
More information about the rails-dev
mailing list