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

@@ -235,6 +235,7 @@ export class DailyService {
jiraKey: checkbox.task.jiraKey || undefined,
assignee: checkbox.task.assignee || undefined
} : undefined,
isArchived: checkbox.text.includes('[ARCHIVÉ]'),
createdAt: checkbox.createdAt,
updatedAt: checkbox.updatedAt
};