[openstreetmap/openstreetmap-website] Flatten DownloadUtil (PR #6285)

Marwin Hochfelsner notifications at github.com
Sun Aug 3 14:53:35 UTC 2025


Cleaning up a relatively unnecessary class.
See also https://github.com/openstreetmap/openstreetmap-website/pull/6284#discussion_r2249999654.

The last few commits are debatable.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Inline DownloadUtil class into OSM.getTurboBlobHandler
  * Remove IIFE
  * Extract notifyExportFailure helper
  * Extract extractTextFromHTML helper
  * Remove filename forwarding
  * Destructure event progressively
  * Rescope variables
  * Refactor Turbo export handlers to use Promises directly

-- File Changes --

    M app/assets/javascripts/download_util.js (98)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/6285 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250803/9daa0c04/attachment.htm>


More information about the rails-dev mailing list