[openstreetmap/openstreetmap-website] Browse element folding nested lists and <img> icons (PR #5355)

Anton Khorev notifications at github.com
Mon Nov 25 03:45:34 UTC 2024


#5317 + some other changes
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Show "node also part of ways" as nested lists on way pages
  * Put nested "also..." lists into collapsible details
  * Group tagless way nodes with same related ways
  * Show only one icon for way node group
  * Write browse element icons as <img>

-- File Changes --

    D app/assets/stylesheets/browse.scss (180)
    M app/assets/stylesheets/common.scss (33)
    M app/helpers/browse_helper.rb (90)
    M app/views/browse/_containing_relation.html.erb (15)
    M app/views/browse/_node.html.erb (8)
    M app/views/browse/_relation.html.erb (4)
    M app/views/browse/_relation_member.html.erb (2)
    M app/views/browse/_way.html.erb (33)
    M app/views/changesets/_elements.html.erb (10)
    A config/browse_icons.yml (186)
    A config/initializers/browse_icons.rb (5)
    M config/locales/en.yml (6)
    M test/controllers/ways_controller_test.rb (124)
    M test/helpers/browse_helper_test.rb (77)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list