Donmai

[Feature Suggest] Grouping tags in Post page

Posted under Bugs & Features

When tagging many people in a single frame, you'll often find yourself with a chaotic jumble of gentags.
I hope to see there was a feature to make all of mixed up tags into each groups together so that it's easier to see when we're tagging for the first time, or when we need to add or check tags after upload.

Using post #6101089 as an example, this post has 91 gentags, but there are some that are common to all and some that are specific to each. It's really hard to see which tags belong to whom at a glance.
The idea of this feature suggested in this forum is to group these tags into groups like g1[], g2[] (the names are arbitrary on my part, but if possible, the group names would be customizable, like hina[], iori[], ...).

Group Tagging ex.

shou_xun_bu_liang
blue_archive
absurdres commentary highres
ako[ako_(blue_archive) blue_eyes blue_hair white_shirt shoulder_cutout denim bare_legs sneakers black_choker medium_breasts medium_hair] hina[hina_(blue_archive) purple_hair parted_bangs very_long_hair ahoge demon_wings white_shirt single_bare_shoulder black_pants jeans] iori[iori_(blue_archive) grey_hair twintails very_long_hair hair_over_one_eye one_eye_covered white_hoodie fanny_pack black_leggings demon_tail sneakers covering_own_mouth small_breasts] chinatsu[chinatsu_(blue_archive) white_sweater ribbed_sweater black_skirt long_skirt ankle_boots pointy_ears brown_hair black_hairband large_breasts] 4girls simple_background white_background full_body halo casual alternate_costume prefect_team_(blue_archive)

Tags that are not grouped together at the end of example can be solved by gathering them into a generic (hidden) group called the g0 group, or by not specifying a group value.

So how do we utilize these grouped tags on a post page?
We can utilize the left margin, as shown in asset #23776615. If we color-code the groups in there like ①, ②, and ③, we'll be able to see who one tag belongs to right away.
Then the question that might arise is, “How do we handle tags that might overlap in multiple groups, like hair length or breast size,” and if they do, we can add a ⊕ symbol, which will let us know that this tag belongs to multiple people, multiple groups, and when you hover over it, a tooltip will tell you which group it belongs to.
Ultimately, if we're currently sorting at the post page gentags in ABC order, I'd like to be able to sort them separately by each group.

Clearly, there's a lot of work to be done on this feature. But I'm confident that when it's done, Danbooru will be better and more advanced.

AkaringoP said:

When tagging many people in a single frame, you'll often find yourself with a chaotic jumble of gentags.
I hope to see there was a feature to make all of mixed up tags into each groups together so that it's easier to see when we're tagging for the first time, or when we need to add or check tags after upload.

Using post #6101089 as an example, this post has 91 gentags, but there are some that are common to all and some that are specific to each. It's really hard to see which tags belong to whom at a glance.
The idea of this feature suggested in this forum is to group these tags into groups like g1[], g2[] (the names are arbitrary on my part, but if possible, the group names would be customizable, like hina[], iori[], ...).

Group Tagging ex.

shou_xun_bu_liang
blue_archive
absurdres commentary highres
ako[ako_(blue_archive) blue_eyes blue_hair white_shirt shoulder_cutout denim bare_legs sneakers black_choker medium_breasts medium_hair] hina[hina_(blue_archive) purple_hair parted_bangs very_long_hair ahoge demon_wings white_shirt single_bare_shoulder black_pants jeans] iori[iori_(blue_archive) grey_hair twintails very_long_hair hair_over_one_eye one_eye_covered white_hoodie fanny_pack black_leggings demon_tail sneakers covering_own_mouth small_breasts] chinatsu[chinatsu_(blue_archive) white_sweater ribbed_sweater black_skirt long_skirt ankle_boots pointy_ears brown_hair black_hairband large_breasts] 4girls simple_background white_background full_body halo casual alternate_costume prefect_team_(blue_archive)

Tags that are not grouped together at the end of example can be solved by gathering them into a generic (hidden) group called the g0 group, or by not specifying a group value.

So how do we utilize these grouped tags on a post page?
We can utilize the left margin, as shown in asset #23776615. If we color-code the groups in there like ①, ②, and ③, we'll be able to see who one tag belongs to right away.
Then the question that might arise is, “How do we handle tags that might overlap in multiple groups, like hair length or breast size,” and if they do, we can add a ⊕ symbol, which will let us know that this tag belongs to multiple people, multiple groups, and when you hover over it, a tooltip will tell you which group it belongs to.
Ultimately, if we're currently sorting at the post page gentags in ABC order, I'd like to be able to sort them separately by each group.

Clearly, there's a lot of work to be done on this feature. But I'm confident that when it's done, Danbooru will be better and more advanced.

Is the correct tldr, you want to visually group tags when viewing a post? I genuinely don’t think we can humanly do which tags belong to which subject at Danbooru scale. That leaves either somewhat basic grouping logic (won’t reach what you desire but it would be reliable) or extension of AI tags which would be very flawed

Updated

This is not feasible. This can only work if taggers are willing to put in the extra effort to group tags on top of choosing the right ones, and they already have enough trouble with the latter.

A more sensible way to group tags would be to display implications in a tree view like we do with copytags and chartags. I would make this changeable in the settings, though, since some users may find it easier to go through a list sorted alphabetically.

Rather than do it per post you could also just split up the "general" category into more categories to make it easier to read. For example, all the tags related to head goes in one category, to body in another, some other categories for objects and the background etc. And there should be a toggle to show all the gentags as one category again if you don't like it.

AkaringoP said:

I hope to see there was a feature to make all of mixed up tags into each groups together so that it's easier to see when we're tagging for the first time,

This is not a solution for the post page view, or for a post after it has been uploaded, but when tagging a post on the upload page with a lot of characters (and if I'm not in rush) I usually group them up in the tag field textbox in separate paragraphs.
Taking this post for example:

First copyright, artist, commentary

omichi_1219 sousou_no_frieren commentary_request

Add the general layout of the image

omichi_1219 sousou_no_frieren commentary_request
white_background simple_background bench full_body

Identify characters, rough content of the image

omichi_1219 sousou_no_frieren commentary_request
white_background simple_background bench

5girls full_body contemporary alternate_costume school_uniform

aura_(sousou_no_frieren)


ubel_(sousou_no_frieren)


laufen_(sousou_no_frieren)


frieren


fern_(sousou_no_frieren)

And start filling in, usually per character from top to bottom

omichi_1219 sousou_no_frieren commentary_request
white_background simple_background bench

5girls full_body contemporary alternate_costume school_uniform

aura_(sousou_no_frieren)
demon_horns purple_hair :D quad_braids sleeves_rolled_up yellow_necktie ...

ubel_(sousou_no_frieren)
green_hair smile holding_phone smartphone side_ponytail loose_bowtie ...

laufen_(sousou_no_frieren)
brown_hair short_hair looking_at_another from_side profile double_bun ...

frieren
white_hair twintails elf pointy_ears elf floating_earrings short_sleeves ...

fern_(sousou_no_frieren)
purple_eyes purple_hair blunt_bangs smile white_pupils ...

Newlines and whitespace get cleaned on upload, so you can go as crazy as you want.
This also scales very when uploading images in bulk like variant sets when you need to make small changes for expressions, stages of sex, etc...

1