<p>Here's a draft PR for the Communities page as discussed on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="943717616" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3256" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3256/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3256">#3256</a></p>
<p>I would love to get any and all thoughts / questions / concerns - particularly on:</p>
<ul>
<li>how it's integrating with the <code>osm-community-index</code> data</li>
<li>and also on how to handle the localisation (for this draft it's manually pulling it from the osm-community-index i18n files, but is this the best approach?)</li>
</ul>
<p>Tests are still to come, but so any thoughts there are appreciated, but I'd like to make sure the approach is ok first.</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/3301'>https://github.com/openstreetmap/openstreetmap-website/pull/3301</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>add route for communities</li>
  <li>add communities page</li>
  <li>stub model and show in view</li>
  <li>add route to pass locale</li>
  <li>add osm-community-index and parse in communities</li>
  <li>render local chapters in html</li>
  <li>tidy up / remove debug</li>
  <li>improve link ordering</li>
  <li>Merge branch 'master' into feature/add-communities-page</li>
  <li>Localise local chapters</li>
  <li>Update to latest osm-community-index</li>
  <li>Tidy</li>
  <li>Improve method privacy</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-debf59904131dc89a88ab44cbb1d6deaaa5a7d70c0507f674080df62f7c8e41f">app/abilities/ability.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-c7e7144de4dcf44dbb148d4acc6aa4a9d8581c6a581966a0bbfb598e79730f14">app/controllers/site_controller.rb</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-0cebfe7968f67bf2ba72442ef9d71a0f4acb0a5d5304e85a7a328115f925cca1">app/models/communities.rb</a>
    (59)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-6d2ef58207c92d1533287af551a075122ba98240a861819047a2ae77b7674f0b">app/views/layouts/_header.html.erb</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-4c8766da7c8c05eeed875feb3dc99bba7714faac1810838006bdc1be4d874df8">app/views/site/communities.html.erb</a>
    (19)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519">package.json</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de">yarn.lock</a>
    (12)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3301.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3301.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3301.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3301.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPXY5J3WNWIHR2NJZDT6QA7BANCNFSM5CXUIRLQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AAK2OLPYCFVYTXRDOQY5EJLT6QA7BA5CNFSM5CXUIRL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OSSLT6A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3301",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3301",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>