Go-For-It icon indicating copy to clipboard operation
Go-For-It copied to clipboard

[Feature request] Reoccurring Tasks with todo.txt solution

Open ronrdev opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Please describe. This is a possible solution to reoccurring tasks. Keeps the plain text simplicity.

Describe the solution you'd like Currently I have created two extra text files in the same directory as my todo.txt file. Called today.txt and weekly.txt. The today list holds daily tasks tagged with the context @Today. The weekly list holds tasks with @Monday, @Tuesday... contexts.

today.txt Example Daily Reoccurring Task 1 @Today Example Daily Reoccurring Task 2 @Today @Morning Example Daily Reoccurring Task 2 @Today

weekly.txt Example Weekly Task 1 @Monday Example Weekly Task 2 @Monday Example Weekly Task 3 @Tuesday Example Weekly Task 4 @Wednesday Example Weekly Task 5 @Friday Example Weekly Task 6 @Sunday

I manually copy and paste the today.txt tasks myself every day. I manually cut and paste the weekly.txt tasks at the beginning of the week. I check the tasks off as usual.

If the gui had buttons or options in the dropdown to add daily tasks/add weekly tasks. It could read these files and append the items to todo.txt. This would be great. I like the idea of controlling when I add these tasks. Not an automatic addition. The program could possibly write to these files as well if a task contained the appropriate tags. Removing the need to edit the text files at all.

I was doing this with different todo.txt lists, but I like having these reoccurring tasks added to one master list

ronrdev avatar Mar 19 '20 16:03 ronrdev

You just pinged seven people fyi.

friday avatar Mar 19 '20 17:03 friday

Sorry. Thanks for letting me know.

ronrdev avatar Mar 19 '20 17:03 ronrdev

In the recurrence branch I'm currently implementing recurrence for todo.txt tasks (Planning on adding a evolution data server backend later. That backend will have a more powerful recurrence model.).

Example task for tomorrow (first of march 2021) that should recur weekly and should be available (shown) today:

example task due:2021-03-01 repeat:1w t:2021-02-28

This task should be displayed together with the label Tomorrow.

On completion:

example task due:2021-03-08 repeat:1w t:2021-03-07
x example task due:2021-03-01 t:2021-02-28

Recurrence based on completion date instead of due date is also supported.

Currently the repeat syntax is based on that of org mode https://orgmode.org/manual/Repeated-tasks.html. The + is just dropped .+1w becomes .1w. However, I may change the syntax to follow the format described at https://swiftodoapp.com/desktop/ as that is already supported by another app.

Tasks with a threshold date in the future can be stored in a different file from the normal tasks to avoid clutter in apps that cannot filter tasks based on threshold date.

JMoerman avatar Feb 28 '21 16:02 JMoerman