[openstreetmap/openstreetmap-website] Rewrite bbox only in place history atom links (PR #3680)

Anton Khorev notifications at github.com
Wed Sep 7 19:47:00 UTC 2022


There are different kinds of history (changeset list) pages:

- [*friends*](https://www.openstreetmap.org/history/friends) and [*nearby*](https://www.openstreetmap.org/history/nearby) history don't have feeds and don't have links to feeds; trying to modify the link results in javascript error
- *user* history has the feed link but it doesn't use the bbox parameter
- only [*place* history](https://www.openstreetmap.org/history) feed link needs bbox updates
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rewrite bbox only in place history atom links

-- File Changes --

    M app/assets/javascripts/index/history.js (8)
    A test/system/history_test.rb (16)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list