<h3 dir="auto">Description</h3>
<p dir="auto">It seems there are some notes in database with a missing opening comment (<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5667#discussion_r1957131929" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5667/hovercard">here</a>). This PR adds displaying "unknown" as description for such notes and remaining comments (if available) as part of discussion.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Automatic and manual testing before and after <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5667#issuecomment-2659190584" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5667/hovercard">data migration</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/5712'>https://github.com/openstreetmap/openstreetmap-website/pull/5712</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/commits/04fa75185477b2ee0c633920fe143bec05d2c110" class="commit-link">04fa751</a> Improves notes_description helper routine</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/commits/872fb21e5e80846ddd6f1c61eb602a2ee0c2f275" class="commit-link">872fb21</a> Improves behavior if note lacks opening comment</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/commits/915b6010d4ca80cb6ac37ac133e6cfae64bb6ec8" class="commit-link">915b601</a> Improves dropping of first note's comment</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/files#diff-c254740097a8c0601832077488db77e572b2c2b926f77508fadc6081b0052804">app/controllers/notes_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/files#diff-74d80704129ce910bd38a56b250122e716028ac0085b3627ea8875b9216b65ce">app/helpers/note_helper.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/files#diff-08ddccf408b18937e98b422e555eaf851c2a02c3ba815c5aeb8bc00efe65ecab">app/models/note.rb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5712/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/5712.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5712.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5712.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5712.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/5712">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMTCZYEI5RPELFDM3T2QT4S3AVCNFSM6AAAAABXPICO42VHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3DINBYGA4TANI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNIYM3L66R5RCQYA7T2QT4S3A5CNFSM6AAAAABXPICO42WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKVPECRE.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/5712</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/5712",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5712",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>