<p dir="auto">This adds a 3rd column to the display of the current tags on the browse history pages, which displays the version each tag was last changed in, and (on hover) displays the (approx) date and display name of the user who made the changeset. It also links to the changeset.</p>
<p dir="auto">This is adapted from <a href="https://github.com/raspbeguy/osm-blame">https://github.com/raspbeguy/osm-blame</a> (although that has more features); with the UX suggested by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/westnordost/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/westnordost">@westnordost</a>.</p>
<p dir="auto">I am not particularly adept at Ruby, so this likely has various infelicities or obvious ways to improve it. I'd be delighted with any comments or suggestions.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3535'>https://github.com/openstreetmap/openstreetmap-website/pull/3535</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/7f6a63a5d014fbfb5af8b823e16e6cd684693450" class="commit-link">7f6a63a</a> First partial effort at adding blame info to history page</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/6a03b3f01b2668bb1586f21cdda7a08a5eb2a386" class="commit-link">6a03b3f</a> Weird db/structure.sql automatic change</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/f930479e86357ea761c910fcdf3891e05cbe353a" class="commit-link">f930479</a> Working (for nodes) implementation!</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/2c4cc220eb0a8c5ad25cb1332b00d0c75f604b6c" class="commit-link">2c4cc22</a> Alter UX to shorten it, per suggestion by westnordost</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/1adb6fa43fc280d7e90dadfa210b58af9f14b9ec" class="commit-link">1adb6fa</a> Got it working for ways and relations, and avoided some duplication!</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/96b35c8fd55545bf2d1a17eb4d1aca7e24f378a0" class="commit-link">96b35c8</a> Rubocop fixes</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/25343f30513bfe2dd757d997bf1da1b90aa5ce89" class="commit-link">25343f3</a> erblint fixes</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/commits/5a39bd98b38bf20d9a97bd0fa78813660f5eaab4" class="commit-link">5a39bd9</a> Add test</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files">12 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
(9)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-32118282fc2a82b607c0052b4a7bf90a81869cfae973c63e9552534800c14525">app/helpers/browse_helper.rb</a>
(17)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-9dea4ffe487a631e3df942ebeec041974e762348f767704f27c52bc97e89052f">app/views/browse/_common_details.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-4fb209e1518412e2973595864ca7f3d7f28918d3cca5ba526ff8218e32831ec1">app/views/browse/_node.html.erb</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-d18a4729497eb1db32f2d20773ca0b4706f94a2e50fd7721a123e6da97fecc44">app/views/browse/_relation.html.erb</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-7400ae564f3281e220c5ff65433a4f0ea65a8db2a5bf20a377a63201c3c61e9f">app/views/browse/_tag.html.erb</a>
(13)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-d3e3db2a93a22b8e704bcec077a570b1ac05c449f38ca301f95a474285dbb7cd">app/views/browse/_tag_details.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-8c78c1473ce35a2d299cdb33424bfba90d9ae2f4bf962d20805865a8cfe13431">app/views/browse/_way.html.erb</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-ebac5cdc558de785d51eae909fcca512d1ae43fd40fad2392870b95135f81311">app/views/browse/history.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-1dd5a8f580b9615769ddc19a64a98f455d9d20eb149c443f41d9d3c797d39b12">db/structure.sql</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535/files#diff-b68a09a5dc0e0cffcd99b27761111b06a86bb45001912b9fabf3618a3dc464d1">test/helpers/browse_helper_test.rb</a>
(23)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3535.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3535.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3535.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3535.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3535">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNCCN6WVZCU3AT43JDVGXMZDANCNFSM5UG6SIIQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMSYMEC62XHD7PWJL3VGXMZDA5CNFSM5UG6SII2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SCZFXGA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3535</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3535",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3535",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>