<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/b6e20755-df9c-41b1-8126-556309c726ef">image.png (view on web)</a></p>
<p dir="auto">A bit more work is required here because the order is unstable. It could be changed by any incoming note comment, causing before/after links to behave unexpectedly. I need to add dates to those links and use dates as fallbacks if that note was updated.</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/4532'>https://github.com/openstreetmap/openstreetmap-website/pull/4532</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/commits/36dfe8a8cdc445d07dc780af0c71de85e5280413" class="commit-link">36dfe8a</a>  Convert note pagination to newer/older note pages</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/commits/dde1b401d319d1cc6de0654a33666eecb73a941e" class="commit-link">dde1b40</a>  Check note list contents in unpaged note tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/commits/df5e47cc69858d67218dfa4ee0407f556b3f35cb" class="commit-link">df5e47c</a>  Shorten path calls in notes controller tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/commits/95d446a77f8b2f9e05a224cb9531c49cd143e001" class="commit-link">95d446a</a>  Redirect to first page of notes if before/after id is invalid</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/files">5 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/files#diff-c254740097a8c0601832077488db77e572b2c2b926f77508fadc6081b0052804">app/controllers/notes_controller.rb</a>
    (34)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/files#diff-5f39d9b9ee68233272f27fc4ab0fdc2c1397b3673a711c35013f05d8d02e4e79">app/views/notes/_notes_paging_nav.html.erb</a>
    (17)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/files#diff-4fe647349351c7492508c788230b91b7f4445d4b821f6781ac7fcfad5e879f21">app/views/notes/index.html.erb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4532/files#diff-b41a560e061b578bbf13158bf175036a9489241ab69f59137c44d57df9682fa7">test/controllers/notes_controller_test.rb</a>
    (103)
  </li>
</ul>

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