Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Product Collection: Enhance No Results View in Block #10826

Closed
Tracked by #42161
imanish003 opened this issue Sep 4, 2023 · 0 comments · Fixed by #11783
Closed
Tracked by #42161

Product Collection: Enhance No Results View in Block #10826

imanish003 opened this issue Sep 4, 2023 · 0 comments · Fixed by #11783
Assignees
Labels
block: product collection Issues related to the Product Collection block focus: blocks Specific work involving or impacting how blocks behave. type: enhancement The issue is a request for an enhancement.

Comments

@imanish003
Copy link
Contributor

Related GitHub discussion: https://github.com/woocommerce/woocommerce-blocks/discussions/10707

Summary

  • The goal of this task is to improve the "No Results" view in the Product Collection block. The task will involve offering default content, introducing patterns, and examining the visibility toggle options in List View.

Background

  • The "No Results" block currently always shows up at the bottom of the Product Collection block, with an empty Paragraph block as the default content. This design can be cumbersome to work with, especially when multiple Collection blocks are present on the same page. We aim to provide a more dynamic, user-friendly, and customizable experience.

Designs

  • Figma: zx83mG5ZnDiacPdH6GlO2j-fi-399_96156

  • Current No Results block Screenshot
    image

  • Proposed Changes Screenshot
    image

  • Visibility Toggle Video

CleanShot.2023-08-23.at.12.14.38.mp4

Acceptance Criteria

  • Default Content: Implement default content that automatically appears in the No Results block.
  • Design Patterns: Introduce design patterns that offer customization options for merchants and builders.
  • Icon Change: Update the icon for the block to the Conditional Content icon.
  • Description Update: Make the description more readable and understandable.
  • Visibility: Introduce a mechanism to show the No Results block only when the parent Collection block (or one of its children) is selected.
    • Hidden Indicator in List View: Investigate if it's possible to add a new "hidden" indicator icon that can toggle the visibility of the No Results block in the List View.

Feedback Loop

  • This task will involve a feedback loop with @shaunandrews . After the initial implementation of the features, @shaunandrews will review the changes and may suggest further enhancements or modifications. This is to ensure that the improved No Results block aligns with the overall UX goals.

Additional Notes

  • The visibility toggle feature may require contributions to Gutenberg core.
  • This improvement can also benefit other blocks like Mini Cart, and Query Loop, which have similar "No Results" views.

CC: @kmanijak

@imanish003 imanish003 added type: enhancement The issue is a request for an enhancement. focus: blocks Specific work involving or impacting how blocks behave. block: product collection Issues related to the Product Collection block labels Sep 4, 2023
@imanish003 imanish003 linked a pull request Nov 15, 2023 that will close this issue
14 tasks
@imanish003 imanish003 self-assigned this Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: product collection Issues related to the Product Collection block focus: blocks Specific work involving or impacting how blocks behave. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant