Closed ebdavison closed 2 years ago
This sounds like a dataview issue, not a heatmap calendar issue. I personally have my daily notes in a subfolder, so it should work fine.
You can check if your "for" loop is returning any data with a console.log() or like this:
for (let page of dv.pages('"Day Planners"').where(p=>p.course).sort(p=>p.file.name)) {
dv.span(page.file.day + " - ")
}
Thank you. Correct on the issue being dataview but it also appeared to be some sort of cache issue. A full restart of Obsidian fixed the issue and your example code displays the proper pages.
I have been using the heatmap calendar for a while and have been quite happy with it. However, I recently reorganized all of my daily notes into a
YYYY/MM/Day Planner-YYYYMMDD
folder structure and now all of the heatmaps I had been using are empty.I tried to change it to a tag in the meta YAML such that the meta is something like:
as well as adding a
#dayplanner
tag into the body of the notes but neither of those produce a graph either.How can I tell the heatmap generator to search all subfolders as well for data?
Code I am using: