-
Notifications
You must be signed in to change notification settings - Fork 14
Sync only tasks with due dates? #15
Comments
I think this line is what you want. That line should be wrapped in an if statement, I believe this would work: // Note: haven't actually tested this in real code
if(item.todoist.due_date_utc) {
needToUpdate.push(item);
} It wouldn't take into account if you removed the date later on. For that, you'd have to not only delete the record from Habit RPG, but also delete the record from the saved history (Otherwise a new habit will be generated the next time you try to add a due date to that habit with the name of the old habit's uuid) . All that could be done, but it'd be a much more involved process. Not sure if you know this, but red todos result in more xp and gold when you complete them. Could be a benefit for having them added in! |
Thanks! I'll try modifying the script with that line. Personally, I use Todoist for more than just immediate to-do's - I keep ideas for new blog features, books I want to read, etc in there as well. I suppose I could eventually move them back to an ideas board in Trello, but for now Todoist is working well. For that reason I wouldn't want to earn more exp from those tasks, as they're not actually procrastinated tasks - just ideas for later :) |
@TomFrankly That makes sense. I also have similar projects that don't strictly need to appear (books/movies I want to read/watch) in Habit, but it's easier to just let them at this moment. |
I have a similar workflow where I like to keep projects full of todo's, then prioritize them later. What are the vast majority of people's workflow? Maybe it is time to prioritize the config brought up in #9. |
👍 on that.
Post about workflows and what you'd like to be configurable on #17 |
How could I modify this to only sync tasks that have a set due date in Todoist? I put a lot of tasks in there that won't be prioritized or done for a while, and they'll probably get really red in HabitRPG. Thanks!
The text was updated successfully, but these errors were encountered: