-
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
[Block Library]Rename QueryLoop to PostTemplate and change Query label #32514
Conversation
Regarding @jameskoster comment here: #32283 (comment)
I've no strong opinions here... --cc @mtias |
070cb2b
to
fe59e9f
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 to me. Let's try to get this quickly to backport it. Any final thoughts/objections @jameskoster @mtias
Size Change: -741 B (0%) Total Size: 1.03 MB
ℹ️ View Unchanged
|
Looks good — I'll tweak the description separately. |
per discussion in DM with Nik, it seems we need the block fallback in the server as well. |
If it serves as inspiration, Social Icons also needed fallbacks on the server when we consolidated them with block variations: #20098. |
Description
Part of: #30910
This PR renames
QueryLoop
toPostTemplate
and changesQuery
block's label toQuery Loop
.Notes
QueryLoop
blocks are handled in the parser level by renaming them toPost Template
blocks, so they will be still functional.Please test carefully and if you have some time it would be great to check about any missing strings that might be used for example in css class names or such details. I think I've covered it all but lots of moving parts with renaming.
Testing instructions
Query
block in a page/FSE and make changes in editor and view front-end as well.Testing previous Query with QueryLoop
Query and QueryLoop
.If you edit the page/post the
parser
will update theQueryLoop
block and will be saved as the renamed block onsave
.