feat: enhance task filtering in EditCheckboxModal

- Updated `filteredTasks` logic to exclude tasks marked as "objectif principal" (isPinned = true) for better task management.
- Added `tagDetails` property to `Task` interface to store detailed tag information, improving task data structure.
- Adjusted `TasksService` to extract and include tag details when retrieving tasks from the database.
This commit is contained in:
Julien Froidefond
2025-09-30 08:30:57 +02:00
parent 6ef52bec85
commit f0d14e29f8
3 changed files with 23 additions and 8 deletions

View File

@@ -42,6 +42,7 @@ export interface Task {
source: TaskSource;
sourceId?: string;
tags: string[];
tagDetails?: Tag[]; // Tags avec informations complètes (isPinned, etc.)
dueDate?: Date;
completedAt?: Date;
createdAt: Date;