<p dir="auto">This is:</p>
<ul dir="auto">
<li>"Improve User Edit History" on DWG wishlist</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23996607" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/647" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/647/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/647">#647</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117700607" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1089" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/1089/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/1089">#1089</a></li>
</ul>
<p dir="auto">Is saves changeset list html pieces to sessionStorage and remembers scroll position. Going to a history page, clicking some link then pressing <em>back</em> (or <em>forward</em>) should bring back the viewed history state along with everything that was loaded by pressing <em>Load more</em>. Reloading the page by pressing <em>reload</em> button throws away cached data.</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/3682'>https://github.com/openstreetmap/openstreetmap-website/pull/3682</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/0d4c151c16442df0f7d1d24ac65bb3dc53ea26d0" class="commit-link">0d4c151</a> Test restoring changeset list state</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/024b739c7f44e32b62308db8e33eb152af6b8a57" class="commit-link">024b739</a> Save changeset lists into session storage</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/45e9cfdf212f50c32dca4f395d296e0c45600944" class="commit-link">45e9cfd</a> Load changeset lists from session storage</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/10319cac0d54ddb9e8f1f467cf16928646474730" class="commit-link">10319ca</a> Merge changeset <ol>s on Load more</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/44b35c73d3997d9b28fc5b1432361842ac619dd9" class="commit-link">44b35c7</a> Update map after loading from session store</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/d1a67b4d2c7c76a161ec8374775d541b5bb3c51c" class="commit-link">d1a67b4</a> Save initial sidebar on history pages</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/7a39f1fe77a59129d45c4df4c848aa1c9633655f" class="commit-link">7a39f1f</a> Save/restore sidebar scroll position</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/5e2ba8d04189daac35453961fa00c92e1992b52b" class="commit-link">5e2ba8d</a> Reload changesets on page refresh</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/0183aac0ede515bf91abe374406f57ddf2695a98" class="commit-link">0183aac</a> Fix history sidebar not reappearing after close and restore from session storage</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/cc9bcce5f0531243c34ffab8d43bc2885ff106ef" class="commit-link">cc9bcce</a> Use close button instead of geolink in sidebar content</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/commits/c775e9d1aa779901e5f3c54a726a181f71c04266" class="commit-link">c775e9d</a> Remove/readd loader img src because it might be volatile</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/files">5 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/files#diff-cdc070ced1c4000efd1e28357fd26b2fd617d7fccfeae0324222231db75dd6ee">app/assets/javascripts/index.js</a>
(56)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/files#diff-25cab16df4a58e0c8e53d0a0e70d9bbf28ef3beb9e6bf1208234fdeed7515392">app/assets/javascripts/index/history.js</a>
(185)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/files#diff-3635093596ec53c4cebe7c2263939a5b01c8b9c71462506873f73af8429cabbc">app/assets/javascripts/router.js</a>
(46)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/files#diff-a822b3bdb367bb476aeea5e822498b298c7f314c747785581ea64963a9fd3363">app/views/application/_sidebar_header.html.erb</a>
(2)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3682/files#diff-ca76ddfd495be1ab96863518b57d1e0b49d06c99429adb2bbd6001692d12073b">test/system/history_test.rb</a>
(99)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3682.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3682.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3682.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3682.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/3682">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJIR42TT4FHBDJ4VQDV5OQUFANCNFSM6AAAAAAQJAE6YU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPNT5CTCTXM2ZVOTW3V5OQUFA5CNFSM6AAAAAAQJAE6YWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFDDXPFI.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/3682</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/3682",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3682",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>