feat(regions): show checker regions on a map
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 11m48s
ci / test (pull_request) Successful in 12m42s
ci / build (pull_request) Canceled after 30s
ci / image (pull_request) Canceled after 0s

Regions get an optional location. Platform admins set it for platform
regions and org admins for their own, by clicking the map on the regions
page or entering the coordinates; PATCH /org/regions/:id and
/admin/regions/:id set or remove it.

The monitor form shows the located regions on a map from the
self-hosted ZB-Server Maps: a click on a marker ticks or unticks the
region, and the checkbox list stays the source of truth. MapLibre loads
only on pages with a map, and the map stays hidden if the map server
cannot be reached.

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:17:27 +01:00
1 parent 3f260c0712
commit 3562f8224e
24 files changed
+3081 -1806

No files matched your search

+10
View File
@@ -129,6 +129,7 @@
"audit.action.platform.org_suspension": "Organisation gesperrt oder entsperrt",
"audit.action.platform.region_create": "Plattform-Region erstellt",
"audit.action.platform.region_delete": "Plattform-Region gelöscht",
"audit.action.platform.region_update": "Standort einer Plattform-Region geändert",
"audit.action.platform.status_page_delete": "Statusseite durch Admin gelöscht",
"audit.action.platform.status_page_suspension": "Statusseite gesperrt oder entsperrt",
"audit.action.platform.user_delete": "Account durch Admin gelöscht",
@@ -136,6 +137,7 @@
"audit.action.platform.user_suspension": "Account gesperrt oder entsperrt",
"audit.action.region.create": "Region erstellt",
"audit.action.region.delete": "Region gelöscht",
"audit.action.region.update": "Standort einer Region geändert",
"audit.action.role.create": "Rolle erstellt",
"audit.action.role.delete": "Rolle gelöscht",
"audit.action.role.update": "Rolle geändert",
@@ -587,6 +589,7 @@
"error.invalid_maintenance_time": "Prüfe Beginn, Wochentage und letzten Tag.",
"error.invalid_matchers": "Lege 1 bis 20 Label-Matcher mit gültigen Label-Namen und regulären Ausdrücken an.",
"error.invalid_method": "Nur GET- und HEAD-Anfragen werden unterstützt.",
"error.invalid_location": "Breitengrad (−90 bis 90) und Längengrad (−180 bis 180) angeben, oder keins von beiden.",
"error.invalid_monitor": "Einer der Monitore existiert nicht oder ist doppelt aufgeführt.",
"error.invalid_permissions": "Mindestens eine Berechtigung auswählen.",
"error.invalid_query": "Gib eine PromQL-Abfrage mit höchstens 2000 Zeichen ein.",
@@ -1361,6 +1364,13 @@
"one": "{{.Count}} aktiv",
"other": "{{.Count}} aktiv"
},
"regions.latitude": "Breitengrad",
"regions.location": "Standort",
"regions.location_clear": "Standort entfernen",
"regions.location_for": "Standort von {{.Name}}: auf die Karte klicken oder die Koordinaten eingeben.",
"regions.location_pick_hint": "Ein Klick auf die Karte setzt die Koordinaten einer neuen Region oder der Region, deren Standort du gerade setzt.",
"regions.location_set": "Setzen",
"regions.longitude": "Längengrad",
"regions.own": "diese Organisation",
"regions.owner": "Besitzer",
"regions.platform": "Plattform",
+10
View File
@@ -129,6 +129,7 @@
"audit.action.platform.org_suspension": "Organization suspended or reinstated",
"audit.action.platform.region_create": "Platform region created",
"audit.action.platform.region_delete": "Platform region deleted",
"audit.action.platform.region_update": "Platform region location changed",
"audit.action.platform.status_page_delete": "Status page deleted by admin",
"audit.action.platform.status_page_suspension": "Status page suspended or reinstated",
"audit.action.platform.user_delete": "Account deleted by admin",
@@ -136,6 +137,7 @@
"audit.action.platform.user_suspension": "Account suspended or reinstated",
"audit.action.region.create": "Region created",
"audit.action.region.delete": "Region deleted",
"audit.action.region.update": "Region location changed",
"audit.action.role.create": "Role created",
"audit.action.role.delete": "Role deleted",
"audit.action.role.update": "Role changed",
@@ -587,6 +589,7 @@
"error.invalid_maintenance_time": "Check start, weekdays and last day.",
"error.invalid_matchers": "Add 1 to 20 label matchers with valid label names and regular expressions.",
"error.invalid_method": "Only GET and HEAD requests are supported.",
"error.invalid_location": "Give latitude (−90 to 90) and longitude (−180 to 180), or neither.",
"error.invalid_monitor": "One of the monitors does not exist or is listed twice.",
"error.invalid_permissions": "Choose at least one permission.",
"error.invalid_query": "Enter a PromQL query of at most 2000 characters.",
@@ -1361,6 +1364,13 @@
"one": "{{.Count}} live",
"other": "{{.Count}} live"
},
"regions.latitude": "Latitude",
"regions.location": "Location",
"regions.location_clear": "Remove location",
"regions.location_for": "Location of {{.Name}}: click the map or enter the coordinates.",
"regions.location_pick_hint": "Click the map to fill in the coordinates of a new region, or of the region whose location you are setting.",
"regions.location_set": "Set",
"regions.longitude": "Longitude",
"regions.own": "this organization",
"regions.owner": "Owner",
"regions.platform": "platform",