feat: add due date filter to KanbanFilters

- Introduced `showWithDueDate` option in `KanbanFilters` to filter tasks based on due dates.
- Added toggle button in the UI for users to easily enable/disable this filter.
- Updated `TasksContext` to handle the new filter state and applied filtering logic in task retrieval.
- Ensured user preferences are saved with the new filter option in `user-preferences.ts`.
This commit is contained in:
Julien Froidefond
2025-09-25 21:44:08 +02:00
parent a870f7f3dc
commit 551279efcb
4 changed files with 52 additions and 1 deletions

View File

@@ -17,7 +17,8 @@ const DEFAULT_PREFERENCES: UserPreferences = {
tags: [],
priorities: [],
showCompleted: true,
sortBy: ''
sortBy: '',
showWithDueDate: false
},
viewPreferences: {
compactView: false,