[openstreetmap/openstreetmap-website] Image download w/ submit_tag (PR #6192)

mmd notifications at github.com
Sun Jul 13 19:02:25 UTC 2025


Once a user clicks on "Download" Image, there's currently no visual feedback that anything happens. Since the image generation may take a few seconds, a user may be tempted to hit the download button multiple times.

This PR disables the button as soon as a hits the download button, similar to the Export Map function. This way, we're improving UI consistency across different export functions.

I'm still looking for ideas on how / when to re-enable the button...

<img width="331" height="437" alt="image" src="https://github.com/user-attachments/assets/b6ddc043-410c-48b7-ad60-fde5923afee8" />

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6192

-- Commit Summary --

  * Image download w/ submit_tag

-- File Changes --

    M app/views/share_panes/show.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6192.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6192.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/6192 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250713/5fd505d5/attachment-0001.htm>


More information about the rails-dev mailing list