[openstreetmap/openstreetmap-website] Deduplicate trace image handling (PR #6962)

Marwin Hochfelsner notifications at github.com
Fri Apr 3 11:06:26 UTC 2026


Even with absolute image paths, we can deduplicate the trace image attribute assignment.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6962?email_source=notifications&email_token=AAK2OLMSRYMEBCJUS6CAJSD4T6LLFA5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF4ZTIOBVHE3DQMZZG2THEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVVYHEX3POBSW4X3DNRUWG2Y

-- Commit Summary --

  * Fix new Herb offenses
  * Deduplicate trace image handling

-- File Changes --

    M .herb.yml (4)
    M app/helpers/trace_helper.rb (20)
    M app/views/layers_panes/show.html.erb (4)
    M app/views/legend_panes/show.html.erb (9)
    M app/views/traces/feeds/_description.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6962.patch?email_source=notifications&email_token=AAK2OLJW6DSU3RWNRCWW6RT4T6LLFA5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF4ZTIOBVHE3DQMZZG2THEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVZYHEX3QMF2GG2C7MNWGSY3Lhttps://github.com/openstreetmap/openstreetmap-website/pull/6962.diff?email_source=notifications&email_token=AAK2OLKFXOEJKGE45H2WUTT4T6LLFA5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF4ZTIOBVHE3DQMZZG2THEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVVYHEX3ENFTGMX3DNRUWG2Y
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6962
You are receiving this because you are subscribed to this thread.

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


More information about the rails-dev mailing list