feat: add isArchived property to DailyCheckbox and related components

- Introduced `isArchived` property to `DailyCheckbox` to track archived tasks.
- Updated `DailyCheckboxItem`, `CheckboxItem`, and `DailySection` components to reflect archived state in UI.
- Adjusted checkbox behavior to disable interactions for archived tasks and visually indicate their status.
- Enhanced task management services to include archived status during task creation and updates.
This commit is contained in:
Julien Froidefond
2025-10-02 11:02:29 +02:00
parent e0b5afb437
commit 63ef861360
7 changed files with 34 additions and 12 deletions

View File

@@ -435,6 +435,7 @@ export interface DailyCheckbox {
order: number;
taskId?: string;
task?: Task; // Relation optionnelle vers une tâche
isArchived?: boolean;
createdAt: Date;
updatedAt: Date;
}