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

Thought about automatic regen at midnight (or time you set)? #12

Open
untern8 opened this issue Mar 31, 2021 · 1 comment
Open

Thought about automatic regen at midnight (or time you set)? #12

untern8 opened this issue Mar 31, 2021 · 1 comment

Comments

@untern8
Copy link

untern8 commented Mar 31, 2021

Love the regeneration feature!

What about automatically regenerating tasks by time instead of manually checking the parentless task with a recurring date? Say you have a list of subtasks that need to be done every day and you need the list to start over regardless of whether you got them all done the day before. Currently, you have to manually check the task to generate the subtasks (with the proper labels and switches, of course). What if you created another label (regen_all_midnight) that triggered regeneration of subtasks at midnight every night regardless of whether they were done or not the previous day?

Just a thought...

@Hoffelhas
Copy link
Owner

Hi there, thanks for your suggestion! I like the idea of auto-regenerating the list. I'll still have to think if I want to do it at midnight, or give users a choice on when it should happen. This latter option requires a bit more thought on how I would keep the overall functionality streamlined.

In addition, all the current logic relies on a user checking the tasks, since Todoist then changes the date. I can then do a simple comparison of the old and new dates and detect if action is needed. With this mode selected, it would require a different check of the user's local time. Again, this is possible, but it requires a bit more thought to not make a mess of the code.

I'll give it some more thoughts and I'll let you know how it works it out!

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

No branches or pull requests

2 participants