obsidian-checklist-plugin icon indicating copy to clipboard operation
obsidian-checklist-plugin copied to clipboard

Group by tags does not work when `Tag name` in Settings is blank

Open clamydo opened this issue 3 years ago • 7 comments

First of all: Great plugin, thank you!

When leaving the Tag name in the plugin's settings blank and setting Group By to Tag, only one tag group (namely empty/blank) is shown.

I'd expect that when I have tasks like that

#foo
- [ ] a
- [ ] b

#bar
- [ ] c
- [ ] d

would be grouped by #foo and #bar.

Does this work as intended or is this a bug?

I'm using Obsidian v0.12.10 on Windows and Checklist 1.2.2

clamydo avatar Aug 03 '21 08:08 clamydo

This is working as intended. This plugin will only look for the tag that you put into the settings, so if you leave it blank it won't even consider other tags even if they happen to be right above a checklist.

One thing I do personally is use nested tags e.g. #todo/topica to separate my different topics. Would that work for your use case?

delashum avatar Aug 13 '21 02:08 delashum

Thanks for the explanation.

One thing I do personally is use nested tags e.g. #todo/topica to separate my different topics. Would that work for your use case?

Although this might work, this is contrary to my intuition: In my understanding, a check item is already a todo item. Therefore, to me, having to mark it explicitly as #todo seems redundant.

Furthermore, I'd like to tag my todos with the same tags as other stuff. Relying on a prefix forces you to mange distinct tags just for todo items.

clamydo avatar Aug 16 '21 08:08 clamydo

I completely agree with this suggestion.

I think that being able to group by tags without there being a "parent" tag, i.e., "todo" eliminates redundancy and is more flexible with individual workflows.

Thanks for the great plugin!

carmensandoval avatar Sep 22 '21 22:09 carmensandoval

I also would like this feature

octokatherine avatar Oct 18 '21 19:10 octokatherine

Totally agree with the discussion and the request. I did spent a few minutes figuring out why it wasn't grouping by tags (I had tag setting in blank). Definitely, I would appreciate this feature.

rubenbarragan avatar Oct 28 '21 00:10 rubenbarragan

Noted, I will try and squeeze this into the next release. Note that there is a possibility of this still showing tasks that aren't tagged and so there will be a group for untagged tasks

delashum avatar Dec 31 '21 18:12 delashum

A suggestion: a wildcard tag value. Instead of the default being blank, it could be * effectively matching all tags, the same as now. Then, if you set it to foo,bar you'd get #foo and #bar tagged tasks. If you set it foo,bar,* then you'd get the additional untagged tasks catch-all in addition to the tag groups.

ironfroggy avatar Apr 01 '22 02:04 ironfroggy