Code Monkey home page Code Monkey logo

Comments (16)

jamiebrynes7 avatar jamiebrynes7 commented on May 25, 2024 5

Potentially yes, I'd need to investigate what kind of extra data the sync API exposes, but it seems more likely!

from obsidian-todoist-plugin.

jamiebrynes7 avatar jamiebrynes7 commented on May 25, 2024 4

I can implement some variant of this, but sadly you cannot get completed tasks through the API.

What I can implement is something like: "when you complete a task from Obsidian it gets copied to a different section of the document". Is that something that's interesting or useful to you?

from obsidian-todoist-plugin.

isle9 avatar isle9 commented on May 25, 2024 3

I've checked the new Sync API, and it seems like you can get the completed items from it and you can even uncheck them.

I'd prefer if the completed items stayed where they were actually instead of them moving to daily notes.

from obsidian-todoist-plugin.

aventuraviper avatar aventuraviper commented on May 25, 2024 3

it doesn't support filtering, so things like listing done tasks for a specific day will probably not work.

It does support filtering, at least for Pro users. I have a custom script for something similar in my daily notes that grabs any tasks that were completed that day. I'd be happy to open a pull request if you're open to contributions?

Could you share the script regardless of pull request? This would save so much manual work or using alternatives like VCRecur, which isn't quite the same.

from obsidian-todoist-plugin.

mitten avatar mitten commented on May 25, 2024 2

I have figured out a way to make this happen, although there are a lot of working parts. I'm using IFTTT, Dropbox, and Hazel (Noodlesoft utility to manage files based on rules on Mac), and a little bash script to make it work. The gist:

  • IFTTT recipe creates a text file in Dropbox when a Todoist task is completed
  • Hazel monitors that folder, changes the file name to match the date style I use for the daily note, but with a .txt extension
  • Hazel runs the bash script which appends the content of the .txt to the matching .md file in my "Journal" folder
  • Hazel deletes the .txt file on Dropbox

I can share the specific IFTTT recipe and bash script if it's of use to anyone - just thought I'd post the gist of it if anyone wants to try recreating it with their own tools and utilities. It works pretty well!

from obsidian-todoist-plugin.

BrunoGomesCoelho avatar BrunoGomesCoelho commented on May 25, 2024 2

I think there's now a plugin than can do this - https://github.com/Ledaryy/obsidian-todoist-completed-tasks

from obsidian-todoist-plugin.

shawnduggan avatar shawnduggan commented on May 25, 2024 1

I'd love to be able to keep completed tasks somewhere in my Daily Note. Preferably under a configurable heading. That way I can grab them in my Weekly Review template.

from obsidian-todoist-plugin.

beaussan avatar beaussan commented on May 25, 2024

@jamiebrynes7 since I saw you plan one day to migrate to the sync api, could this be implemented then ?

from obsidian-todoist-plugin.

Bejasc avatar Bejasc commented on May 25, 2024

What I can implement is something like: "when you complete a task from Obsidian it gets copied to a different section of the document". Is that something that's interesting or useful to you?

@jamiebrynes7 this would be an absolute godsend for my workflow. The only thing keeping me in using Obsidian ToDos alone (instead of a preferable combo of ToDoist and Obsidian via this plugin) - is the fact that once a task has been completed, I lose all visibility over it from Obsidian.

I would assume that it would be like another "Project" added to your ToDoist view, that says "Completed" - where the items would appear as a completed item formatted in markdown.

from obsidian-todoist-plugin.

wbthomason avatar wbthomason commented on May 25, 2024

This would be great, and getting completed task info is pretty straightforward with the sync API (e.g. https://github.com/wbthomason/import-todoist.nvim/blob/master/rplugin/python3/todoist_import.py#L17-L45, as an example with the Python sync API library).

from obsidian-todoist-plugin.

sagikazarmark avatar sagikazarmark commented on May 25, 2024

Looking at the sync API, it doesn't support filtering, so things like listing done tasks for a specific day will probably not work.

Let's hope Todoist adds this feature to their API. I pinged them on Twitter. If enough people asks for this, they might consider implementing it.

from obsidian-todoist-plugin.

bzimor avatar bzimor commented on May 25, 2024

@jamiebrynes7, can you build this feature on plugin side? i.e. after checking as "completed", plugin can create markdown version of completed task under todoist query.

from obsidian-todoist-plugin.

geodose avatar geodose commented on May 25, 2024

Daily note or otherwise.. being able to keep completed tasks somewhere in Obsidian would be huge. Then linking tasks to notes would still be valuable.

While not exactly the same feature requests in the original post, intent would be to have tasks imported via Todoist to carry the same functionality as a task created in Obsidian through something like: https://github.com/schemar/obsidian-tasks

from obsidian-todoist-plugin.

hbarudin avatar hbarudin commented on May 25, 2024

it doesn't support filtering, so things like listing done tasks for a specific day will probably not work.

It does support filtering, at least for Pro users. I have a custom script for something similar in my daily notes that grabs any tasks that were completed that day. I'd be happy to open a pull request if you're open to contributions?

from obsidian-todoist-plugin.

ericlimer avatar ericlimer commented on May 25, 2024

I'm very interested in this functionality as well.

Currently I achieve something like it by using this Todoist plugin in conjunction with another: https://github.com/wesmoncrief/obsidian-todoist-text/

I use this plugin to display todos in the notes that are not today's daily note. When I open the daily note of the current day in the morning, I use the obsidian-todoist-text plugin to 'print' my todo list to text in obsidian, delete the embed from this app, keep track of my todos in obsidian, and then catch up my actual todoist list at the end of the day. The goal being to a.) preserve a list of completed todos b.) enable myself to link 'i have a meeting' tasks to notes about said meetings at the beginning of the day.

from obsidian-todoist-plugin.

hbarudin avatar hbarudin commented on May 25, 2024

Could you share the script regardless of pull request? This would save so much manual work or using alternatives like VCRecur, which isn't quite the same.

Sure can - sorry for not seeing this for... several months. I will get a Gist together and share it here!

from obsidian-todoist-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.