-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Link- improve inspector update UX #48072
Comments
I'm a big fan of moving the pop-up to the Inspector Controls, but I do think this goes against the current Block Design philosophy which means that might need a more nuances rewrite adding UX considerations. As for your questions:
|
Regarding question 2, I don't think there should ever be a difference in what happens between different block appenders. That could add a lot of confusion to the editor. As for question 3, I think I'd prefer opening up the Block Settings in the Inspector Controls automatically upon adding a block to the nav bar. We could make that a desktop-only feature, and make a smaller Link Control UI on mobile like you mentioned. But we can only go so far in supporting every option on mobile, and in practice I think no one is going to go through the trouble of making super advanced menu's from their mobile device. |
I think the inspector should retain the search and suggest functionality found in the popover, but I think we should not remove the popover until we come up with a better way to do it in the canvas (say In toolbar link editing?) |
Agree with @draganescu in that the url control/input should be treated almost like a creatable search select that can be used in inspector or popup. I'd only show list of suggestions on input focus. |
Something like this could work, though seems LinkControl is perhaps a bit too shifty to move forward on this just yet (#49091 (comment)). May be best to pause until that direction is a bit clearer. |
I lean in this direction now, leaving the popover in place if you want to use it but improving the Inspector view to work more like the popover searching. |
What problem does this address?
Currently, when a Navigation Link block is inserted the user sees a Link Control UI in a popover, like this:
If the same block is inserted using the list view in the navigation block, we show the same popover, but in the inspector controls:
This UI is helpful for adding a link. The problem comes when we want to edit that same link. Instead of seeing the same controls again we now show the inspector controls for the Navigation Link block:
This is much less helpful - you have to know the URL of the page you want to link to.
The current approach using popovers is also fragile - there are a couple of issues at least that arise from the fragility:
These two issues highlight that our current approach is using the system in ways that it doesn't support. I think we should reassess the UX here to ensure we are heading in a good direction before we put in too much development time.
What is your proposed solution?
One option is to not use a popover for this at all. Instead we could put the Link Control UI in the inspector controls for the Navigation Link block, something like this:
For this to work we'd need to change the default behaviour of the navigation list view - at the moment when you insert a block, the navigation block stays selected and we don't change the contents of the inspector controls. This raises some more questions:
Before we put more time into this I'd like to get some design/product input. cc @richtabor @SaxonF @jasmussen @draganescu
The text was updated successfully, but these errors were encountered: