Tag as both parent and in the tag group

AI-generated summary

A bug was reported by tpetrov in the tag groups feature, where a tag could not be selected if it was part of a tag group. However, the issue was narrowed down to a specific scenario where a tag was both a parent and part of a tag group. joffreyjaffeux and tpetrov discussed the issue, with joffreyjaffeux questioning whether this functionality should be supported. neil agreed that it didn’t make sense and that the UI should be improved to prevent it. The issue was then fixed by neil, with a link to the code review: https://review.discourse.org/t/fix-remove-parent-tag-from-tag-group/9823

Seems there’s a bug with tag groups.
When I try to create a new topic and add a tag, I can only see the tags that are not in a tag group. I even cannot see parent tags to select one.

I have no repro so far, can you give me more details please?

3 Likes

Also works with parent tags, in allowing me to add it only if parent tag is used:

1 Like

Okay, it doesn’t work when I have a tag as both parent and in the tag group.
That seemed to work before.

@neil do you think we should support this? That seems like a bad idea to me.

5 Likes

No, it doesn’t make sense to me. The tag groups UI should be improved to forbid it.

7 Likes

OK so you’ll take this extra one @neil?

1 Like

Yes, I’ll take it from you @j.jaffeux .

6 Likes

Fixed.

https://review.discourse.org/t/fix-remove-parent-tag-from-tag-group/9823

7 Likes