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

Missing navigation panel in site editor and empty states #48906

Open
SaxonF opened this issue Mar 8, 2023 · 6 comments
Open

Missing navigation panel in site editor and empty states #48906

SaxonF opened this issue Mar 8, 2023 · 6 comments
Labels
[Block] Navigation Affects the Navigation Block [Type] Enhancement A suggestion for improvement.

Comments

@SaxonF
Copy link
Contributor

SaxonF commented Mar 8, 2023

What problem does this address?

On a fresh install when no menu's exist the navigation panel is missing from the site editor sidebar. This creates an inconsistent/unpredictable sidebar experience and doesn't allow for guidance if a user wants to add a menu to their site but doesn't know how. (Navigation panel is natural place for this).

What is your proposed solution?

We should always show the navigation link/panel. As to what we show in it, a few options depending on time constraints:

In the immediate short term, we could just extend description to include "Get started by adding a navigation block to your site.".
image

In the mid term, we could show a page list block which should also be default state of the navigation block if no menu is there so users can still browse their site.

In the long term, if we do decide to move in the direction of including an "unlinked pages" section in the navigation panel, any pages would be listed there and we'd include a shortcut to adding a navigation block to your site's header.

@SaxonF SaxonF added the [Block] Navigation Affects the Navigation Block label Mar 8, 2023
@jameskoster
Copy link
Contributor

I don't know how helpful the empty Navigation panel is, if it contains no actions 🤔

For a site with no menus saved, it would probably be good to simply list all the pages and their structure, similar to how the Page List block appears here. This would match the behavior of the Navigation block itself. If we could allow re-ordering by updating the page order as well that may even be adequate for the majority of sites.

@SaxonF
Copy link
Contributor Author

SaxonF commented Mar 8, 2023

@jameskoster that was the mid term option except it would create menu and use page list block behind the scenes. It sounds like this is doing something similar. Question is whether we have time for 6.2?

@jameskoster
Copy link
Contributor

Oh yes, I was thinking beyond 6.2.

For 6.2 I don't know how useful the empty panel would be.

Get started by adding a navigation block to your site

This action alone will not be adequate I think? My understanding was that the Navigation block will default to displaying Page List by default, and not save a menu unless you change something, or add a block like Site Logo. If that's the case then the Navigation panel would continue to be hidden.

@talldan
Copy link
Contributor

talldan commented Mar 9, 2023

The way the navigation item loads in asynchronously is a bit of an issue too. Several times I've gone to click on 'Templates' after loading browse mode, and 'Navigation' appeared under my mouse cursor and I incorrectly clicked on that.

Kapture.2023-03-09.at.10.08.15.mp4

@Mamaduka
Copy link
Member

Mamaduka commented Mar 9, 2023

I agree; "popcorning" the "Navigation" panel isn't great UX. Always displaying the panel with the "getting started" message would be more helpful.

@draganescu
Copy link
Contributor

@SaxonF is this and #50483 the same thing?

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 [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants