<p></p>
<blockquote>
<p dir="auto">"user friendly" as in legit edits remain in the editor and are not lost.</p>
</blockquote>
<p dir="auto">Good question, to which I don't have an answer right now. It might be something based on HTTP 409 or HTTP 412, and  include an error messages stating the number of minutes the user has to wait before retrying. In any case, any editor currently applying some regex magic to extract meaningful data out of these error messages might face some issues here.</p>
<p dir="auto">Let's not forget, that we need to cover the single object endpoints on Rails as well next to the diff upload (both Rails and CGImap).</p>

<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/issues/2342#issuecomment-1704300666">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIMGNZ5OLBAB2N7FXDXYR5WZANCNFSM4IJTW3XQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLITSMB7XCUVNAXRHMTXYR5WZA5CNFSM4IJTW3X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMWKZA6Q.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/issues/2342/1704300666</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/issues/2342#issuecomment-1704300666",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2342#issuecomment-1704300666",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>