<p dir="auto">Earlier I copied some of the navigation elements from traces traces to blocks:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/5a033d62-35e5-4396-813b-0e55cfcc366d">image.png (view on web)</a></p>
<p dir="auto">Now I want to copy in the opposite direction. Individual block pages have navigation tabs, while individual trace pages don't:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/b67742d2-2d7b-4a4e-b227-28af3b6d00d9">image.png (view on web)</a><br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/17e5ca83-cfa7-4502-b26d-7d1b161a8e24">image.png (view on web)</a></p>
<p dir="auto">So I want to take the navigation from trace lists and put it also on individual trace pages:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/139844e6-02d5-45c2-971d-908bfdc94644">image.png (view on web)</a></p>
<p dir="auto">Here's a problem: the phrase "Browse recent GPS trace uploads" won't make sense on a single trace page. Let's suppose I remove this phrase. Then there's going to be just the "Remove Tag Filter" link if the filter is enabled. I tried to find a better place for this link, but it didn't fit next to tabs or rss/upload buttons.</p>
<p dir="auto">But the tag is already mentioned in the heading. Maybe I can place the remove link there? That's what I did in this PR, with link turned into the x button:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/6a7d27e1-8f32-4021-8f7a-69df44be1960">image.png (view on web)</a></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/4743'>https://github.com/openstreetmap/openstreetmap-website/pull/4743</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4743/commits/436ce4a3b7733d14bd5f3d6ce12acc10d9eb81a9" class="commit-link">436ce4a</a> Replace secondary actions nav with tag badge on trace list pages</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4743/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4743/files#diff-2602c06a2618f83c1470c924563b55c738e3c94ffb6480e637ca0f4ce130eaba">app/controllers/traces_controller.rb</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4743/files#diff-446cb1205994b7918b2a68c30feb162b10fce3a0a9e05c716d9e966df4ba0507">app/views/traces/index.html.erb</a>
(22)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4743/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(1)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4743.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4743.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4743.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4743.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/4743">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOXPNLXCOO6ZUZZAT3Y76OVZAVCNFSM6AAAAABHAKGF66VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TCNJTG4ZDMMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJ423XEH34F2L7TNRDY76OVZA5CNFSM6AAAAABHAKGF66WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIOZHINQ.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/4743</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/4743",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4743",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>