<ul dir="auto">
<li>Add test that would have failed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2705726075" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5359" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/5359/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/5359">#5359</a>.</li>
<li>Change the code that selects the text input from <code class="notranslate">$("textarea")</code> to <code class="notranslate">content.find("textarea")</code>. This should stop the html share code from getting posted to notes, although I couldn't reproduce that happening like <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SomeoneElseOSM/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SomeoneElseOSM">@SomeoneElseOSM</a> reported it yesterday. When you press <em>Hide</em> the textarea inside the left sidebar exists and is the first one on the page, I don't know how that other textarea got selected instead.</li>
</ul>
<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/5419'>https://github.com/openstreetmap/openstreetmap-website/pull/5419</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/commits/0931f474836d12d24a11564e77dcb1bb69b170dc" class="commit-link">0931f47</a> Test share textarea not to leak into note text on reactivation</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/commits/25e4a80760d29d6026df5b5fa3f2ac121dcfe957" class="commit-link">25e4a80</a> Get note text only from textarea within left sidebar</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/commits/c05cdaddbc85d833ef2d2141b66dc9296e03f6b1" class="commit-link">c05cdad</a> Move blocked resolve/reactivate tests to ResolveNoteTest</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/commits/bb561d3ea9441b9a1c9032a80d751b640ddd2a23" class="commit-link">bb561d3</a> Use within_sidebar in CreateNoteTest</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/files#diff-8f18485b763264500054435af432745e2a51b4402140728dc4df89024768b71b">app/assets/javascripts/index/note.js</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/files#diff-9f6aab4572a1599c9156a25f43ec038cc485dd0245d0bfcd3b4705126002304e">test/system/create_note_test.rb</a>
(16)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/files#diff-960e6e9200fa7ea5eed049f5de24d807cf7c7a4c0434875d23139ff261ddc0fe">test/system/note_comments_test.rb</a>
(46)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5419/files#diff-32cfcb318430fb3d08203335c5d1055d07f7dbbdca8a68f72e36a8c9b9062b2d">test/system/resolve_note_test.rb</a>
(106)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5419.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5419.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5419.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5419.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/5419">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIYMNFV42PUAUAOU7D2GIWVBAVCNFSM6AAAAABT37LZN2VHI2DSMVQWIX3LMV43ASLTON2WKOZSG42DSMJRGUZDEMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLUT2AKQ6GYQWZGCJL2GIWVBA5CNFSM6AAAAABT37LZN2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKHXBLKU.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/5419</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/5419",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5419",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>