Leonezz / obsidian-tasks-calendar-wrapper

This plugin currently provides a timeline view to display your tasks from your obsidian valut, with customizable filters and renderring options.
MIT License
168 stars 10 forks source link

Tag exclusion does not work with nested tags in frontmatter #122

Closed oschrenk closed 2 months ago

oschrenk commented 2 months ago

This might be an Obsidian rather than a obsidian-tasks-calendar-wrapper issue.

When I add frontmatter tags like so

---
tags: "#notes/weekly"
---

"File Exclude Tags" does not work, while adding it directly to the file

#notes/weekly

does work

oschrenk commented 2 months ago

This is indeed some yaml or Obsidian issue

https://forum.obsidian.md/t/tags-in-front-matter-dataview-and-search-confused/38988/6

seems to indicate that:

this is NOT correct for nested tags it seems

I could make it work using

tags: 
 - #notes/weekly

Ok...

oschrenk commented 2 months ago

Oh man.... Obsidian....

Templating breaks and doesn't create the correct frontmatter when I use

tags: 
 - #notes/weekly

(it does not create the tag)

Templating only works when I do

tags: 
 - notes/weekly

(notice the missing hashtag) but then the tag filtering doesn't work

I also can't do

tags: 
 - "#notes/weekly"

Templating then works, but tag filtering does not....