roovo / obsidian-card-board

An Obsidian plugin to make working with tasks a pleasure (hopefully anyway).
MIT License
465 stars 18 forks source link

Option to ignore file tags #208

Open scottTomaszewski opened 4 months ago

scottTomaszewski commented 4 months ago

I write tasks in my daily notes which are built from a template that includes file tags in the frontmatter:

---
tags: daily_note, journal
---

- [ ] Do stuff #in-progress
- [ ] Do more stuff

As a result, every task will automatically get these tags applied which makes the "Untagged" column of a board unable to be used.

image

In the above screenshot, I would expect there to be "Do more stuff" in the "Untagged" column, but its not there because of the file tags of "daily_note" and "journal".

If I remove the file tags, this does work, but I would prefer if I could keep the file tags and have the option to ignore them when applying filters image

Goal here is to add an option to the board settings that allows a user to toggle whether column filters ignore file tags

roovo commented 4 months ago

Would adding an 'Other Tags' column get you what you are after. This should include tasks which do have tags other than the ones being used for columns on the board. ...although I am guessing that the issue here is that it will also include the 'Do stuff' card as this also has other tags on it!

I do plan to re-visit tag based columns at some point as there are some other useful cases which could sensibly supported so great to have this suggestion! It will be a while tho as my current drag-and-drop work has quite a bit of work yet to be done.

Thank you :)

scottTomaszewski commented 4 months ago

Would adding an 'Other Tags' column get you what you are after. This should include tasks which do have tags other than the ones being used for columns on the board. ...although I am guessing that the issue here is that it will also include the 'Do stuff' card as this also has other tags on it!

Yes, I tried this and the #in-progress tag was also included in the "Other Tags" column.

I do plan to re-visit tag based columns at some point as there are some other useful cases which could sensibly supported so great to have this suggestion! It will be a while tho as my current drag-and-drop work has quite a bit of work yet to be done.

No worries! I cut the file tags from the frontmatter for now and it works great. Had to adjust some dataview scripts, but thats not a big deal. Looking forward to drag and drop! Thank you!