-
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 Block: Design Pivot #16821
Comments
The biggest architectural change is #16810 |
@mapk I think that the biggest challenge for the interaction design of the navigation menu is that:
I would love us exploring an UX where the selected block shows the edit mode and the un-selected state shows the navigation mode, but in a way that the difference between the two is obvious. As I explored here, and as @mtias suggested as well, using the tree view of the block navigator as a central menu editing mode (not semi mode, in the sidebar/block inspector) opens up the possibility for a frictionless interaction while creating the menu. I am advocating this mode based approach also because the cost of changing modes is so small, client side rendering allows for instant preview of results. Moreover, block styles in the case of the navigation block can mean a pack of features, all of which affect only the navigation mode: colors, fonts, animations and orientation! In all cases, indifferent of the style of the block the edit mode is the same, with a clear tree indicating what the menu contains. It is so hard, for me at least, to escape this paradigm of "editing mode" because when one is building a hierarchy you need to represent at the same time the content, relationships between the contents and the relationship of each content item to other parts of the system. All this provokes clutter and adds to a clumsy navigation mode, both visually and to what concerns interactivity. Other parts of Gutenberg already have semi modes baked in, the sidebar is one where some actions are done in steps (publish) and also the new hiding of the appender in groups when the group is not selected are two examples. |
@draganescu I am going to link your comment to the discussion of various mocks as don't want it to get lost out here when discussion is happening elsewhere. #16974 |
I am going to link all the navigation issues here so we can try and keep record:
|
How about
|
Following a discussion in Slack today (Note: You may need a Slack account to log in.), we've made some progress in determining next steps here and action items, although we didn't have time to discuss everything. Here are my notes! Constraints to keep in mindFrom @mtias:
What we need from designFrom @mtias:
Horizontal move controlsMockups for this already exist here: #17093. It seems from discussion none of the options presented are good to work from. We don't necessarily want to use the existing move controls, and should try instead introducing a completely new pattern for horizontal move controls, rather than using the existing move controls. Solution: We agreed to work from this mockup: and iterate directly in code. If that doesn't work and we need to go back to the drawing board, here are some suggestions that were given:
I’ve closed the issue exploring these to reflect this new course of action. Navigator modeThis is basically two things: Action items: Adding new menu items
See #17116, which is currently blocked due to unclear requirements. If we’d like more explorations here, we’ll need to clarify what we’re looking for, but it looks like we may not need to explore further. @karmatosed and @matias shared some mockups on #16974 that may be more in line with what we’re looking for than our original designs. Can we move forward with these designs and iterate in development? Next stepsBeyond the action items identified above, is there anything else that we need from design at this stage? |
Let's turn our attention towards shipping a v1 of the Navigation block. I've summarised the remaining developer tasks remaining over in #17544 |
As noted in the older Nav block issue, a discussion between @sarahmonster, @melchoyce, @karmatosed, @mtias and myself, lead to a few design pivots on this block. They are outlined below and will be edited with individual issues once each has been created.
Native block patterns #16974
Refinements #17093
Adding a new block & Block Library #16659
+
should add an inner block with one click.Nesting blocks
URL and permalink structure #17204
Customize options #16830
Backward compatibility #16659
The text was updated successfully, but these errors were encountered: