Show Navigation overlay patterns on right sidebar#74069
Conversation
|
Size Change: +79 B (0%) Total Size: 3.08 MB
ℹ️ View Unchanged
|
1f8d8e7 to
bd4dde4
Compare
|
Flaky tests detected in bd4dde4. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/20309119451
|
jeryj
left a comment
There was a problem hiding this comment.
I didn't realize there were two areas sharing the same canReplace logic. What do think about refactoring those to a const SUPPORTED_AREAS above the ReplaceButton function?
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
57d67a5 to
7cb68d8
Compare
7cb68d8 to
57d67a5
Compare
545b2f2 to
659e8e5
Compare
57d67a5 to
cde4d73
Compare
getdave
left a comment
There was a problem hiding this comment.
I can see the Pattern in the sidebar.
Aside: I wonder if the Pattern should
- use
100vh - use a custom label for the
Groupso it's clear it's the Overlay background
I'll open another PR for this |
What?
Follow up to #74047 and built on top of it.
This shows the pattern under design when creating a new overlay pattern
Why?
We want to show the patterns to the users so they can choose what their defaults will be for the overlay instead of having to start from scratch
How?
Enabling the overlay template part as one of the supported areas to be shown and replaced too
Testing Instructions
Create a new overlay pattern, on the sidebar, you should see the new pattern introduced by #74047
As an extra, WordPress/community-themes#263 creates a theme that adds two more patterns that should show on the sidebar alongside the core one we included in #74047
Screenshots or screencast