-
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
Adds page list as child of submenu #46414
Conversation
Size Change: +235 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
c0817a1
to
52254f4
Compare
I keep seeing the issue where a theme that has colors applied to the navigation block won't see them for the submenu with a page list on it. The list items are all missing the classes that would apply them. I tested this with Disco.
![Screen Capture on 2022-12-13 at 09-55-07](https://user-images.githubusercontent.com/3593343/207272187-7e635bfe-8324-470a-977c-9ce1834c87ba.gif)
|
packages/block-library/src/navigation/edit/menu-inspector-controls.js
Outdated
Show resolved
Hide resolved
I had to restart my env cause I was still seeing the double ul. Now I don't but I'm getting this on the site editor and I'm not sure if it's unrelated.
It only happens when I hover and open the submenus on the editor. |
ef8d9f9
to
a4aebe2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some 🙏. Otherwise looks good.
I'll defer to @MaggieCabrera and others on the styling side of things.
I get this message in the editor: |
In the page list, if there are submenus, they don't open unless I select the page list block itself, which feels a bit strange. |
57085f5
to
9ce2646
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good. Let's make sure we follow up with the refactoring PRs.
styling bug of page list Co-authored-by: Dave Smith <[email protected]> Co-authored-by: Maggie <[email protected]> Co-authored-by: Ben Dwyer <[email protected]>
Co-authored-by: Ben Dwyer <[email protected]> Co-authored-by: Maggie <[email protected]>
9ce2646
to
cce7118
Compare
What?
Fixes #46413 - allows the page list block to be used inside submenus of a navigation block.
Why?
Because now that Page list is filterable on parent it can be used to create self updating sections of the navigation.
How?
Testing Instructions
Testing Instructions for Keyboard
N/A
Screenshots or screencast
page-list-in-menu.mp4