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

Task addition dialog #18

Closed
4 tasks done
muness opened this issue Dec 25, 2023 · 17 comments
Closed
4 tasks done

Task addition dialog #18

muness opened this issue Dec 25, 2023 · 17 comments
Assignees
Labels
enhancement New feature or request

Comments

@muness
Copy link
Member

muness commented Dec 25, 2023

Per facebook announcement convo:

Use Case 1) I'm taking notes in Obsidian, let's say in a meeting, and I want to have a task to do something with start, scheduled, due dates. I want to run a "Create Marvin Task" command in Obsidian that pulls up the Categories/Projects from my master list to select from and has me enter the standard Marvin task details including the shorthand like + or @ or ~ and it translates correctly (kind of like what you can do in the subject line when forwarding an email to Marvin address). When I hit enter I have a link to the Marvin deep link task in Obsidian at the cursor spot, and the Marvin task contains an Advanced URI-friendly link back to Obsidian note that drove the task.

  • Dialog to add tasks
  • Autocomplete Category or Project based on # syntax or a Search sub-dialog
  • Make + @ ~ behave as with additions in the Amazing Marvin app.
  • Add task in AM

Reference:

@muness muness added the enhancement New feature or request label Dec 25, 2023
@muness muness self-assigned this Dec 25, 2023
@judisohn
Copy link

Hi @muness I'm the one you've been chatting with about this on FB... happy to test this via BRAT whenever you're ready for a guinea pig tester. I'm watching the repo or feel free to ping.

@muness muness pinned this issue Dec 25, 2023
@judisohn
Copy link

Add link back to Obsidian Note that triggered the addition, perhaps in the note field

Definitely picturing in the note field, as an append. Perhaps app settings in Obsidian could have a template config for the field so a header could be customized?

@muness
Copy link
Member Author

muness commented Dec 26, 2023

Good progress in #18, linking back in the note is yet tbd, so is inferring the category if a task is created from one.

@muness
Copy link
Member Author

muness commented Dec 26, 2023

@judisohn - please give https://github.com/cloud-atlas-ai/obsidian-am/releases/tag/0.5.0b1 a try for task creation from AM will add advanced-uri link back to Obsidian when I get back to this later this week.

@judisohn
Copy link

@muness I tried. I downloaded the .zip file from https://github.com/cloud-atlas-ai/obsidian-am/releases/tag/0.5.0b1 and added it to my .obsidian directory.

CleanShot 2023-12-26 at 08 16 20@2x

I restart Obsidian so I see it, but I get an error when I try and enable it. What did I miss?

CleanShot.2023-12-26.at.08.15.05.mp4

@judisohn
Copy link

I do notice you're missing a main.js file that other plugins have. Could that be it?

@muness
Copy link
Member Author

muness commented Dec 26, 2023

@judisohjig if you're not using BRAT you want to grab the cloudatlas-o-am.zip file. Sounds like you got the source zip file that github adds automatically.

Updated the README to specify the release zip file.

@judisohn
Copy link

Duh @muness - of course. That's what I get for playing with something before my first coffee. Got it and enabled it. Trying it now. :-) Stay tuned for notes and feedback. Thank you!

@judisohn
Copy link

@muness Tried it (with API token, not full access token - at least first)

  • I used Create Marvin Tasks and got exactly what I hoped to see. A task at the cursor mark. I assume the :: at the end of dates is for Dataview?
  • I created some tasks in Marvin for testing and then used Import Today's Tasks
  • It imported the tasks in a ## Tasks Header which is good
  • When I marked a task as completed it did not seem to update in Marvin, even after running the import command again
  • When running the command again, I got a new Tasks header with the same tasks

So it would be great if it could detect that a Tasks header already exists and modify it as I can picture running this more than once in my day and things are updated and changed in Marvin. What do you think?

I can also picture the ability to only import tasks that match a given category rather than everything, but this is a good start for now. Thanks!

P.S. I don't see myself needing an entire AmazingMarvin folder in my vault, so I didn't test or use that command.

@muness
Copy link
Member Author

muness commented Dec 26, 2023

When I marked a task as completed it did not seem to update in Marvin, even after running the import command again

Did you enable the auto mark as done feature in settings? If you did was there an error?

@judisohn
Copy link

Yes, I did enable it. And yes, there was an error when I loaded the dev console. Sorry I'm not a developer so I don't know where to get this into a more readable format for you. This error happened when I clicked the "Insert" command a 2nd time after marking one of the first tasks complete (and I got a 2nd Task block)

CleanShot 2023-12-26 at 09 00 33@2x

@muness
Copy link
Member Author

muness commented Dec 26, 2023

Looks like I should spend time improving the error handling and messages before I add more functionality, thanks for giving it a try.

By the way did you enable the local server? It looks like that error was about not being able to connect to that.

As for updating the Tasks section instead of adding a new one, I agree. There's another issue for overhauling that. Ditto for making formatting configurable (the :: is indeed for Dataview, but not everyone wants that).

@judisohn
Copy link

I've tried to enable the local server, but every time I do and go back to it, it's unchecked again. What am I missing? Nothing about this is showing up in the log.

@muness
Copy link
Member Author

muness commented Dec 26, 2023

Doh, one more thing to fix it sounds like. It sounds like I forgot to persist the local server toggle properly.

@judisohn
Copy link

No worries.. let me know when there's a new version to try out. If nothing else, I love that I can get a Marvin task created right from Obsidian while it's on my mind and the link back to the task works great. I know you'll get the rest and you're off to a great start. Happy to be on the journey with you for something so needed (at least so needed by me. :-) )

@muness
Copy link
Member Author

muness commented Dec 26, 2023

@muness
Copy link
Member Author

muness commented Dec 26, 2023

Created #24 , #25 , #26 for remaining tasks, closing this issue as it was about the basic task addition functionality.

@muness muness closed this as completed Dec 26, 2023
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

2 participants