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: Any plans on adding recurring tasks? #556

Open
stellarorion opened this issue Apr 28, 2024 · 2 comments
Open

Feature request: Any plans on adding recurring tasks? #556

stellarorion opened this issue Apr 28, 2024 · 2 comments
Labels
contributions welcome Further design discussions and PRs are welcome. enhancement lv: hard lv: medium

Comments

@stellarorion
Copy link

Hi! I recently discovered this handy utility on my endless search for the perfect FOSS To-Do app/s.

Rant: My current setup is a tasks.org app on my phone and todoman on my desktop. Surprisingly, there aren't a lot of todo/habit/whatever open-source apps, both for the desktop and Android. Or they are, but they're always broken or inconvenient in some way. Most of them which I tried either have an awful UI (Vikunja for example) or lack any way of synchronizing tasks to other devices or an important feature (such as working notifications on Android… I'm looking at you, Habitica). Previously I was using Thunderbird for desktop since it has “tasks” and a calendar that work with CalDav, but the sorting of tasks is unusable.

My feature request: Anyway, I wanted to ask if you have any plans on adding recurring tasks. I know that todoman technically supports them if they're set from a different source, but I didn't find a way to create them from CLI. Thank you for your response and time in advance, have a lovely day.

@WhyNotHugo WhyNotHugo added enhancement contributions welcome Further design discussions and PRs are welcome. lv: hard lv: medium labels Apr 28, 2024
@WhyNotHugo
Copy link
Member

WhyNotHugo commented Apr 28, 2024

This is a wanted feature. I haven't had time to even think about what it would look like.

Let's assume that you're using todo new pay the rent to create an event. What arguments would you specify for recurrence? todo new --every '1 month' ...? Somebody needs to implement this flag and convert 1 month into a recurrence rule.

For the TUI interface, this requires thinking what a widget would look like and actually implementing it.

A note for anyone interested in working on this: do check out what bits khal implements and if anything is reusable.

@stellarorion
Copy link
Author

The command could work like this todo new "pay the rent" --every "1 month", but what about custom occurrences? Such as 3 days in the week (Monday, Thursday, Friday)? Perhaps something like todo new "cook dinner" --every "1 week" = once every week on the day the task was created. And for specifying the days, maybe something like todo new "cook dinner" --every "1 week mo, tu, fr"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome Further design discussions and PRs are welcome. enhancement lv: hard lv: medium
Projects
None yet
Development

No branches or pull requests

2 participants