Deadline nachträglich editierbar, Arbeitsmodus aus UI entfernen
Deadline lässt sich jetzt direkt im Projekt-Header bearbeiten (Inline- Datepicker mit Freitag/Wochenende-Warnung), via project.update. Der Arbeitsmodus (Kanban/Cycle) ist in ebw bedeutungslos und fliegt aus der Projekterstellung und der Header-Zeile raus. DB-Spalte bleibt ungenutzt bestehen (keine destruktive Migration nötig). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
684841ffb4
commit
ba8e524261
4 files changed
+72
-18
No files matched your search
@@ -18,7 +18,6 @@ export const createProjectInput = z.object({
|
||||
logoUrl: logoUrlSchema.optional(),
|
||||
kind: z.enum(['kundenprojekt', 'internes_projekt']),
|
||||
verantwortlicheUserId: z.string().uuid().optional(),
|
||||
arbeitsmodus: z.enum(['cycle', 'kanban']).optional(),
|
||||
outlineSteckbriefUrl: z.string().url(),
|
||||
planeProjectUrl: z.string().url(),
|
||||
risikolisteUrl: z.string().url().optional(),
|
||||
@@ -114,6 +113,16 @@ export const updateProjectInput = z.object({
|
||||
liefergegenstaende: z.string().max(2000).nullable().optional(),
|
||||
zieldreieckFlex: zieldreieckFlexSchema.nullable().optional(),
|
||||
logoUrl: logoUrlSchema.nullable().optional(),
|
||||
start: z
|
||||
.string()
|
||||
.regex(/^\d{4}-\d{2}-\d{2}$/)
|
||||
.nullable()
|
||||
.optional(),
|
||||
deadline: z
|
||||
.string()
|
||||
.regex(/^\d{4}-\d{2}-\d{2}$/)
|
||||
.nullable()
|
||||
.optional(),
|
||||
outlineSteckbriefUrl: z.string().url().nullable().optional(),
|
||||
planeProjectUrl: z.string().url().nullable().optional(),
|
||||
risikolisteUrl: z.string().url().nullable().optional(),
|
||||
|
||||
Reference in new issue
Block a user