<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/26258709?s=20&v=4" /><strong>CommanderStorm</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3482220992">(openstreetmap/openstreetmap-website#6234)</a></div>
<p dir="auto">I did a bit of tinkering about half a month back.<br>
The main problem that I stumbled upon is that keeping this reviewable is kind of a struggle.<br>
Doing this in one shot will shurely not be acceptable due to PR size.</p>
<p dir="auto">Doing the necessary changes I noticed how many tiny corners there are and that replacing this would be sure to break at least one of them.<br>
-> To keep risk Manageable for first OHM, second OSM some feature flag system (be it compile or runtime) would likely be needed to keep risk down and "the build green".</p>
<p dir="auto">That is something where my ruby knowlege failed me.<br>
Is there a PR I can look at for feature flags?</p>
<p dir="auto">I think such a migration would defintively need to be behind a feature flag, given that it changes most of the map related code (for example because leaflet and maplibre do lat/lng vs lng/lat, subtle to miss ðŸ˜†).</p>
<p dir="auto">I am not super confident that I can make that part work tbh, ruby is not taught at uni and it is kind of weird.<br>
Any pointers (or pair-programming) appreciated.</p>
<p dir="auto">Also I had to hack parts of the ruby environment (f.ex. <code class="notranslate">config.assets.debug</code> in <code class="notranslate">config/environments/development.rb</code>) together to get the frontend symbols to be unmangled, not sure if there is a guide how to do this properly or if this is a.</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/6234#issuecomment-3482220992">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNEXNBB2CDLEYVZZZT326WEHAVCNFSM6AAAAACCGOXFYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIOBSGIZDAOJZGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOZILQGPD72GGDCBY3326WEHA5CNFSM6AAAAACCGOXFYSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTWPRZ44A.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/6234/3482220992</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/6234#issuecomment-3482220992",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3482220992",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>