Skip to content
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

[Feature request] Reoccurring Tasks with todo.txt solution #95

Open
ronrdev opened this issue Mar 19, 2020 · 3 comments
Open

[Feature request] Reoccurring Tasks with todo.txt solution #95

ronrdev opened this issue Mar 19, 2020 · 3 comments

Comments

@ronrdev
Copy link

ronrdev commented Mar 19, 2020

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

@friday
Copy link

friday commented Mar 19, 2020

You just pinged seven people fyi.

@ronrdev
Copy link
Author

ronrdev commented Mar 19, 2020

Sorry. Thanks for letting me know.

@JMoerman
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants