feat: add "Move to Today" functionality for pending tasks

- Implemented a new button in the `PendingTasksSection` to move unchecked tasks to today's date.
- Created `moveCheckboxToToday` action in `daily.ts` to handle the logic for moving tasks.
- Updated `DailyPageClient` and `PendingTasksSection` to integrate the new functionality and refresh the daily view after moving tasks.
- Marked the feature as completed in `TODO.md`.
This commit is contained in:
Julien Froidefond
2025-09-22 08:51:59 +02:00
parent f9d0641d77
commit b5d53ef0f1
6 changed files with 114 additions and 11 deletions

View File

@@ -360,6 +360,7 @@ export interface UpdateDailyCheckboxData {
type?: DailyCheckboxType;
taskId?: string;
order?: number;
date?: Date;
}
// Interface pour récupérer les checkboxes d'une journée