feat(regions): label the map pins and link them to the region list
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

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
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-28 20:31:11 +01:00
1 parent 3562f8224e
commit 6c246b145f
6 files changed
+92 -31

No files matched your search

+1 -1
View File
@@ -1137,7 +1137,7 @@ templ MonitorEditor(p Page, me Me, f MonitorForm) {
}
<div id="monitor-regions">
for _, r := range f.Regions {
<label class="mb-1.5 flex items-center gap-2 text-sm">
<label class="-mx-2 mb-0.5 flex items-center gap-2 px-2 py-1 text-sm">
<input
type="checkbox"
name="regions"