<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/5283'>https://github.com/openstreetmap/openstreetmap-website/pull/5283</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/399b3e1af2b4ebfdf76be4edc09d9d363304bcbe" class="commit-link">399b3e1</a> Create note subscription table and model</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/37797c80b8858d8fa84c16b85806b350bab592a4" class="commit-link">37797c8</a> Subscribe users when they interact with notes</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/d63d281f1c0db2164aff3acafe3b2c57cbc7a7de" class="commit-link">d63d281</a> Backfill note subscriptions</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/4bb867a8e5d1efb61a7bb423d169a6514a6107a8" class="commit-link">4bb867a</a> Send notifications to note subscribers instead of commenters</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/e5b6eb5d7cbf18a3d0a6217cd8604c2389111abb" class="commit-link">e5b6eb5</a> Add create note subscription api endpoint</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/80c3fdd2a4a0b47951cb75efcbc5ca2cec1e6403" class="commit-link">80c3fdd</a> Add create note subscription api endpoint</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/commits/433ae3df1656bbcb97f380dd7420111a15e85af1" class="commit-link">433ae3d</a> Add subscribe/unsubscribe buttons to note 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/5283/files">17 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-38488bd50be0cf63517ec5ae3fd3c4e462b3fdda7201844b0ab3442b73b8c08d">app/abilities/api_capability.rb</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-8f18485b763264500054435af432745e2a51b4402140728dc4df89024768b71b">app/assets/javascripts/index/note.js</a>
(26)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-c6e6328228ce076caaf2ab687540a8bd8260930be2129e8ba1ff1b254b19beb9">app/controllers/api/note_subscriptions_controller.rb</a>
(22)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-6e9fe051c0ef757618e376ffe731dfca8d4960ef0838b7d6a05609b46ba0fad1">app/controllers/api/notes_controller.rb</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-08ddccf408b18937e98b422e555eaf851c2a02c3ba815c5aeb8bc00efe65ecab">app/models/note.rb</a>
(2)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-5a2e0d396886f478466d18d998fb539450b5613643bfc18379a88f5f4fc3cc6a">app/models/note_subscription.rb</a>
(20)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-9802ca3c9c4cf89904fd44bc114e35ebdf2c5dd3d5b645491e2b253e1afef29b">app/models/user.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-84d04c9c37a8be927ab1870e6b3c1940f670585b77b8e88c32d6ded35cf87dc7">app/views/notes/show.html.erb</a>
(26)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(2)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-f1c78a649790ada16ba0101aef0cb0c3fa8fd92bdde4cf076de4a753217f5a39">db/migrate/20241022141247_create_note_subscriptions.rb</a>
(8)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-9152b047fbb43379babec68f31f527b74a30affdb655f7ef371dd5f1ace56121">db/migrate/20241023004427_backfill_note_subscriptions.rb</a>
(23)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-1dd5a8f580b9615769ddc19a64a98f455d9d20eb149c443f41d9d3c797d39b12">db/structure.sql</a>
(43)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-ba48d2f4593acf4786d7b02e0b24483b8335a16421ec415653fb177b0a0231c2">test/controllers/api/note_subscriptions_controller_test.rb</a>
(132)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-b4cc80ae5a4279eef2a7494cb8c489220ce03acaf36932b2042247df9d316908">test/controllers/api/notes_controller_test.rb</a>
(169)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-8ec05d7b1dc779db5ac2644950b15528967ba2c9c25acc2654c714766c53eae7">test/factories/note_subscriptions.rb</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5283/files#diff-960e6e9200fa7ea5eed049f5de24d807cf7c7a4c0434875d23139ff261ddc0fe">test/system/note_comments_test.rb</a>
(47)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5283.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5283.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5283.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5283.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/5283">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLONSMGFAIMHVN63T2LZ5BPT5AVCNFSM6AAAAABQQDA77KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTAMRXGYZTIMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLI3ACDOITWKNEP3JYDZ5BPT5A5CNFSM6AAAAABQQDA77KWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJXFNH6Y.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/5283</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/5283",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5283",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>