-
-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Containing Group/Sub-Group relationships #5105
Conversation
Another option could be to use one movie icon, which neatly groups both the parent and sub-groups in the popover. This would probably be ideal to minimize the potential growth of these icons on the cards. I can imagine a future where the performer count and gallery count make their way to those cards. |
Ideally you want to use an icon that's going to be related, similar, or derivative of the The problem is FontAwesome doesn't have much variation for film icon that Groups are using, other than the light and duotone versions.
I think I like this. |
Had a browse of FontAwesome (selected free as presumed that's the tier we're operating on ...) 'object-ungroup' seems a good fit for an icon showing that there's a link between two places. (Bonus suggestion of replacing the film icon with something like 'layer-group' in the header for groups) |
Do you mean something like this? The intent with these icons are to provide an at-a-glance view of the counts on both sides of the relationship, containing and sub. I'm not sure how many groups are likely to have both containing and sub-groups. Ideally we'd want to be able to differentiate between groups with sub-groups and the sub-groups, using different icons for each, and then maybe a combined icon when a group has both. To my mind, this looks a little verbose for the most common use case (having either sub-groups or containing groups). |
Both alternatives are pretty confusing imo now that I see them. But now I understand the premise better, that these are popovers to be displayed on group cards in group grid view only. @WithoutPants The video icon from FA has enough derivate versions that it could be used.
The issue of course is that the primary icon is being used to represent studios. You'd have to swap the incumbent studio icon to represent Groups, and find a new studio icon. Studios are actually just labels, brands, web sites, platforms, production companies, distribution companies, etc that author the scenes, movies, images, and galleries. So you could really use almost anything arbitrary to represent that |
No offense but that looks exactly like something a developer would do 😛. I honestly think the text based approach, akin to the tags and studios parent/child text, is the least offensive even if it uses more space. |
Lol, none taken. They were intended to show the possibilities. This was my original implementation: The sub-groups are presented with the movie icon, with the containing groups relationship presented as a text-based description.
This is clean, but I really feel like there's value in being able to know at a glance whether a group has specifically containing or sub-groups without mousing over the icon. There's nothing to differentiate leaf and parent groups in the list if it's implemented this way. |
Sometimes the "principle" of less is more applies if what you're going for cannot be achieved in an appealing and coherent presentation. But ask another person, and their goal for these cards might not be a priority on appealing and coherent, but to pack as much data-at-a-glance as possible. So it really depends which goal you put more weight on here. |
I've gone with the text and icon approach for the moment, as it's the least offensive in my mind and can be adjusted in future. Thanks to you both for your contributions! ❤️ |
I love the idea with one icon and two numbers with arrows. The same approach might probably be applied to tags, studios and whatever else might need it. 🏷 ↑1 ↓23 🏷 1↑ 23↓ 🏷 🏷↑ 🏷↓ The current "Sub-tag of ...\n Parent of NN Tags" is just cluttering the tags display and very much not readable. On-screen display of singular parent tag will be lost, but it is already not readable for me anyway. 🏷↑ tag_name Somehow, I don't really like the bent arrows proposal ⬑🏷 ↳🏷 or graph tree proposal. |
I would agree with the straight arrows it is simple and makes it glanceable and compact without needing to hover, but hovering would provide extra context if it we not already clear as to what it meant |
This reverts commit c5c0f46.
5f42c18
to
19e0a21
Compare
Not sure if it's intended, but you can select a group to be a containing group of itself, which breaks something and leads to infinite spin for everything group related and makes loading other object pages extremely slow. To reproduce:
|
Good catch. I've updated to prevent this in the database schema, in the validation logic, and in the UI by excluding the group from the containing groups dropdown. |
f426bf3
to
5b4cea5
Compare
Part of #4905.
Introduces a containing groups/sub-groups group relationship. A group may have any number of containing groups, and any number of sub-groups. The only restriction is that a group hierarchy may not be cyclical. That is, it is not possible to have
A -> B -> C -> A
, in the same way as the tag hierarchy.The group relationship includes a
description
field to describe the relationship. This is currently only shown in the edit page. I intend to include the description in the Groups cards in the Sub-Groups view, but this requires more extensive UI changes first.Currently, it is only possible to add groups in the UI via editing the containing groups in the edit page and dialog. Improvements to this process, and functionality to reorder sub-groups will be done in a separate PR.
The group relationships are currently shown in Group cards with the group icon for both containing and sub-groups. This is obviously not ideal. Suggestions are needed for icons to differentiate between the two relationships.
Closes #723