Integrate with Obsidian Tasks plugin #376
Replies: 27 comments 8 replies
-
I'm guessing this will be a popular feature request, so I am very open to feedback here :) There are a bunch of dates that can appear in a task. Which one should be considered the date for the task on full calendar?
I don't think Start date is relevant for the purposes of calendar placement, since it doesn't correspond to when a task is actually going to be completed. Priority of remaining dates:
|
Beta Was this translation helpful? Give feedback.
-
The Tasks plugin doesn't have any syntax for specifying the time of an event, so the |
Beta Was this translation helpful? Give feedback.
-
How should tasks move between notes when they are moved in Full Calendar? Right now, inline events/tasks always live in the daily note corresponding to when they take place.
I believe this matches how the Tasks plugin works -- the file name only matters when the default date setting is enabled. |
Beta Was this translation helpful? Give feedback.
-
I realize mine might be a special use case of sorts, but I divide my day planner in daily notes into the sub-headings 'morning' / 'rest of the day' / 'evening'. While it complicates things in Full Calendar, something I'd like to see would be the ability to do something like this, or a variation of:
Some questions I have regarding this that I didn't find an answer to in your ideas above (apologies if I missed it); what is the plan for detecting tasks in a daily note? Will it detect only tasks under a specific heading, similar to how adding an event puts it "Under heading", or will it be able to discern all Tasks tasks in the note? |
Beta Was this translation helpful? Give feedback.
-
@Zebrazilla, it will continue to detect tasks under a specific heading. |
Beta Was this translation helpful? Give feedback.
-
I look forward to this integration. As a journalist, the due date is the highest priority for me (I hardly ever use scheduled although I understand its value to others. It would be easy enough to create "deadline" events on my calendar and switching to using "scheduled" dates on my tasks -- and might even improve my workflow. But would it be possible to parse more than one of these task dates (since a task is not = markdown note)? |
Beta Was this translation helpful? Give feedback.
-
As the maintainer of Tasks, I am very happy to pair with someone who knows this plugin’s code well and has merge permissions, to make this happen. I can be contacted via the email in my GitHub profile. |
Beta Was this translation helpful? Give feedback.
-
If there was a use case for it, I would be happy to make tasks to offer the choice of which type(s) of dates should be inferred from file names, instead of just scheduled. |
Beta Was this translation helpful? Give feedback.
-
From doing Tasks' user support, I don't think there is a single agreed answer that everyone would use to select between the available dates. So I think that might suggest allowing the user to select which one they wanted to schedule the task for. Alternatively, here's a reply I found useful when asking a similar question in Tasks: |
Beta Was this translation helpful? Give feedback.
-
Having said the above, I do think that the order you propose in #219 (comment) makes a lot of sense. |
Beta Was this translation helpful? Give feedback.
-
@claremacrae, thank you for the offer! I likely won't have time to start working on this until after the New Year, but will follow up with you in January. |
Beta Was this translation helpful? Give feedback.
-
The relevant feature request I submitted to the Tasks plugin: obsidian-tasks-group/obsidian-tasks#1389 |
Beta Was this translation helpful? Give feedback.
-
If there is a start plus due date than I'd treat the item as occurring on each of the days. If only one of the two show on that day.
Since time isn't supported you can scan the item for a regex match for: \d\d:\d\d or d:\d\d-\d:\d for a time |
Beta Was this translation helpful? Give feedback.
-
as a simple first step, can you add the due date when you create a task item. Right now when I use the popup to add an item as a task, it creates the task on the daily note page for the specified date but the item doesn't have a due date of that day. If you added that we'd get some integration because you imply that the specified date is the due date by putting it on the daily notes page for the date. Today you create an item with text AAA as on 2023-03-01, then on the daily notes page for 2023-03-01 you add:
I'm suggesting you add the time as:
I can then use tasks queries that use due dates and the calendar item created will get included. |
Beta Was this translation helpful? Give feedback.
-
I don't know this plugin, but in case it helps, Tasks has the ability to treat dates in file-names as Scheduled dates, if you turn that on: |
Beta Was this translation helpful? Give feedback.
-
So if you could express your Tasks queries using scheduled - possibly with boolean OR to also pick up due - than might you be able to do what you wish with the current code? |
Beta Was this translation helpful? Give feedback.
-
thanks clare, and I knew that. The author of the plugin asks that requests be limited to a single request per issue. I made another request in #272 for a single note to be able to have multiple calendar items and this would be needed to pair with that request, even though it also stands on its own. |
Beta Was this translation helpful? Give feedback.
-
I already use happens in my tasks queries, and this picks up scheduled. if full-calendar added a scheduled icon/date when adding the item that would work for me. scheduled without times would be all day, scheduled with times is an event at that time start/end |
Beta Was this translation helpful? Give feedback.
-
Wanted to chime in and make a request and also thank you for the plugin! Tasks integration with Full Calendar would be an amazing addition to my workflow. With the recent addition of statuses, especially, seeing that represented in calendar view would be fantastic. |
Beta Was this translation helpful? Give feedback.
-
Showing a task both scheduled and due date (if applicable) showing the on the calendar, daily note if they are not defined. Example scenarios:
For extra credit ... showing the date marker(s) (⏳,📅), or other visual cue for it (such as by adjusted color opacity) could be helpful |
Beta Was this translation helpful? Give feedback.
-
Was there any further movement on this? Would love to see these two plugins integrated. |
Beta Was this translation helpful? Give feedback.
-
Looking at the top of this ticket, it started off as a single very specific thing. And has accumulated quite mass of other requests - and it seems, also, quite a lot of expectations too. My experience is that the broader and vaguer a request becomes, the less likely it is to ever get implemented. |
Beta Was this translation helpful? Give feedback.
-
The original is enough (darvish's first 3 posts). Agree with claire - limit to one thing, Let's end the discussions and let the dev get to work and know that his efforts are appreciated. PERIOD! |
Beta Was this translation helpful? Give feedback.
-
The ability to have tasks appear on the calendar by due date, ignoring everything else in this discussion, would be an amazing addition by itself. |
Beta Was this translation helpful? Give feedback.
-
Could the simplest first approach be to be able to select "Tasks Plugin" as a read-only Calendar option (along side Full note, Daily Note, iCloud, CalDAV, etc) and then a dialog appears where we input the task query (https://publish.obsidian.md/tasks/Queries/About+Queries) we want that calendar to display? For example,
It would not be an integration/sync, but allow users to show their task plugin tasks in Calendar on a read-only basis based on a custom task query. If a user clicks on the task in the calendar, it takes you to the note with that task. Might be a good first step without having to go through the logic to integrate the two plugins. I assume it wouldn't be too difficult to query that list within the calendar plugin? @claremacrae |
Beta Was this translation helpful? Give feedback.
-
Nice idea. Tasks does have an API to bring up its entry/edit dialogue. So when you click, bring up the tasks dialogue using the API |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I just wanted to point out the existence of the plugin obsidian-to-ical which solves this problem of integration into calendars (read-only ). |
Beta Was this translation helpful? Give feedback.
-
Add a per-calendar setting for inline tasks in daily notes to use the format supported by Obsidian Tasks for parsing and serialization. This will allow Tasks to show up on Full Calendar and for Full Calendar tasks to show up in Task queries.
Beta Was this translation helpful? Give feedback.
All reactions