-
Notifications
You must be signed in to change notification settings - Fork 16
(BACKEND) - Add recurrence support for tasks #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Implemented recurrence pattern validation in AddTaskHandler and ModifyTaskHandler. - Updated AddTaskRequestBody and ModifyTaskRequestBody to include recurrence and until fields. - Enhanced AddTaskToTaskwarrior and ModifyTaskInTaskwarrior functions to handle recurrence parameters. - Added unit tests for adding and modifying tasks with recurrence patterns.
@its-me-abhishek New Feature is Added |
are there any updates on the frontend |
leave the issue there and remove the backend tag(label). I have some work to do, Either I'll do it later or someone else can manage this 😄 |
@its-me-abhishek Just a gentle reminder: you can test the various APIs created. Please leave the issue (#91) there and remove the backend tag after checking. |
hi, i am aware of this PR and i will test them out whenever some frontend gets developed for the same as the backend code looks okay to me (not tested).. the labels have to stay as (in this project) they are not about what has to be done, but what has been done in that closed (now open) issue for easy tracking in case some PR breaks anything unexpectedly |
also, do checkout the code-review above about some package.json |
I didn't see any, can you provide the link if possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix this
resolved |
#91 Fix - Backend
Add Task Recurrence Support
Description
Adds support for recurring tasks based on Taskwarrior's recurrence functionality. Users can now create and modify tasks with daily, weekly, monthly, or yearly recurrence patterns. For more reference (docs)
Changes
Recur
,Until
,Mask
)Testing
Added test cases for:
Inside Backend run the following command
go test -v ./controllers -run "Test_(ModifyRecurringTask|AddTaskWithRecurrence)"
Usage Example
Important
daily
,weekly
,monthly
,yearly
until
field is optional