Gutenberg: Block "More" Menu: Final design proposal

Created on 21 Jun 2018  路  8Comments  路  Source: WordPress/gutenberg

Here's a mockup showing the latest iteration of the block's "More" menu:

screen shot 2018-06-21 at 14 56 38

Compare to master:

screen shot 2018-06-21 at 14 58 57

Note that although the mockup uses Gridicons, we'll keep using Dashicons in the menus. It's also okay to keep or adjust the labels in implementation, depending on prior history. Finally, the shortcut combinations are suggestions only, and we should adhere to standards where available, and consider other conflicts, when choosing these.

ToDo list:

  • [x] Add "Insert Before" and "Insert After" icons to Dashicons
  • [x] Add "Insert Before" and "Insert After" buttons, see https://github.com/WordPress/gutenberg/issues/7297
  • [x] Add keyboard shortcut indicators
  • [x] Add keyboard shortcuts
  • [x] Adjust sorting order is a little different
  • [x] Adjust padding to match
Needs Dev [Priority] High [Type] Task

Most helpful comment

It was suggested we add space between the trash button, if we add that to the menu, and the other menu items. Here's a pattern for separators in the popout menus:

screen shot 2018-06-21 at 15 51 39

Worth noting the above is an older mockup, and lacks the keyboard shortcuts that are actually shown in master:

screen shot 2018-06-21 at 15 54 31

All 8 comments

It was suggested we add space between the trash button, if we add that to the menu, and the other menu items. Here's a pattern for separators in the popout menus:

screen shot 2018-06-21 at 15 51 39

Worth noting the above is an older mockup, and lacks the keyboard shortcuts that are actually shown in master:

screen shot 2018-06-21 at 15 54 31

This is a great iteration. I am not as keen on the inserting/adding but see the place for it so 馃憤 Let's try and get this in with the trash icon being there and a separator before it.

Padding between item (focus ring) and the popover also stands out.

CC: @talldan regarding keyboard shortcuts, I just updated this issue. I will make a separate PR for padding, and I'm going to create some Dashicons as well.

I've added pull requests to check a number of these boxes, and there's now also a PR to add the new icons in https://github.com/WordPress/dashicons/pull/311.

Thanks @jasmussen - really appreciate you looking at those separately.

What's left to do here?

Yay, it's done! Closing as such.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maddisondesigns picture maddisondesigns  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments

youknowriad picture youknowriad  路  3Comments

nylen picture nylen  路  3Comments

jasmussen picture jasmussen  路  3Comments