-
Notifications
You must be signed in to change notification settings - Fork 99
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Integrate with Obsidian Tasks plugin #219
Comments
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:
|
The Tasks plugin doesn't have any syntax for specifying the time of an event, so the |
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. |
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? |
@Zebrazilla, it will continue to detect tasks under a specific heading. |
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)? |
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. |
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. |
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: |
Having said the above, I do think that the order you propose in #219 (comment) makes a lot of sense. |
@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. |
The relevant feature request I submitted to the Tasks plugin: obsidian-tasks-group/obsidian-tasks#1389 |
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 |
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. |
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: |
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? |
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. |
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 |
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. |
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 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.
The text was updated successfully, but these errors were encountered: