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:
@@ -109,7 +109,8 @@ export class DailyClient {
|
||||
...checkbox,
|
||||
date: parseDate(checkbox.date),
|
||||
createdAt: parseDate(checkbox.createdAt),
|
||||
updatedAt: parseDate(checkbox.updatedAt)
|
||||
updatedAt: parseDate(checkbox.updatedAt),
|
||||
isArchived: checkbox.text.includes('[ARCHIVÉ]')
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user