Files
uptimesebi/internal/web/testdata/regionmap_offline.html
T
Sebastian UnterschützandClaude Opus 5.5 23717afec9
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 11m21s
ci / test (pull_request) Successful in 13m31s
ci / build (pull_request) Successful in 18m20s
ci / image (pull_request) Successful in 5m47s
feat(regions): public region list and touch-friendly maps
GET /api/v1/public/regions lists the platform regions with their
location and whether a checker is online, without authentication and to
any origin, for the website's front page. Each instance answers from
memory for 30 seconds; organizations' own regions are never listed.

On touch screens one finger scrolls the page and two move the map, the
pins are larger, and a tap no longer leaves rows highlighted. The
gesture hints are translated, and the regions table drops the key and
owner columns on phones so the location fits.

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

16 lines
763 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" data-touch-hint="t" data-scroll-hint="{key} s" data-ctrl-key="Ctrl" 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>