<p dir="auto">Similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2714214046" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5371" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5371/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5371">#5371</a> but for notes.</p>
<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #3964.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1615722521" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3964" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3964/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3964">#3964</a>.</p>
<p dir="auto">Before:<br>
<a href="https://github.com/user-attachments/assets/44d859dc-20de-43b3-a46f-0095dcf48196">image.png (view on web)</a><br>
note "43 (part of username) minutes ago", this is issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1615722521" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3964" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3964/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3964">#3964</a></p>
<p dir="auto">After:<br>
<a href="https://github.com/user-attachments/assets/084ec00e-cf3c-4552-898f-d14daf7acda4">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/5377'>https://github.com/openstreetmap/openstreetmap-website/pull/5377</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5377/commits/268ae1807503aec3f032670c79e5ff4ce4169667" class="commit-link">268ae18</a>  Truncate if necessary and set dir=auto for note usernames</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5377/files">3 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5377/files#diff-74d80704129ce910bd38a56b250122e716028ac0085b3627ea8875b9216b65ce">app/helpers/note_helper.rb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5377/files#diff-84d04c9c37a8be927ab1870e6b3c1940f670585b77b8e88c32d6ded35cf87dc7">app/views/notes/show.html.erb</a>
    (24)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5377/files#diff-77adf9b5a9670ed38070915c07a4ff7bfde667deaee2327f0055194e5fd71b74">test/helpers/note_helper_test.rb</a>
    (34)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5377.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5377.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5377.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5377.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/5377">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPUDDNFQ56RCQAM4BL2D3OPBAVCNFSM6AAAAABS74RJHWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTOMZVGYYTQNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOO5KOUAH5YTL32B5L2D3OPBA5CNFSM6AAAAABS74RJHWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKD54QTM.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/5377</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/5377",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5377",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>