Files
uptimesebi/internal/web/testdata/regionmap_offline.html
T
Sebastian UnterschützandClaude Opus 5.5 6c246b145f
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 11m17s
ci / test (pull_request) Successful in 12m34s
ci / build (pull_request) Canceled after 4m21s
ci / image (pull_request) Canceled after 0s
feat(regions): label the map pins and link them to the region list
Pins carry the region's name, turn dark when the region is selected and
show a green dot while a checker of the region is live. Hovering a pin
highlights its row in the list and the other way round, and a region
ticked in the list pans into view. Scrolling the page no longer zooms
the map, and the attribution stays compact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-28 20:31:11 +01:00

16 lines
695 B
HTML

<!doctype html><html><body data-msg-network="net">
<div id="map" data-region-map="select" data-region-items="#items" data-map-server="./missing" hidden></div>
<div id="items"><input type="checkbox" data-lat="1" data-lon="2" data-name="x" data-live="1"></div>
<pre id="out"></pre>
<script>
window.axios = { create: () => ({ interceptors: { request: { use() {} } } }) };
</script>
<script src="../assets/app.js"></script>
<script>
setTimeout(() => {
const ok = document.getElementById("map").hidden && !document.querySelector(".region-pin");
document.getElementById("out").textContent = (ok ? "PASS" : "FAIL") + " map stays hidden when MapLibre cannot load";
}, 500);
</script>
</body></html>