Gutenberg: [ Navigation block ] Remove the block navigator in the sidebar

Created on 12 Mar 2020  路  9Comments  路  Source: WordPress/gutenberg

There are 2 navigator interfaces for the navigation block, in the toolbar and the sidebar. I would recommend removing one of them. I actually like the sidebar for this as it feels a great place, there are also some good issues to iterate that. Although, I also think the modal works well. I'm a bit torn which way to recommend, but I do feel just one is better.

nav-multiplenavviews

Needs Dev [Block] Navigation

Most helpful comment

I propose we remove the navigator in the sidebar for a few reasons:

  • It isn't adding any block-specific functionality.
  • It can be a source of confusion when actually trying to use it.
  • There is already a block navigator at the top that does the job pretty well.

All 9 comments

I think the main Block Navigation menu should be souped up with additional functionality (think Divi Layers View; see #11408) and turned into a pinnable sidebar. If that happened, I would prefer removing the Navigation block's copy of that UI entirely, or perhaps revamping it to be more specific to the block by including the ability to edit link titles and URLs straight from that interface... not unlike the current wp-admin Menus UI. See #20748.

@ZebulanStanphill whilst I also agree that adding functionality to the block navigator wouldn't be a bad thing, I do think that reducing to just one instance can be done earlier and the two things aren't connected. Right now, having 2 places is a little confusing, so iterating that could help.

Just updating this with some iterations that have gone on outside this issue. There is a consideration to have the block navigator become the primary interface for sub-navigation. If this happens, I would suggest that the toolbar block navigator should be removed, just keeping the sidebar one.

@karmatosed A primary interface shouldn't go into the inspector, which is for secondary controls.

@ZebulanStanphill my comment was about it being used for the sub-navigation adding #21727 has more information.

@karmatosed Oh, I guess I misunderstood your post. You're suggesting that the interface in #21727 would replace the Block Navigation UI currently present in the toolbar, right? That makes sense.

Yes, that's idea @ZebulanStanphill.

I propose we remove the navigator in the sidebar for a few reasons:

  • It isn't adding any block-specific functionality.
  • It can be a source of confusion when actually trying to use it.
  • There is already a block navigator at the top that does the job pretty well.

Closed by #23022

Was this page helpful?
0 / 5 - 0 ratings