Kirska/Habitica_ToDoOvers

Delay appears to be broken

Closed this issue · 4 comments

I've checked the delay function in two scenarios,

  • creating a new to-do over with Days = 90 and Delay = 45 days, results in a new item being created (perhaps this is working as intended since it is the first instance of a to-do over)
  • example, a repeated to-do over with Days = 30 and Delay = 15 days, results in the to-do over being created immediately.

I do not code and am new to ToDoOvers. Thank you for making ToDoOvers - I find it extremely helpful!!

This is working as intended. The delay value is intended to be the time between tasks after it's completed. So the delay starts after the task is completed the first time.

A possible enhancement is skipping the first task creation, but I wouldn't call it a bug, I'd call it a new feature.

I updated the text in the app itself to hopefully make this a little more clear.

The first "days" field is the number of days you have to complete a task.

The second "days delay" field is the number of days the app will wait before re-creating a task.

So if you create a task with an allotted days of 3, and a delay of 7, it will be created immediately, with a due date of 3 days from today. Whenever you complete it, the app will wait 7 days, and then create it again, with a due date of 3 days from THAT day. Hopefully this helps. I'm going to mark this closed since I updated the app to be a little more clear.