-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Duplicate choices under the Select existing menu
dropdown in the placeholder state
#36307
Comments
The problemI see which needs a designer's input is the UX around the fact that:
So the question is in my head: how to solve that bad UI withoutt crippling the baseline UX? |
@draganescu - @jasmussen has a take on this in #36311 (comment) |
A very similar problem was flagged in #38034 that a user can keep selecting the classic menu with each new nav block, and it's not clear that a new Some options for improving the way classic menus are copied were outlined in #36311. Currently, I believe we convert all classic menus at the point of selection in the nav block, but we don't then hide that option once the conversion has taken place. Perhaps we need to do that. We could try something like storing the id of the original classic menu in post meta of the new menu. Two potential issues with that:
Other options:
It might be best to start with something simple like the icon and tooltop? |
I appreciate the simplicity of the approach taken in #36311: hide the old menu based on the name of the new one. The effort there felt like it matched how often the use case is likely to come up, i.e. primarily on initial setup.
Matching by name instead of ID would theoretically solve this one by letting the old one reappear.
If old menus are prefixed or separated in the menu, perhaps with the suggested help text as well, it seems mostly harmless to let the original source reappear when a migrated version gets deleted. If that wasn't the case, we might even consider deleting the original version on initial conversion. |
I agree that making it clearer we are copying/important classic menus as opposed to simply selecting them is important. |
I like @jasmussen 's doodle where there is some explanatory text in that dropdown. Matching by name has the downside that creating a block menu with the same name as a classic menu, hides the classic menu, without it ever being imported. The problem is not that it hides it, but that there is no other way to get to that data. IMO we should default to the most common usecases in the small footprint UI of the block tools and let advanced issues to a separate dedicated area. So hiding classic menus once we have imported them is great, even by name, if there is some other place where the user can revisit all the data (like a list of menus similar to the list of templates, where classic menus can be reimported, or some region in the inspector dedicated to this). |
Considering that the menu selector has moved to the sidebar, that Classic menus are clearly separated in the UI and that #39489 is considered to be solved, I think we can close this issue. Right, @getdave, @jasmussen? |
When you add a new Nav block you get duplicate choices under the
Select existing menu
dropdown in the placeholder state:This is because the original "Classic" menus are still in place but x2 block-based, facsimile Menus have been auto-created on Theme switch (from Classic -> Block Theme).
I wonder whether we ought to filter out any items under
Classic Menus
which are already present underMenus
. After all if you select one of the choices underClassic Menus
then you are ultimately doing the same operation (creating a block-based copy of a classic Menu).Would appreciate some design guidance - cc @jasmussen @javierarce.
Originally posted by @getdave in #36255 (review)
The text was updated successfully, but these errors were encountered: