Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

71%
+3 −0
Q&A Consider child tags in required tags

Currently, it is possible to set required tags for a category. For example, here on meta it lists as required tags one of: bug, feature-request, discussion or support. For meta, this works pretty ...

0 answers  ·  posted 9mo ago by Taeir‭

#1: Initial revision by user avatar Taeir‭ · 2023-08-16T21:28:43Z (9 months ago)
Consider child tags in required tags
Currently, it is possible to set required tags for a category. For example, here on meta it lists as required tags one of: <a class="badge is-filled is-tag">bug</a>, <a class="badge is-filled is-tag">feature-request</a>, <a class="badge is-filled is-tag">discussion</a> or <a class="badge is-filled is-tag">support</a>.

For meta, this works pretty well, but this is relatively limiting for communities where one wants one aspect as a required tag, but the specific tags are many. For example, if we would consider a community related to programming languages, we may want to express that specifying _a programming language_ as a tag is required, but we don't want to specify all possible programming languages as that would be quite a long list in the UI.

I think it would make sense to allow putting the requirement on a hierarchical level and accepting child tags as well. Then in my example, <a class="badge is-filled is-tag">programming language</a> would be the required tag, and all child tags of programming language would satisfy the requirement. That way we could enforce that some programming language is selected, without listing all possible programming languages. New languages can just be added as children of the <a class="badge is-filled is-tag">programming language</a> tag to automatically be valid candidates for the required tag. An <a class="badge is-tag">unknown-language</a> tag or something could be added as fallback in case new languages are added (or directly adding the programming language tag).