feat: page long and truncated lists
ci / image (pull_request) Successful in 3m18s
ci / build (pull_request) Successful in 8m38s
ci / test (pull_request) Successful in 12m6s
ci / lint (pull_request) Successful in 15m0s

Lists that were cut off by a fixed LIMIT, or could grow without bound,
are paged by keyset: the cursor holds the sort key and an ID, so pages
neither skip nor repeat items as others are added. The audit logs had a
timestamp-only cursor that could skip entries with equal times.

The API returns at most 100 items per list (limit takes up to 500) with
next_cursor and prev_cursor, passed back as after and before. The
console shows Newer/Older (or Previous/Next) links and To the start,
without JavaScript.

Paged: incidents (optionally of one monitor), a monitor's results and
evidence, a checker's results, the audit logs, members, maintenance
windows, firing Alertmanager alerts, the monitors API and the admin
lists of status pages and organizations, which move to their own admin
pages. A monitor's page shows its latest incidents and results and links
to all of them. The dashboard caps every group at 50 of its own monitors
with a link to a paged view of the group, and gains a search by name or
target. Lists filtered by permission after reading may show fewer items
on a page.

Closes #116

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-22 21:40:25 +01:00
1 parent 98fb5d3a82
commit d7c5cd711e
63 files changed
+5427 -3041

No files matched your search

+21 -2
View File
@@ -131,7 +131,6 @@
"audit.deleted_user": "Gelöschter Benutzer",
"audit.empty": "Noch keine Einträge.",
"audit.intro": "Änderungen in dieser Organisation: wer wann was getan hat und von welcher Adresse. Einträge lassen sich nicht bearbeiten.",
"audit.older": "Ältere Einträge",
"audit.platform_intro": "Änderungen an Plattform-Regionen und -Agents sowie Anmeldeversuche für unbekannte Konten.",
"audit.platform_title": "Plattform-Audit-Log",
"audit.title": "Audit-Log",
@@ -495,6 +494,7 @@
"error.invalid_code": "Code ungültig.",
"error.invalid_config": "Die Check-Einstellungen sind ungültig.",
"error.invalid_credentials": "E-Mail oder Passwort falsch.",
"error.invalid_cursor": "Dieser Seitenlink ist ungültig; beginne bei der ersten Seite.",
"error.invalid_domain": "Eine der Domains ist ungültig.",
"error.invalid_email": "Bitte eine gültige E-Mail-Adresse eingeben.",
"error.invalid_expect_status": "Erwartete Statuscodes müssen Codes wie 200 oder Klassen wie 2xx sein.",
@@ -505,6 +505,7 @@
"error.invalid_interval": "Das Intervall muss mindestens {{.Min}} Sekunden und höchstens einen Tag betragen.",
"error.invalid_json_body": "Der Request-Body ist kein gültiges JSON.",
"error.invalid_legal_url": "Der Link muss eine http- oder https-URL sein.",
"error.invalid_limit": "limit muss zwischen 1 und {{.Max}} liegen.",
"error.invalid_maintenance_duration": "Die Dauer muss zwischen 1 Minute und 30 Tagen liegen.",
"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.",
@@ -731,7 +732,10 @@
"groups.none": "– oberste Ebene –",
"groups.parent": "In Gruppe",
"groups.title": "Monitor-Gruppen",
"incidents.all": "Alle Vorfälle",
"incidents.all_of_monitor": "Alle Vorfälle dieses Monitors",
"incidents.none": "Bisher keine Incidents.",
"incidents.of_monitor": "Vorfälle von",
"incidents.ongoing": "laufend",
"incidents.resolved": "behoben",
"incidents.title": "Incidents",
@@ -847,7 +851,6 @@
"moderation.delete_owner": "Account löschen",
"moderation.delete_page": "Statusseite löschen",
"moderation.intro": "Alle veröffentlichten Statusseiten und alle gesperrten Seiten, Organisationen und Accounts, jeweils mit Organisation und Inhaber. Sperren lässt sich rückgängig machen und zeigt der Organisation den Grund; Löschen ist endgültig.",
"moderation.limited": "Nur die neuesten 500 werden angezeigt; die Suche grenzt ein.",
"moderation.none": "Keine Statusseite gefunden.",
"moderation.org": "Organisation",
"moderation.owner": "Inhaber",
@@ -864,6 +867,8 @@
"moderation.target_page": "Statusseite",
"moderation.title": "Öffentliche Statusseiten",
"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.assertion_op": "Operator",
"monitors.assertion_path": "Pfad",
"monitors.assertion_value": "Wert",
@@ -935,6 +940,8 @@
"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.new": "Neuer Monitor",
"monitors.no_match": "Kein Monitor gefunden.",
"monitors.no_results": "Noch keine Ergebnisse.",
"monitors.op_absent": "fehlt",
"monitors.op_contains": "enthält",
"monitors.op_eq": "gleich",
@@ -963,7 +970,10 @@
"monitors.recent": "Letzte Checks",
"monitors.regions": "Regionen",
"monitors.regions_hint": "Geprüft von einem zufälligen Checker jeder gewählten Region. Deine eigenen Regionen stehen oben.",
"monitors.results_title": "Prüfergebnisse",
"monitors.search": "Nach Name oder Ziel suchen",
"monitors.secret_unchanged": "unverändert",
"monitors.show_all": "Alle {{.Count}} anzeigen",
"monitors.sla": "SLA",
"monitors.sla_table": "SLA nach Zeitraum",
"monitors.smtp_hint": "Ziel ist host:port (25, 587 oder 465). Wartet auf die Begrüßung und sendet EHLO; mit Verschlüsselung muss STARTTLS gelingen.",
@@ -1015,6 +1025,7 @@
"monitors.type_steam": "Steam-Spieleserver",
"monitors.type_tcp": "TCP-Port",
"monitors.type_tls": "TLS-Zertifikat",
"monitors.ungrouped": "Ohne Gruppe",
"monitors.uptime_chart": "Uptime pro Zeitraum",
"monitors.verify_tls": "TLS-Zertifikat prüfen",
"notify.duration": "Ausgefallen für {{.Duration}}",
@@ -1063,6 +1074,14 @@
"page.status.unknown": "Status derzeit nicht verfügbar",
"page.today": "Heute",
"page.updated": "Aktualisiert {{.Time}}",
"pager.earlier": "Frühere",
"pager.first": "Zum Anfang",
"pager.label": "Seiten",
"pager.later": "Spätere",
"pager.newer": "Neuere",
"pager.next": "Weiter",
"pager.older": "Ältere",
"pager.previous": "Zurück",
"pages.accent": "Akzentfarbe (#rrggbb)",
"pages.components": "Monitore auf dieser Seite",
"pages.create": "Statuspage anlegen",