Skip to content
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

Primary category selector does not show hierarchical structure #10898

Open
moorscode opened this issue Sep 4, 2018 · 7 comments
Open

Primary category selector does not show hierarchical structure #10898

moorscode opened this issue Sep 4, 2018 · 7 comments

Comments

@moorscode
Copy link
Contributor

moorscode commented Sep 4, 2018

Especially when there is a long(er) list of categories, finding the right one to make primary can be a
bit difficult if they are not displayed in the same order as above.

Edit a category and select "Parent".
Edit a (custom) post type item and see the following layout mismatch.

screen shot 2018-09-04 at 08 31 18

This only applies to hierarchical terms (e.g. not to tags)

@abotteram
Copy link
Contributor

abotteram commented Sep 4, 2018

When building this, this was actually something that was considered. But when (in your example) Artifact would not be selected, it would be confusing if hoi was to be indented.

So if indented child-taxonomies is something we want in the primary term picker, a decision needs to be made on how to handle this situation.

@moorscode
Copy link
Contributor Author

Then the order is the confusion part of it.
Making sure children are below the parent if they are in the list.

@amboutwe
Copy link
Member

Please inform the customer of conversation # 499894 when this conversation has been closed.

@amboutwe
Copy link
Member

Still happens in v11.1 and makes it hard to select primary category if two child categories under different parent categories have the same name.

Selection_025

@kujain
Copy link

kujain commented May 1, 2019

If we can simply display the parent category name before the selected category in the selections, I think it would help clarify both situations eg.

Uncategorized - ChildA
New - ChildA
Another top level category
...

This is a big usability problem for me since I have no idea which should be marked as primary category if more than one uses the same child name.

@moorscode
Copy link
Contributor Author

@xyfi the above comment sounds like something that would not be very hard to implement - do you share that assumption?

@amboutwe
Copy link
Member

amboutwe commented May 6, 2019

What happens when the child and grandchild categories are the same but have different top level parents?

Example
Parent A > Child > Grandchild
Parent B > Child > Grandchild

If we included the parent, both would show Child > Grandchild. If we include the full path, it will likely overflow the box thus wrapping to multiple lines. And it can get kinda messy if there are levels within levels. Even two long category names could get messy.

Instead, would it be possible to output the full path above/below the box after selecting the primary category when the primary category is not a top-level category? That could handle any length names and levels within levels without making the selection box messy.

Note: From an SEO perspective, is it a good idea to have two categories with the same name? Would they compete for ranking against each other like mentioned here in the 'Duplicate tags and categories' section?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants