feat(ui): globaler Aktivitäts-Feed auf dem Dashboard
CI / backend-tests (push) Failing after 2m1s
CI / frontend-build (push) Successful in 19s

Karte "Letzte Aktivität" nutzt GET /historie (kein neuer Endpunkt),
statt Ereignisse nur pro Objekt in der Akte sehen zu können. Lesbare
Ereignis-Labels (EREIGNIS_LABEL) auch in AktePage statt rohem
ereignistyp-String. Angeregt durch Resgrid-Doku (Activity-Log-Panel).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
This commit is contained in:
2026-09-06 22:03:39 +02:00
co-authored by Claude Sonnet 5
parent 65203a039c
commit 9281840ac1
4 changed files with 58 additions and 3 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import type { Akte } from "../api/types";
import { DokumentePanel } from "../components/DokumentePanel";
import { ReadinessBadge } from "../components/status/ReadinessBadge";
import { GRUND_TEXT } from "../components/status/gruendeText";
import { EREIGNIS_LABEL } from "../components/status/ereignisText";
const MANGEL_PRIORITAET_LABEL: Record<string, string> = {
niedrig: "Niedrig",
@@ -151,7 +152,7 @@ export function AktePage() {
<ul>
{akte.historie.map((h) => (
<li key={h.id}>
{new Date(h.zeitpunkt).toLocaleString("de-DE")} {h.ereignistyp}
{new Date(h.zeitpunkt).toLocaleString("de-DE")} {EREIGNIS_LABEL[h.ereignistyp] ?? h.ereignistyp}
{h.benutzer_name && <span className="text-muted"> ({h.benutzer_name})</span>}
</li>
))}