feat(reflexion): ToDo-Titel inline editierbar

ToDos in der Reflexion lassen sich per Klick auf den Titel korrigieren
(z. B. Tippfehler), Enter speichert / Escape bricht ab. Neuer Endpoint
dayEntry.editTodoTitle — nur eigene ToDos vom heutigen Berlin-Tag,
ändert den Titel in-place (Status/Reihenfolge/IDs bleiben).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dejanandClaude Opus 4.8 committed 2026-06-05 17:31:03 +02:00
1 parent 804b7637e7
commit 8933169ba9
3 files changed
+124 -2

No files matched your search

+6
View File
@@ -51,6 +51,12 @@ export const todoMutationInput = z.object({
});
export type TodoMutationInput = z.infer<typeof todoMutationInput>;
export const editTodoTitleInput = z.object({
todoId: z.string().uuid(),
title: z.string().min(1).max(200),
});
export type EditTodoTitleInput = z.infer<typeof editTodoTitleInput>;
export const markAbsentInput = z.object({
from: z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
to: z.string().regex(/^\d{4}-\d{2}-\d{2}$/),