[openstreetmap/openstreetmap-website] Use Turbo frames for sidebar loading (PR #7245)
Tom Hughes
notifications at github.com
Mon Jul 20 19:13:23 UTC 2026
@tomhughes commented on this pull request.
> @@ -351,7 +351,7 @@ def test_index_before_id
changeset1 = create(:changeset, :num_changes => 1)
changeset2 = create(:changeset, :num_changes => 1)
- get history_path(:format => "html", :before => changeset2.id), :xhr => true
+ get history_path(:format => "html", :before => changeset2.id), :headers => { "Turbo-Frame" => "sidebar_content_frame" }
Is this documented as an official API somewhere? So far I've failed to find anything...
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7245#pullrequestreview-4738141404
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7245/review/4738141404 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260720/7c02837f/attachment-0001.htm>
More information about the rails-dev
mailing list