Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a new block that can be nested or ability for Query Block to be nested #200

Closed
mogmarsh opened this issue Jul 15, 2024 · 0 comments · Fixed by #201
Closed

Add a new block that can be nested or ability for Query Block to be nested #200

mogmarsh opened this issue Jul 15, 2024 · 0 comments · Fixed by #201
Assignees
Labels
enhancement New feature or request

Comments

@mogmarsh
Copy link
Collaborator

mogmarsh commented Jul 15, 2024

Description

I would like a block that can be nested inside a Query block that has its own settings and can operate separately from the outer block.

Use Case

On a homepage, the top story may have several optional related stories, such as in this screenshot from NYP.

Screenshot 2024-07-15 at 8 52 10 AM

The number of stories shown here, should be set without modifying the layout of the outer block and without modifying where pinned posts appear.

|----------------------------------------------------------|
|                                                          |
|           Pinned Story in Outer Block                    |
|                                                          |
|----------------------------------------------------------|
||---------------------------------------------------------|
||                                                        ||
||          New Inner Block With Independent Settings     ||
||          Could contain variable number of              ||
||          backfilled or pinned posts                    ||
||---------------------------------------------------------|
|----------------------------------------------------------|
|----------------------------------------------------------|
|                                                          |
|           Pinned Story in Outer Block                    |
|                                                          |
|----------------------------------------------------------|
|----------------------------------------------------------|
|                                                          |
|           Backfilled Story in Outer Block                |
|                                                          |
|----------------------------------------------------------|

For example, changing the number of posts shown in the inner block, would not affect the placement and which story is shown after it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant