Comments (16)
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.
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.
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.
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.
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.
I think there's now a plugin than can do this - https://github.com/Ledaryy/obsidian-todoist-completed-tasks
from obsidian-todoist-plugin.
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.
@jamiebrynes7 since I saw you plan one day to migrate to the sync api, could this be implemented then ?
from obsidian-todoist-plugin.
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.
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.
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.
@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.
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.
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.
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.
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)
- The Task renderer should cache previous state, instead of being blank while the ToDoist data loads
- Can you add a new Command Palette option?
- Make it possible to create dynamic view HOT 3
- Todoist Page got deleted on its own after Plugin crash HOT 1
- Include the End Time for a Task with a Time Duration/Range for its Due Date
- Using "Add Todoist Task" embeds task with todoist formatting on current line
- Bug: Section Filters stopped working HOT 4
- Add the ability to insert tasks to markdown
- How it is working in Iframe? HOT 1
- Todoist tasks not showing checkboxes in Obsidian HOT 2
- comma separated queries not working HOT 1
- Add tasks checked 'completed' to daily note HOT 2
- New plugin name requirements HOT 3
- "Group By" options HOT 1
- Ability to select shown field HOT 2
- Cannot install this plugin: Plugin ID mismatch HOT 5
- Group by section do not work HOT 5
- Ambiguity in recurring task due dates if the task is due next year
- Format Date and time HOT 1
- Add obsidian note link to task description HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-todoist-plugin.