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