From my Obsidian + Plugin REPL Cookbook
Sometimes you want to keep track of your progress on a task or project in Obsidian, which you might represent with a note. One approach is just to dump your thoughts into the note tag it with a timestamp or date (possible with the help of DatePicker) and tidy up later. However, if you note is quite long this can be start to be a pain particularly as you have to jump around to find your progress updates⦠and it can be nice to keep things neat.
One approach that Iβve used is to have a button in your note to create a child note, which you track with a dataview query.
I use the following meta bind button which I created with its fancy builder.
```meta-bind-button
label: Progress
icon: ""
hidden: false
class: ""
tooltip: ""
id: ""
style: default
actions:
- type: templaterCreateNote
templateFile: progress-reports/create-progress-report.md
folderPath: /
fileName: ""
openNote: true
openIfAlreadyExists: false
```
This then uses a Templater template to create a note with the date in the title and a tag.
<% await tp.file.rename("Progress on "+ tp.date.now("YYYY-MM-DD"))%>
<% tp.file.cursor() %>
#progress-report
Then I also have a Dataview query in the note to track a task:
```dataview
LIST FROM #progress-report
```
I found someone doing something similar (with a more complete script) on reddit.
I am @readwithai. Iβm creating tools related to reading and productivity sometimes in Obsidian. Follow me on X or subscribe to the blog:
: