feat(console): sort the monitor list and put monitors in an order of one's own
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 10m49s
ci / test (pull_request) Successful in 14m39s
ci / build (pull_request) Canceled after 14m22s
ci / image (pull_request) Canceled after 0s

The monitor list gets a sort switcher: the organization's own order, by
default, or by name, status (problems first), uptime (worst first) or
latency (slowest first). The choice is remembered in a cookie; paging
follows it.

"Arrange monitors" shows the whole tree with each group's monitors to
drag, or move with up and down, into the order wanted; every change is
saved at once through PUT /api/v1/org/monitors/order, which needs write
access to every monitor given and is audited. Monitors without a position
follow the positioned ones, by name.

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-25 23:35:02 +01:00
1 parent ca852c8299
commit b0d4bcc002
16 files changed
+3389 -2653

No files matched your search

+12
View File
@@ -107,6 +107,7 @@
"audit.action.member.role_unassign": "Rolle entzogen",
"audit.action.monitor.create": "Monitor erstellt",
"audit.action.monitor.delete": "Monitor gelöscht",
"audit.action.monitor.order": "Monitore angeordnet",
"audit.action.monitor.update": "Monitor geändert",
"audit.action.org.check_types_update": "Check-Typen geändert",
"audit.action.org.create": "Organisation angelegt",
@@ -1021,6 +1022,9 @@
"monitors.alertmanager_hint": "Ausgefallen, solange ein Alert feuert, der alle Matcher erfüllt. Alerts kommen über einen Empfänger:",
"monitors.all": "Alle Monitore",
"monitors.all_results": "Alle Ergebnisse",
"monitors.arrange": "Monitore anordnen",
"monitors.arrange_done": "Anordnen beenden",
"monitors.arrange_hint": "Zieh die Monitore oder verschieb sie mit ↑ und ↓ in die gewünschte Reihenfolge innerhalb ihrer Gruppe. Jede Änderung wird sofort gespeichert und gilt für alle in der Organisation.",
"monitors.assertion_op": "Operator",
"monitors.assertion_path": "Pfad",
"monitors.assertion_value": "Wert",
@@ -1099,6 +1103,8 @@
"monitors.minecraft_edition": "Edition",
"monitors.minecraft_hint": "Ziel ist host:port (Java meist 25565, Bedrock 19132). Pingt den Server wie die Serverliste im Spiel.",
"monitors.minecraft_java": "Java Edition",
"monitors.move_down": "{{.Name}} nach unten",
"monitors.move_up": "{{.Name}} nach oben",
"monitors.new": "Neuer Monitor",
"monitors.no_data_since": "keine Daten seit {{.Time}}",
"monitors.no_match": "Kein Monitor gefunden.",
@@ -1154,6 +1160,12 @@
"monitors.snmp_oid": "OID",
"monitors.snmp_value": "Wert",
"monitors.snmp_version": "Version",
"monitors.sort": "Sortierung",
"monitors.sort_custom": "eigene Reihenfolge",
"monitors.sort_latency": "Latenz",
"monitors.sort_name": "Name",
"monitors.sort_status": "Status",
"monitors.sort_uptime": "Uptime",
"monitors.stale_hours": "Verfällt nach (Stunden)",
"monitors.stale_hours_hint": "Ein feuernder Alert, den Alertmanager nicht mehr wiederholt, gilt nach dieser Zeit als beendet. Halte sie über repeat_interval.",
"monitors.steam_hint": "Ziel ist host:port des Query-Ports (meist der Spielport, z. B. 27015). Fragt den Server wie der Steam-Serverbrowser nach seinen Infos (A2S); funktioniert für Source- und die meisten Steam-Spiele.",
+12
View File
@@ -107,6 +107,7 @@
"audit.action.member.role_unassign": "Role removed",
"audit.action.monitor.create": "Monitor created",
"audit.action.monitor.delete": "Monitor deleted",
"audit.action.monitor.order": "Monitors put in order",
"audit.action.monitor.update": "Monitor changed",
"audit.action.org.check_types_update": "Check types changed",
"audit.action.org.create": "Organization created",
@@ -1021,6 +1022,9 @@
"monitors.alertmanager_hint": "Down while an alert matching all matchers fires. Alerts arrive through a receiver:",
"monitors.all": "All monitors",
"monitors.all_results": "All results",
"monitors.arrange": "Arrange monitors",
"monitors.arrange_done": "Done arranging",
"monitors.arrange_hint": "Drag the monitors, or move them with ↑ and ↓, into the order you want within each group. Every change is saved at once and is the same for everybody in the organization.",
"monitors.assertion_op": "Operator",
"monitors.assertion_path": "Path",
"monitors.assertion_value": "Value",
@@ -1099,6 +1103,8 @@
"monitors.minecraft_edition": "Edition",
"monitors.minecraft_hint": "Target is host:port (Java usually 25565, Bedrock 19132). Pings the server like the in-game server list.",
"monitors.minecraft_java": "Java Edition",
"monitors.move_down": "Move {{.Name}} down",
"monitors.move_up": "Move {{.Name}} up",
"monitors.new": "New monitor",
"monitors.no_data_since": "no data since {{.Time}}",
"monitors.no_match": "No monitor matches.",
@@ -1154,6 +1160,12 @@
"monitors.snmp_oid": "OID",
"monitors.snmp_value": "Value",
"monitors.snmp_version": "Version",
"monitors.sort": "Sort order",
"monitors.sort_custom": "own order",
"monitors.sort_latency": "latency",
"monitors.sort_name": "name",
"monitors.sort_status": "status",
"monitors.sort_uptime": "uptime",
"monitors.stale_hours": "Stale after (hours)",
"monitors.stale_hours_hint": "A firing alert Alertmanager stops repeating counts as over after this time. Keep it above repeat_interval.",
"monitors.steam_hint": "Target is host:port of the query port (usually the game port, e.g. 27015). Asks the server for its info like the Steam server browser (A2S); works for Source and most Steam games.",