-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] Query LoopAffects the Query Loop BlockAffects the Query Loop Block[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
These are some notes for tracking improvements to Query block.
Prioritized for WordPress 5.8:
- Expand inline descriptions to help explain terminology and function better.Add helpful text to Query Loop block #32694
The "inherit query" setting is very obscure. There's a few things we need to address there:
- Don't make it the default for patterns. [Patterns]: Update Query patterns to have
inherit:false
#31856 - Add more context (what is it inheriting?) and perhaps only show the setting if the block is being used within a template. Context detection for Query block #30369 Add helpful text to Query Loop block #32694
The other part that is tricky is the live editing. It can be super useful for some contexts but it is a bit too much as a default.
- Make "editing" an optional setting. Query block: Disable editing of content by default #32317
- Make "editing" disabled by default. [Block Library - Post blocks]: Make post blocks uneditable when inside Query block #32505
Currently the relationship between Query and Loop is still a bit confusing. I'd propose making some adjustments to the names:
- Let's consider changing the names from "Query" and "Loop" to "Query Loop" and "Post Template" for more clarity. [Block Library]Rename QueryLoop to PostTemplate and change Query label #32514
Follow up iterations
Expand on the editing flow by having something similar to the isolated part or modal view as a way to edit both the template and content. Related to:
- Supplementary editing flow for "The Loop" template Supplementary editing flow for "The Loop" template #26190
- Consider again the implementation of the "Posts List" variation. Refine the Posts List block #32268
- Hide the
Query Loop
block from the inserter Hide theQuery Loop
block from the inserter #37081 - Make text color options conditional depending on the
Link Settings
inspector option Conditionally show or hide inspector settings depending on other block settings #36972 - Rename inner blocks to something more user-friendly that doesn’t say
Query
(e.g.Next Page
) RenameQuery-
inner blocks to be more user-friendly #37079
annezazu and paaljoachim
Metadata
Metadata
Assignees
Labels
[Block] Query LoopAffects the Query Loop BlockAffects the Query Loop Block[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.