Make WordPress Core

Opened 12 years ago

Last modified 7 months ago

#28101 new enhancement

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

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

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 12 years ago.
Adds the "Menus" heading and a "Add New" button when necessary.
add-new-menu.png (38.3 KB) - added by eliorivero 12 years ago.
Shows how the patch affects the Menus screen.

Download all attachments as: .zip

Change History (10)

@eliorivero
12 years ago

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

@eliorivero
12 years ago

Shows how the patch affects the Menus screen.

#1 @SergeyBiryukov
12 years ago

  • Version changed from trunk to 3.9

#2 @SergeyBiryukov
12 years ago

#28100 was marked as a duplicate.

#3 follow-up: @celloexpressions
12 years ago

  • Version changed from 3.9 to 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
10 years ago

  • Keywords has-patch needs-refresh added

#6 @sabernhardt
11 months ago

#59970 was marked as a duplicate.

#7 @sabernhardt
11 months ago

  • Milestone set to 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.


7 months ago

Note: See TracTickets for help on using tickets.