Skip to content

Product Query: Improve the UX of the block when no results are found in the editor #42535

@sunyatasattva

Description

@sunyatasattva

Currently, when the filter selected by the merchants return no product in the editor, a simple label saying “No results found.” is shown in the editor.

We want to improve this UX. Whether we can do it or not, is currently a bit of an unknown, as the “No results found.” is handled by the “Post template” block in Gutenberg (packages/block-library/src/post-template/edit.js:L234). My hunch is that we can probably do it by using a HOC. But this issue should also be considered as a research spike into whether this is relatively easy or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementThe issue is a request for an enhancement.KirigamiWC Store Editing (FSE)block-type: product-queryIssues related to/affecting all product-query variations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions