[openstreetmap/openstreetmap-website] Confirmation popup for Overpass API export (PR #6411)
mmd
notifications at github.com
Mon Sep 22 17:33:58 UTC 2025
### Description
The list below is a bit confusing from a UX point of view. While 3 out of 4 links would take a user to another page with more details about download options, the Overpass API link immediately starts a potentially huge download. The link is followed by a harmless-looking explanatory text that most users will probably overlook.
<img width="174" height="183" alt="image" src="https://github.com/user-attachments/assets/80f58078-301f-45be-ac90-2aa5df3e2fbe" />
To make things a bit clearer, I'm adding a confirmation pop-up for now.
<img width="602" height="286" alt="image" src="https://github.com/user-attachments/assets/8dfb9eb7-2b20-4f1c-81d6-8d1c81956a2a" />
Some UX redesign might be the better approach in the long run.
### How has this been tested?
Local test
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6411
-- Commit Summary --
* Added confirmation modal dialog for Overpass API export
-- File Changes --
M app/assets/javascripts/index/export.js (60)
M config/locales/en.yml (5)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6411.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6411.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6411
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6411 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250922/c2763062/attachment.htm>
More information about the rails-dev
mailing list