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

FR: Task format compatible with Tasks plugin #42

Open
7 tasks
melimelo24 opened this issue Apr 9, 2024 · 6 comments
Open
7 tasks

FR: Task format compatible with Tasks plugin #42

melimelo24 opened this issue Apr 9, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@melimelo24
Copy link

melimelo24 commented Apr 9, 2024

Hi!
Great work with this plugin. The new version finally let me validate tasks from Obsidian so I am super excited about it ^^ Can't wait for your official apparition in the Obsidian Community Plugins.

Before I get into the thing below, I think an important change would be to put the task text before any of the due/scheduled date. It would be much easier to read. Can be a quick option if some folks feel different to me. I think it's small enough to not create a post about it (but I can if it's better to separate issues).

Then onto the meat of this feature request.
Right now the tasks created and imported with the plugin have these dataview infield:

  • Due Date:: [[2024-04-10]] Start Date:: [[2024-04-09]] Scheduled Date:: [[2024-04-09]] test

It would be nice to have an option to change those fields so they can be directly compatible with the Tasks plugin emojis format (https://publish.obsidian.md/tasks/Reference/Task+Formats/Tasks+Emoji+Format):

  • Has a scheduled date ⏳ 2023-04-14
  • Has a start date 🛫 2023-04-15
  • Has a due date 📅 2023-04-16

And, less important to me but perhaps easier to implement :), using the Tasks dataview format could be useful to some people as well (https://publish.obsidian.md/tasks/Reference/Task+Formats/Dataview+Format)

  • Has a scheduled date [scheduled:: 2023-04-14]
  • Has a start date [start:: 2023-04-15]
  • Has a due date [due:: 2023-04-16]

Of course some people might be already used to the current format, which is why I suggest it should be an option and not a breaking change.

@ilvetz
Copy link

ilvetz commented Jun 10, 2024

upvote

Tasks plugin integration would help a lot both users and AmazingMarvin itself

@muness muness added the enhancement New feature or request label Jun 11, 2024
@muness
Copy link
Member

muness commented Jun 11, 2024

How do you all envision using Tasks plugin with Amazing Marvin (and this plugin). I find them to overlap and find the Tasks plugin has too much overlap, so I turn it off. Data view, on the other hand integrates nicely.

@muness
Copy link
Member

muness commented Jun 11, 2024

Thinking about the design itself, it may be that the way to go is to have pre-configured templates that play nice with other big plugins (like Tasks, Data View, Data View and Tasks)...

@ilvetz
Copy link

ilvetz commented Jun 12, 2024

@melimelo24 provided references to the Obsidian Tasks documentation, offering correct suggestions.

If the plugin synchronized tasks from Marvin, adhering to the format settings of Obsidian Tasks, it would ensure that all knowledge, life and task management potentially resides in a single environment (Obsidian).

Personally, I would use Amazing Marvin as a task manager, particularly for planning and scheduling phases, while keeping Obsidian as the execution environment, allowing me to use either tool interchangeably for task management when ADHD forces me to prefer one rather than the other.

For example, it would be possible to use Obsidian Tasks' native queries as an alternative to Amazing Marvin's smart lists. Example:

```tasks
not done
[due before next two weeks] OR [scheduled before tomorrow] OR [starts before tomorrow]
limit 10
sort by due, priority # reverse
path does not include Extra
show edit button

I spend most of my time working in my daily note in Obsidian, which I use as a log. The integration between the tools would allow me to merge the knowledge acquisition and management process with task management, enabling me to show active tasks in the daily note and work on them avoiding switching from one application to another.

I hope this clarifies.

@muness
Copy link
Member

muness commented Jun 12, 2024

Tasks is just another plugin and not native Obsidian. I don't use it and I'm guessing many others who use this plugin won't either. I actually see them as conflicting plugins: just being able to check off tasks while Tasks is running was several hours of work.

As someone who doesn't use Tasks, I'm trying to understand how you see them work together so that I can improve the important aspects of the experience. Without that understanding I'm likely to build something that doesn't actually improve the integration in a meaningful way but just at a surface level.

@ilvetz
Copy link

ilvetz commented Jun 12, 2024

I don't mean that you should integrate Obsidian AM's code into Obsidian Tasks codebase. And I don't mean you should load Obsidian Tasks tasks from the vault to Amazing Marvin.

tasks queries are comparable to dataview queries, only for tasks (checklists that adhere to Obsidian Tasks formatting rules). This view is the output of the Obsidian Tasks query that I wrote before and I would like to use in my daily note. One could have different views on other notes too.

image

I would like these tasks to come from Amazing Marvin, to be read from the notes synced by your plugin. So I can view the same tasks in Obsidian and Amazing Marvin interchangeably. As you already developed the "mark as done" feature, I could also close tasks in Obsidian.

So, as @melimelo24 suggested, it would be enough to adhere Obsidian Tasks settings for:

  1. tag that allows you to distinguish tasks from checklists
  2. infields for dates, priority ecc. (eentually allowing users to customize and decide by themselves emojis or dataview field names).

I believe that those changes are enough to complete the 99% requirements of Obsidian users who are evaluating Amazing Marvin as their Task Manager or who wants to use both tools (Obsidian as a client and Amazing Marvin as the "back-end layer" for tasks).

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

No branches or pull requests

3 participants