-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Enable Loginout block in Nav block #49160
Conversation
@scruffian I feel like you will know how to best apply the standardised color styling to child blocks of Navigation. Needs to be the same as Page, Submenu...etc but without adding more copy/paste. |
Size Change: +19 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
Hey any updates on this situation. Are you still working on this. |
Not actively right now. But it is something we'd like to address. |
I added the supports to the block to mimic what the nav links are doing. Do we need to do anything else? this looks like it's working as intended |
aef8f64
to
1bfda88
Compare
I think all we need is some testing and confirming it works as expected. If it does then we can merge. |
'core/site-title', | ||
'core/site-logo', | ||
'core/navigation-submenu', | ||
'core/loginout', |
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.
We should normalize these lists to a single const
and import into the relevant files.
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.
Done here: #50323
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.
LGTM
1bfda88
to
f2fe127
Compare
Flaky tests detected in f2fe127. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4882191188
|
What?
Allows for using Login/out block in the Nav block.
Closes #38512
Why?
Because this is a common use case.
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast