-
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
Add: Patterns to the template start modal. #47322
Add: Patterns to the template start modal. #47322
Conversation
Size Change: +99 B (0%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
Flaky tests detected in fb2b96a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4555586965
|
4933817
to
c7068fa
Compare
aace819
to
3e64d6e
Compare
3b06d2b
to
25cb9a4
Compare
aa4a5fc
to
588acd2
Compare
588acd2
to
93fe923
Compare
25cb9a4
to
245fe05
Compare
93fe923
to
7f3133f
Compare
bc00a76
to
398d80f
Compare
9b33540
to
26893d4
Compare
783c094
to
9b4915c
Compare
Also, maybe a nice follow-up could be to connect to the pattern directory (maybe with a show community patterns button or something) |
9b4915c
to
fb2b96a
Compare
This PR glues together #45814 and #46248. This change makes relevant patterns appear has start options of a template instead of just having the fallback and blank as start possibilities.
Testing
I added the following test pattern (temporarily on this branch on lib/blocks.php):
I created a new author-specific template and verified the pattern appears as a start option.
I created a template for all authors and verified the pattern appears as a start option.
I created a 404 template and verified the pattern appears as a start option.