Personen koennen einen Namen bekommen (Plan-Einstellungen)
Deploy App / deploy (push) Successful in 1m52s

Person A/B erhalten ein optionales Namensfeld (Migration: Person.name nullable).
Fallback im UI bleibt "Person A"/"Person B". Angezeigt in Grundprofil-Box, Zeitachse,
Matrix-Elementzuordnung und Element-Erstelldialog; Szenario-Kopie uebernimmt den Namen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 08:32:19 +02:00
parent 56f8140af5
commit 4483980169
8 changed files with 40 additions and 17 deletions
+1
View File
@@ -5,6 +5,7 @@ import { getCurrentUserId } from "@/lib/session";
const personSchema = z.object({
role: z.enum(["PERSON_A", "PERSON_B"]),
name: z.string().max(60).nullish(),
age: z.number().int().min(0).max(120),
retirementAge: z.number().int().min(30).max(100),
});