WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.19k forks source link

Navigation Editor Tracking Issue #29102

Closed draganescu closed 2 years ago

draganescu commented 3 years ago

Last updated Aug 23, 2021

Extends #24551, preliminary for milestone 7 This is an overview issue that we'll maintain going forward into WP 5.7 and 5.8 milestones. It attempts to track discussions and resulting actions about the Navigation Editor.

This overview tries not to track bugs of the Navigation Editor - for that you should filter open issues using the labels:

🏷 High

This high priority label designates what is required before we can remove the "experimental" flag in Gutenberg from the Nav Editor screen. The prerequisite for doing this is: UI/UX feature parity with the existing Menus screen (nav-menus.php).

UI/Visual Issues

Issues that are important to ensure the quality of the use experience is at an acceptable baseline:

Detrimental to UX

Issues deemed critical that severely impair the user experience of the new screen:

Feature parity with the classic navigation screen

Issues required to achieve a feature parity with the existing screen:


🏷 Normal

User experience

Visual/UI

Improved interaction mode

Feature parity with the classic navigation screen

Compatibility with the Navigation block

Required REST API updates

Upgrading WordPress menus to allow blocks

Customizer support

This may evolve into a lot more once we have the foundation for embedding a block editor in the customizer.

Others


🏗 Architecture

This section is reserved for Issues that are related to overall architectural discussions. Any concrete tasks should be added to the relevant section above.


Known/Potential backwards compatibility problems

This section is reserved to list any potential or known backwards compatibility issues with the existing Menus screen that cannot (or will not) be solved in time for removal of the Experimental status from the Nav Editor. It is expected that we will communicate early about these problems in order that developers have sufficient time to adapt their code.

draganescu commented 3 years ago

Updated and deprioritized a couple of issues.

javierarce commented 3 years ago

I'm reviewing the navigation issues & enhancements, and here are some tickets that don't appear in the list above:

getdave commented 3 years ago

I've moved all the items from @javierarce's list that are not Type: Bug into the most appropriate places I could find.

Note this Issue's tasks are going to be re-prioritised in the near future. I will update here regarding when and where that will happen.

getdave commented 3 years ago

Update - 2021-08-11

javierarce commented 3 years ago

Here are the last three issues I've recently created related to the editor. The first one is the most important and probably key to have a nice experience creating menus.

I've added them (plus others from my previous message) to the original post on top. The only issue I see that is not categorized is:

getdave commented 3 years ago

I've added / moved all of the visual items raised by @javierarce to the High priority section. These are the minimum baseline visual inconsistencies that need to be resolved prior to the screen coming out of "experimental".

The only issue I see that is not categorized is #30006.

This is the issue regarding supporting future block types. I'd say that's beyond the scope of what is required to get the Nav Editor out of "experimental". However I will add to one of the lower priority sections.

getdave commented 3 years ago

Update - 2021-08-25

talldan commented 3 years ago

Update - 2021-09-01

Smaller fixes and enhancements

kellychoffman commented 3 years ago

I did a review and noted UX items that should be addressed before we can move this out of experimental phase: (Will link them all up to issues)

cc @javierarce

getdave commented 3 years ago

Thanks @kellychoffman. Great to have some additional eyes on this ✨

For the purposes of ensuring the list of "Todo" items is actionable, it would be super helpful if we can:

that should be addressed before we can move this out of experimental phase

As I'm sure you're aware, it's very easy for this list of "priority" items to grow indefinitely so I'm hopeful we can prune these back to the items that are absolutely essential for removing the "experimental" flag 🙏.

For context, the general agreement in the Hallway Hangout was that we would focus on items that are clearly and obviously detrimental to the UX in terms of being able to create a basic menu. Optimisations and ideal flows will be addressed in follow up phases.

Open to discussion however - how do others feel?

Thanks again @kellychoffman 🙇‍♂️

talldan commented 3 years ago

A lot of these are I think covered already, but maybe some things are missing from the tracking issue:

"Switch menu" location is out of context from the current menu you are editing. We have solved this similar issue in template editor with a dropdown next to the name of the template you are on - we should reuse this UX.

Covered in https://github.com/WordPress/gutenberg/issues/31241, but this isn't part of the tracking issue.

Once you add a menu, the state of the block shows placeholder bars and you are blocked as to what to do next. Ideally, we skip this step and go right to add Existing Page, Add All Pages, Start Empty. (This layout is also currently broken and needs a bit of a refresh.)

