delashum / obsidian-checklist-plugin

MIT License
373 stars 39 forks source link

Support for hierarchical tags #152

Open gsommer opened 1 year ago

gsommer commented 1 year ago

Hi,

I am new to Obsidian and I really love your plugin.

You offer the possibility to enter more than one tag and then filter the task display by checking one or more. This is really useful but does not work with hierarchical tags.

I am using tags like this to implement a simple GTD tool:

todo/next

todo/next/errand

...

todo/someday

I enter those tags in the checklist options and they show up in the pane, but nothing is shown for i. e. #todo/next. Only #todo works.

It would be great to be able to use it like this.

Kind Regards, Gerhard

bdalia commented 1 year ago

Hi, thank you for this great plug-in. I need the same feature too. I hope you can find time to implement it.

Kind Regards, Bart.

ChristopherHarwell commented 1 year ago

I just double checked after looking into possibly adding this feature and it looks like this already exists

Steps to reproduce:

  1. Go to the settings for this plugin
  2. Go to Tag name and add todo as the search filter
  3. Click group by and choose Page from the dropdown (if you don't do this, it makes it harder to find all grouped items such as all #todo/next or all #todo/next/errand items

A step further that I would suggest is having a folder specifically for all items that will have a #todo/next tag and from there you can create individual documents with subtags like an errands document that has all the todo items for errands. It isn't ideal, but that seems like it may solve the issue you are having @gsommer

I will also go ahead and create a PR when i get the chance updating documentation so that it is clear that this is how you can find all subtags.

I don't think the layman would be like me and dig through the source code to figure out how to get subtags to display. So that might be useful for others.

gsommer commented 1 year ago

Hi Christopher,

thank you for your reply. I think I did not describe the problem clearly. So this is a misunderstanding.

I do not want to group by page, but have a list grouped by tags, which works fine and by default shows all hierarchical tags and the tasks below each tag. What I would like to do in the pane is click on the icon next to the search field and only select i.e. #todo/next to show only tags starting with todo/next. But this shows an empty list, while selecting #todo shows all tags starting with #todo (which is highlighted in the list). I try to attach screenshots showing this.

todo_next todo

The third hierarchy of the hierarchical tags is not even offered in the filter, but this is not a big problem. Being able to filter to the second hierarchy would be very helpful though.

AleksandarMedarevic commented 1 year ago

Support for hierarchical tags do not work in general or just in my case? Obsidian does not recognize #todo/something as separate tag.

jjjhill commented 1 month ago

same request here, was looking for this feature.