-
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
Iterations to the new menu item dialog #48612
Comments
In terms of 6.2, there are two big issues that this design would solve: 1. Emphasise Page Links more when creating menu items in the Navigation panelIt's a bit unexpected that Page Link doesn't appear in this popover, and that things like Page Break, Spacer, etc are given more prominence. 2. Page Links (and custom links – #48593) cannot be edited in the Navigation panelpage.link.mp4Page links can be added to the menu, but not edited. |
@SaxonF one thing missing here is how to edit Custom links. |
Updated prototype to show custom links |
I think a reusable combobox like this would be a great addition to the components package. Maybe we can use Ariakit as a base. Cc @ciampo @mirka @jameskoster, besides #1 from your list (the #2 is in progress), what other enhancements do we want to ship in 6.2? It would be hard to introduce proposed UI changes like these, this late in the release cycle. |
Hey @Mamaduka, yes it's very late The other items that seem important:
It would be nice to do something when the menu includes only a Page List block too. The parent feels superfluous here: I'll make an issue for that one. |
Whilst I appreciate the UX concerns, I don't think we can be making these changes to the Link UI at this stage in the WP 6.2 release cycle. I feel that we should
|
Obviously it depends on what we deem 'critical', but as a tool for managing the primary menu it is very strange to see these blocks as suggestions when clicking the [+]: Most of the time you'll want to add an existing page to the menu, or draft a new page and add that. Both of those flows are buried right now. |
That dialog is not Link Control but rather the We'll need to update the logic that determines which blocks to show. This is based on a frecency model if I remember correctly... |
Thank you for the ping! The I also appreciate that those components may not be featuring the most up-to-date editor design language. We do plan to work on them and (as suggested above) actually rewrite them using Although, looking at the video at the top of this issue, what is being proposed here doesn't look like a simple combobox, since clicking on an item in the dropdown doesn't simply select that item, but can trigger new UI to be displayed. Given how tailored to its specific use-case the proposed piece of UI looks like, my suggestion is to build such a component directly in the site editor package. Finally, I also echo @getdave 's thoughts about making such changes so late during the WP 6.2 release cycle. |
@ciampo I think this is just a combination of ComboBox with custom render item + static render items below (new draft/insert a block) depending on if search is empty or not. It's just a modification of what's already in prod. |
I would also like to connect this to #47310. It's really important we don't bolt on lots of changes without looking at the lower-level component as a whole. |
What problem does this address?
A few issues with the current dialog:
What is your proposed solution?
link-inserter-v2.mp4
The text was updated successfully, but these errors were encountered: