Skip to content
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: Adding an existing menu needs design improvements #18353

Closed
mapk opened this issue Nov 6, 2019 · 6 comments
Closed

Navigation block: Adding an existing menu needs design improvements #18353

mapk opened this issue Nov 6, 2019 · 6 comments
Labels
[Block] Navigation Affects the Navigation Block

Comments

@mapk
Copy link
Contributor

mapk commented Nov 6, 2019

Describe the bug

When adding a Navigation block, it assumed my current nav as the default. This is okay, but needs some styling to improve the experience. The content for my navigation is from the Theme unit testing import.

I'm also not entirely sure why the + inserter is outside the block on the right side. The inserter icon that is outside and below the block adds blocks outside and below the block, but the one outside and to the right adds items inside the block. We should improve this for consistency sake.

To reproduce

Steps to reproduce the behavior:

  1. Make sure you have an existing Menu
  2. Add a Navigation block
  3. Observe the block's appearance

Expected behavior

I expect the block to look a bit better when it automatically adds an existing menu. The state it left me in was lacking any direction and felt a bit out of sorts design-wise.

Screenshots

Initial state:

Screen Shot 2019-11-06 at 3 32 14 PM

Outside Inserter:

outside-item 2019-11-06 15_47_24

Desktop (please complete the following information):

  • OS Catalina
  • Firefox 70.0.1
  • Gutenberg 6.8
@mapk mapk added Needs Design Needs design efforts. [Block] Navigation Affects the Navigation Block labels Nov 6, 2019
@mtias
Copy link
Member

mtias commented Nov 7, 2019

I'm also not entirely sure why the + inserter is outside the block on the right side.

This is because of #18298 — it's only outside because the container has been exceeded.

I expect the block to look a bit better when it automatically adds an existing menu.

What do you have in mind?

@mapk
Copy link
Contributor Author

mapk commented Nov 9, 2019

What do you have in mind?

I think adjusting the line-height on the menu item text would be a great start. Right now they look like separate links entirely when they are forced to two lines.

Adding an horizontal scrollbar to the block (as suggested in #18298) and allowing the text to remain on one line sounds interesting.

Perhaps my concerns are more edge case because they are loading some really weird content into the block. I imagine that if a user had something more familiar like Home | About | Blog | Contact etc. it might look much better.

@mapk
Copy link
Contributor Author

mapk commented Dec 28, 2019

Alignments on the Nav block seem to be doing a lot better, but should I be allowed to create a new line within a nav item?

Screen Shot 2019-12-27 at 5 17 11 PM

@mapk mapk removed the Needs Design Needs design efforts. label Dec 28, 2019
@apeatling
Copy link
Contributor

@mapk Is the new line you mention the same as this issue? #18208

@getdave
Copy link
Contributor

getdave commented Jan 8, 2020

Just checking, is this Issue still relevant given the work I did to add wrapping support to the Navigation Block? We ended up dismissing the hoz scrollbar idea during the research around that.

If not then it would be super helpful to have a list in the PR description of items that need to be addressed to make the experience better. Or perhaps individual Issues.

The only concrete item I can see so far in this Issue is adjusting the line-height.

@mapk Please do let me know if I can help in any way. Much appreciated.

@mapk
Copy link
Contributor Author

mapk commented Jan 9, 2020

@getdave, This looks to be resolved in respect to the wrapping support you did. Thanks!

@mapk mapk closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block
Projects
None yet
Development

No branches or pull requests

4 participants