[openstreetmap/openstreetmap-website] Replace custom JS w/ Hotwire Turbo (PR #4549)

Gregory Igelmund notifications at github.com
Wed Feb 28 15:36:20 UTC 2024


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

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

-- Commit Summary --

  * Gemfile: Add turbo-rails
  * package.json: Add @hotwired/turbo-rails
  * Enable Turbo Drive with morphing for Messages#{destroy,mark}

-- File Changes --

    M Gemfile (1)
    M Gemfile.lock (5)
    M app/assets/javascripts/application.js (3)
    M app/assets/javascripts/messages.js (72)
    M app/controllers/messages_controller.rb (8)
    M app/views/layouts/_meta.html.erb (2)
    M app/views/messages/_message_summary.html.erb (6)
    D app/views/messages/destroy.json.jbuilder (4)
    D app/views/messages/mark.json.jbuilder (4)
    M package.json (3)
    M yarn.lock (1400)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4549 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240228/6284582e/attachment.htm>


More information about the rails-dev mailing list