Covered in https://github.com/WordPress/gutenberg/issues/23953, already high priority

“Add new page” label is unclear - the key word to this setting is "Automatically" and that is only shown in the descriptor text. Let's move it to the label so it reads: "Add new pages automatically"

Good feedback, lets address this. Could be a Good First Issue.

No undo button - Is there a way to undo changes?

Also part of https://github.com/WordPress/gutenberg/issues/31241. This is a quick win, so I've gone ahead and made the change in https://github.com/WordPress/gutenberg/pull/34533

When adding all links I have to know to "Convert to links". This should either be automatic or more obvious.

This 'Convert to links' UI will be removed, the current behavior is a bug introduced from the nav block. (https://github.com/WordPress/gutenberg/issues/23953, https://github.com/WordPress/gutenberg/issues/33999)

Manage locations button placement - is confusing in context and should be separated from the task of applying this menu to certain locations provided by the theme. (Current implementation has it hidden behind a tab.)

There's some related discussion on https://github.com/WordPress/gutenberg/issues/33815, where I've mentioned this. Would be great to see some options for improving this.

Adding pages, whether one at a time or several at once needs some further iteration Split control for URL and Text within Link UI #33849

Seems to already be in progress, but not part of the tracking issue. At the moment there are a few issues around adding items, so I do agree the process could be revisited, but not sure I agree it's a blocker for opening up the editor in the plugin, but definitely something to address before this lands in WordPress core.

How can I see how this looks? Or apply different layouts/styles? ('View theme styles' similar to Widgets could be an MVP of this)

This isn't possible right now, it will most likely be a longer term goal as part of integrating the customizer. The widgets screen has the same issue, but was still launched, so I don't think this is a blocker to removing the experimental flag.

Usage of "Menu" vs. "Navigation" terms feel a bit confusing. Not clear why we are using them + where.

Agree, it'd be good to have an issue for this and some guidance. I think this has come about because the navigation block is being used to edit classic menus.

Mamaduka commented 3 years ago

The #34224 issue is listed in both High and Normal priority lists.

javierarce commented 3 years ago

Thanks for the review, @kellychoffman!

Regarding "How can I see how this looks? Or apply different layouts/styles?", I'd like to point out this exploration I did some time ago:

getdave commented 3 years ago

Update - 2021-09-08

spacedmonkey commented 3 years ago

I created a number of issues related to menus.

Adding support from custom post types / taxonomies should be a blocker for getting this out of experiment, as it would make the menu screen unusable for those with CPT / CT.

talldan commented 3 years ago

The #34224 issue is listed in both High and Normal priority lists.

34232 was also in both, so I've removed it from high priority. I feel like we even said it was low priority in the hallway hangout, but can't remember for sure.

getdave commented 3 years ago

Thanks for creating these! 👍

I created a number of issues related to menus.

~@spacedmonkey Have you added these to the relevant sections above? If not then we'll need to look at that. I'll check now.~

Update: I marked ✅ next to all your items which I've added to the relevant sections. One is remaining as I'm genuinely not sure about it and would like to discuss and learn more from you.

Adding support from custom post types / taxonomies should be a blocker for getting this out of experiment, as it would make the menu screen unusable for those with CPT / CT.

Anything that makes the screen unusable feels like a blocker. Let's investigate this one further. Adding to High list.

spacedmonkey commented 3 years ago

I also work like to flag this issue https://github.com/WordPress/gutenberg/issues/31551 . It is important that we maintain backwards compatibility and solve backwards compat for ACF, we likely cover lots of other use cases of users that have extended the current menu screens. i have posted my idea of compatibility https://github.com/WordPress/gutenberg/issues/31551#issuecomment-915886641. I would love some feedback.

talldan commented 3 years ago

Update - 2021-09-15

We're always looking for contributors to help work on the Nav Editor and block - it you're interested please head over to the #feature-navigation-block-editor Slack channel. Look forward to seeing you there.

getdave commented 3 years ago

Update - 2021-09-22

getdave commented 3 years ago

Update - 2021-09-29

getdave commented 3 years ago

Update - 2021-10-06

getdave commented 3 years ago

Update - 2021-10-20

draganescu commented 2 years ago

I will close this tracking issue for the time being. The work continues on the navigation block.