Add Support for Recurring Tasks in TaskWarrior Integration
Currently, users need to manually recreate tasks that occur on a regular basis (like daily standups, weekly reports, monthly reviews, etc.). This is time-consuming and prone to errors
- Having to manually create the same task multiple times
- Missing recurring deadlines because they forgot to create the next instance
Implement full support for TaskWarrior's recurring task functionality, allowing users to
Create tasks with recurrence patterns:
{
"description": "Team Weekly Sync",
"recurrence": "weekly",
"dueDate": "2024-03-22",
"until": "2024-12-31"
}
Support for different recurrence frequencies:
- Daily tasks
- Weekly tasks
- Monthly tasks
- Yearly tasks
Additional context It is there in original Takswarrior, for reference
This might be done by adding new fields in the Task Model on the backend like Parent Task, Recur, Rtype, etc. Shall update the frontend as well to reflect the changes. Be sure to make these fields optional in the add task handler if you are willing to work on this
Yeap, I have the solution..its optional, if nothing passed, it will still works
Server Side is ready and Tested, for testing one can follow these standard terminal call (inside Backend)
go test -v ./controllers -run "Test_(ModifyRecurringTask|AddTaskWithRecurrence)"