feat(06-01): build task history sheet, wire into TaskFormScreen, add CalendarTaskRow navigation

- Create task_history_sheet.dart: showTaskHistorySheet() modal bottom sheet
- Sheet uses StreamBuilder on watchCompletionsForTask, shows dates in dd.MM.yyyy + HH:mm format
- Empty state: Icons.history + 'Noch nie erledigt' message
- Count summary shown above list when completions exist
- Add Verlauf ListTile to TaskFormScreen (edit mode only) opening history sheet
- Add onTap to CalendarTaskRow navigating to /rooms/:roomId/tasks/:taskId
- All 106 tests pass, zero analyze issues
This commit is contained in:
2026-03-16 21:57:11 +01:00
parent ceae7d7d61
commit 9f902ff2c7
3 changed files with 155 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ class CalendarTaskRow extends StatelessWidget {
final task = taskWithRoom.task;
return ListTile(
onTap: () => context.go(
'/rooms/${taskWithRoom.roomId}/tasks/${taskWithRoom.task.id}',
),
leading: Checkbox(
value: false,
onChanged: (_) => onCompleted(),