-
Notifications
You must be signed in to change notification settings - Fork 28
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] #32
Comments
@arretx I have implemented a filtering option to select the number of days in the future to display in a card in my forked version here: #31 (https://github.com/sw-carlos-cristobal/todoist-card/releases/tag/beta-0.0.5) |
Seems to be working well, but the feature I'm actually interested in is pinpointing a single day. If I do "days out" I get today and tomorrow, but if I just want to see what's on the task list for tomorrow, I can't see it without today's tasks as well. Looks like the calculation for this is handled on 534 in your js file on your repo. Your repo doesn't have an "issues" tab so I'm responding here. |
Ah do you mean picking a day range ahead of time like a static x through y days in the future? Or are you looking to just ignore today and overdue tasks?
|
Yes, to pick a single day, or range of days so you could have a card for "Today's Focus" which would be tasks that are due today, and a "Tomorrow's Focus" which would show only tasks that are due tomorrow. Or you could show a card with "3 Day Outlook" which would show all tasks for the next three days, not including today, or the next three days with an offset index. So today is Wednesday. I could have a card that shows 3 days worth of "due" tasks starting on Friday, which would be 3 days out for a range of 3 days, so "show me all tasks that have a due date in the range "friday through Sunday"" I think I'm making sense ? |
Yeah I think I know what you mean - I'll see what I can whip up sometime this week
|
I think this issue can be solved with the standard Todoist functionality. You can create a filter in Todoist, and then use it with the Rest API to get the list of tasks you need. To do this, you need to create a separate filter/sensor for each of your cards. This should work:
Replace Please note that you won't be able to use Also note that you can create only 3 filters in free Todoist's tariff plan. |
Personally, I'd like to just have a singular sensor per project that I can just create one card and duplicate it over and over with different settings toggled to get unique visuals. Here is my take on a sort of "sliding window" approach. |
That would be nice, but on the other hand - you can't just duplicate the functionality of Todoist in a HA card. |
Yeah I get that - but I also don't want to pay for a subscription 😁😂 |
In the todoist-card.js file, at line 443, it appears that this is where the check for only today or overdue status is checked and filtered. I'm not a js expert (actually beginner) so I'm trying to figure out the logic here in order to solve the problem I have.
Problem: I need to be able to create a card that lists tasks that are due two days, three days, or even a week out. At the bare minimum, to be able to have two cards, one for tasks due today and one for tasks scheduled to be due tomorrow.
My experience is this: If I don't filter out tasks that are due today or past due, then I end up with a card jammed with every task in the project, when I only want to see today's outlook. So, if a task is due today, that's great, but if I'm creating a task today that's scheduled to be done tomorrow, I won't see that task on the card until midnight instead of having a card that shows "Tomorrow's Tasks" etc.
Any chance of working this out?
The text was updated successfully, but these errors were encountered: