WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#14180 closed defect (bug) (duplicate)

Categories Hierarchy missing in Menus

Reported by: hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords:
Focuses: Cc:

Description

When you want to select a Category to add it to a menu and you select the View All tab in the Categories box, the list is not showing the categories in their hierarchy.

Same named categories therefore can not be identified any longer and render the editor useless.

Additionally even not tooltips are present which could at least show the full picture when moving the mouse over the titles.

Change History (12)

#1 in reply to: ↑ description ; follow-up: @filosofo
10 years ago

Replying to hakre:

Same named categories therefore can not be identified any longer and render the editor useless.

How are the categories not identified? All categories should still be present, just not in hierarchical order.

Additionally even not tooltips are present which could at least show the full picture when moving the mouse over the titles.

How would you use tooltips to present hierarchy?

#2 in reply to: ↑ 1 @hakre
10 years ago

Replying to filosofo:

Replying to hakre:

Same named categories therefore can not be identified any longer and render the editor useless.

How are the categories not identified? All categories should still be present, just not in hierarchical order.

In case this was unclear, this is exactly what I meant. The display of the categories is missing the hierarchal information.


Additionally even not tooltips are present which could at least show the full picture when moving the mouse over the titles.

How would you use tooltips to present hierarchy?

By providing the information, maybe like "grandparent / parent / category" (exemplary string) or whatever can carry that information to the user. More or less a suggestion to not really need to built in hierarchal display (which did not work as expected in the first place; Related: #3130 ).

#3 @dd32
10 years ago

How are the categories not identified? All categories should still be present, just not in hierarchical order.

Should be mentioned that Categories names can be duplicated, Ie:

 A
  SomeChild
 B
  SomeChild
 C

You'll just get a list such as:

A
B
C
SomeChild
SomeChild
SomeOtherChildFromAnotherCat

Currently, attempting to add SomeChild to the menu, Until you add it and test on the front end, you're not sure of the category you have actually added.

Not showing the hierarchy was removed from the initial release of menu's due to performance reasons IIRC, Its one of the things that can be looked at for improving in future releases if a trade-off for performance can be found.

#4 @hakre
10 years ago

Menus often are hierarchial. Maybe it's possible that adding a parent to a menu, it could automatically expand a submenu of all of it's children (and grandchildren etc.)?

#5 @hakre
10 years ago

Related: #14332

#6 @nacin
10 years ago

  • Milestone changed from Awaiting Review to Future Release

For pages: #14660

#7 @hakre
10 years ago

Related: #15711

#8 @scribu
10 years ago

  • Component changed from General to Menus

#9 @scribu
10 years ago

I don't really get the performance argument. Why isn't it a problem on the post editing screen?

#10 @ocean90
10 years ago

  • Keywords needs-patch added
  • Milestone changed from Future Release to 3.2

If we add it for pages (#17029) we should do the same for the categories, especially because of duplicated cat names, see dd32's comment.

Pages = Milestone 3.2 => Categories = Milestone 3.2

#11 @greuben
10 years ago

Added a patch on #17029 which also addresses taxonomies. See 17029.2.diff

#12 @scribu
10 years ago

  • Keywords needs-patch removed
  • Milestone 3.2 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing as dup of #17029 since the same walker handles both.

Note: See TracTickets for help on using tickets.