Skip to content

Query Loop Block: Continued iteration on bundled patterns #49280

Closed

Description

@annezazu

We need a query pattern of a grid of featured images as a starting point. We need much more optionality on query patterns in general.

Pulled from #48443 and a follow up to #44140

cc @richtabor in case you have time to work on this.

Activity

  1. added
    [Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced
    on Mar 22, 2023
  2. self-assigned this
    on Mar 22, 2023
  3. richtabor commented on Mar 22, 2023

    @richtabor
    Member

    I'll see what I can do, though last I experimented the blockGap limitation (#44899) was making it difficult to get spacing right in a grid layout.

  4. moved this to Needs design in 6.3 Designon Mar 23, 2023
  5. tellthemachines commented on Mar 24, 2023

    @tellthemachines
    Contributor

    I'm thinking #49050 might be helpful to move this forward, but it needs a bit of input on how we want the columns behaviour in the grid template to work. The V1 of grid layout only allows setting a minimum column width, not a number of columns, but has the advantage of better responsivity out of the box vs the current solution. Using the grid layout will also allow us to easily add block spacing, which would fix #44899.

  6. richtabor commented on Mar 28, 2023

    @richtabor
    Member

    Using the grid layout will also allow us to easily add block spacing, which would fix #44899.

    Post Template should probably have block gap too, as its children will inherit that parent block's spacing value — not the query loop's.

    Using the grid layout will also allow us to easily add block spacing, which would fix #44899.

    As long as using grid layout isn't required for block spacing support.

  7. mtias commented on Jun 29, 2023

    @mtias
    Member

    What's the status here? Is there anything actionable remaining?

  8. annezazu commented on Jun 29, 2023

    @annezazu
    ContributorAuthor

    Yes, we need to incorporate more patterns still! Room for improvement remains.

  9. annezazu commented on Jul 10, 2024

    @annezazu
    ContributorAuthor

    Noting that another pattern that's needed is one that shows everything: post titles, full post content, tags, categories, author. Adding this pattern would be the fastest way to set up a blog as your homepage.

  10. ntsekouras commented on Sep 29, 2026

    @ntsekouras
    Contributor

    Is this something we're still considering? If yes, would it make more sense to add directly in core (create a trac ticket)?

  11. annezazu commented on Sep 30, 2026

    @annezazu
    ContributorAuthor

    There hasn't been active work in quite some time. Let's close it out. We can always reopen as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs DesignNeeds design efforts.[Block] Query LoopAffects the Query Loop Block[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions