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:
@@ -17,7 +17,8 @@ const DEFAULT_PREFERENCES: UserPreferences = {
|
||||
tags: [],
|
||||
priorities: [],
|
||||
showCompleted: true,
|
||||
sortBy: ''
|
||||
sortBy: '',
|
||||
showWithDueDate: false
|
||||
},
|
||||
viewPreferences: {
|
||||
compactView: false,
|
||||
|
||||
Reference in New Issue
Block a user