Query Loop block: Clarify explanation around query loop variation example#62605
Query Loop block: Clarify explanation around query loop variation example#62605
Conversation
|
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. |
|
I'm not sure that this PR will completely clarify the explanation, though I believe it will help. Any thoughts appreciated! 🙏 |
|
Flaky tests detected in 9933b92. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9537974145
|
|
Thanks for the PR @artemiomorales! To provide even more clarity over these "requisites" I would also add just before... Something along the following lines: To provide an overview of what's explained next in more detail to ensure the block variation works as expected. |
What?
This PR clarifies that specifying the layout of a query loop block variation is needed in order for the variation to function properly.
Why?
Currently, the documentation is not clear that the
Customize your variation layoutstep is needed — and if this is not done, the variation defaults to allowing the user to pick a layout in the UI, which overwrites the variation's attributes.How?
It adds numbers to the headings under
Extending the block with variationsand also adds a clarifying sentence to ensure users follow the next step.Testing Instructions
N/A
Testing Instructions for Keyboard
N/A