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

Navigation Block: Design Pivot #16821

mapk opened this issue Jul 30, 2019 · 1 comment


Copy link

commented Jul 30, 2019

As noted in the older Nav block issue, a discussion between @sarahmonster, @melchoyce, @karmatosed, @mtias and myself, lead to a few design pivots on this block. They are outlined below and will be edited with individual issues once each has been created.

Native block patterns

  • Use existing block patterns whenever possible (ie. the block toolbar).


  • Refine the horizontally aligned inner blocks.
    • Explore how this pattern can extend to other blocks like button, columns, etc.
  • Improve how child blocks perform in narrow spaces.

Adding a new block & Block Library

  • The add block icon + should add an inner block with one click.
    • The inner block can then be defined as to whether it's a category, page, post, etc.
  • Explore how the Nav block works when added to the page.
    • Does it default to the primary menu?
    • Does it offer an empty state for creating new Navs?
      • Are there helper messages?
      • Tips?
      • Place holders?

Nesting blocks

  • Moving into/out of nested areas.
  • Data tree structure: #16812
  • (idea) Possible drag and drop interactions similar to #11408
  • (idea) Possible document outline repositioning? #9628 (comment)

URL and permalink structure

  • First iteration should offer a link in sidebar to the permalink page.
  • Any changes in the settings should reflect in the Nav block.

Customize options

  • Backgrounds (possible Group block)
  • Link colors
  • Font sizes
  • Background colors/gradients for dropdowns
  • Current menu item color/background options

Backward compatibility

  • When editing a Nav block that was created from existing wp-admin menu screen, should this action create a new menu?
    • Allow for manual conversion.

@noisysocks noisysocks added this to To Do in Navigation block via automation Jul 31, 2019


This comment has been minimized.

Copy link

commented Jul 31, 2019

The biggest architectural change is #16810

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.