Make WordPress Core

Opened 13 years ago

Last modified 16 months ago

#28101 new enhancement

Menus screen: add "Menus" heading and "Add New" button

Reported by: eliorivero Owned by:
Priority: normal Milestone: Awaiting Review
Component: Menus Version: 3.6
Severity: normal Keywords: has-patch needs-refresh
Cc: Focuses: ui, administration

Description

This is to make the Menus screen consistent with others in admin.

The patch does the following:

  • adds the standard h2 header, in this case, "Menus"
  • adds the standard .add-new-h2 "Add New" button but only when it's necessary: in Edit Menus tab, when there are more than 1 menu.
  • removes the link to add a new menu in natural language, next to "Edit your menu below..." and "Select a menu to edit..."

Attachments (2)

nav-menus.php.patch​ (2.1 KB ) - added by eliorivero 13 years ago.
Adds the "Menus" heading and a "Add New" button when necessary.
add-new-menu.png​ (38.3 KB ) - added by eliorivero 13 years ago.
Shows how the patch affects the Menus screen.

Download all attachments as: .zip

Change History (10)

@eliorivero
13 years ago

Adds the "Menus" heading and a "Add New" button when necessary.

@eliorivero
13 years ago

Shows how the patch affects the Menus screen.

#1 @SergeyBiryukov
13 years ago

  • Version trunk → 3.9

#2 @SergeyBiryukov
13 years ago

#28100 was marked as a duplicate.

#3 follow-up: @celloexpressions
12 years ago

  • Version 3.9 → 3.6

This was in, then out, then in, then out in 3.6. See [23810], #23770, #23641, [23641], and #23119 (unfortunately) for context and history. I'm not sure that we should go back to this format again, as the tabs consolidate the header to draw the focus down to the actionable content on the screen. If there were a menus list table, as discussed in #23119, the add new button would make sense, but this is an entirely different UI.

#4 in reply to: ↑ 3 @Kopepasah
12 years ago

Replying to celloexpressions:

If there were a menus list table, as discussed in #23119, the add new button would make sense, but this is an entirely different UI.

Themes implements the heading and add 'Add New' button without the list table. I think this would be a good addition as every other page (list table or not) includes a heading. In addition, no other page adds a link on the page to add a new item and using the 'Add New' flows more with the overall UI of the admin.

#5 @chriscct7
11 years ago

  • Keywords has-patch needs-refresh added

#6 @sabernhardt
20 months ago

#59970 was marked as a duplicate.

#7 @sabernhardt
20 months ago

  • Milestone → Awaiting Review

only when it's necessary: in Edit Menus tab, when there are more than 1 menu.

I think an "Add New Menu" link would also be appropriate with only one menu, but it would not fit before the first is created.

Also:

  • The screen already has a Menus heading.
  • #63010 suggested making the "create a new menu" link more prominent.

This ticket was mentioned in ​Slack in #accessibility by joedolson. ​View the logs.


16 months ago

Note: See TracTickets for help on using tickets.