Skip to content

Refactor to use blocks and Inner blocks #46

@helgatheviking

Description

@helgatheviking

No idea if this makes sense, but let's explore how to write the various parts (grid/table/child items/status UI) as inner blocks. Can the <ProductCollection> block be re-used at all? How can we merge the child items response with the full product response? Do we want to? Would the status UI connect via the Interactivity API?

Would this allow us to tap into the FSE editor and a custom template? Given how difficult it is to customize the JS output (we also need to eventually think about where slotFills|addAction|addFilter might be appropriate for extending the output) it would be handy to allow some customization via FSE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions