Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Zoomed out view: Display a badge near the pattern category to inform how many patterns have been inserted from each category #62582

Open
gigitux opened this issue Jun 14, 2024 · 3 comments
Labels
[Feature] Zoom Out [Type] Enhancement A suggestion for improvement.

Comments

@gigitux
Copy link
Contributor

gigitux commented Jun 14, 2024

Context

With the Full Composability Project in WooCommerce, we are leveraging a dedicated instance of Gutenberg to create a tool that provides users with the flexibility to design their own homepage. This tool allows users to easily add, remove, shuffle, and rearrange patterns.

As part of this initiative, we are planning to introduce a feature that shows a badge indicating how many patterns have been inserted from each category (see related issue).

Proposal

We propose enhancing the Pattern Inserter in the Site Editor by displaying a badge next to each category, indicating the number of patterns inserted from that category.

Details

  • Display a badge: Each category in the Pattern Inserter should display a badge showing the number of patterns inserted from that category.
  • Real-time updates: The badge count should update in real-time as users add or remove patterns.
  • User Experience: This enhancement aims to provide users with better insights into their pattern usage.

Considerations

One potential challenge is that a single pattern can belong to multiple categories.

It could be part of #50739

@gigitux gigitux changed the title Zoom Out View: Display a badge near the pattern category to inform how many patterns have been inserted from each category Zoomed out view: Display a badge near the pattern category to inform how many patterns have been inserted from each category Jun 14, 2024
@richtabor
Copy link
Member

What's the rationale here? Why is it valuable for users to know that they've inserted a particular count of patterns from a category?

@richtabor richtabor added [Type] Enhancement A suggestion for improvement. [Feature] Zoom Out labels Jun 16, 2024
@verofasulo
Copy link

verofasulo commented Jul 31, 2024

Hey @richtabor,

Good question!

We tested the flow, and we got very good feedback about the pattern counter:

The number next to each category, indicating how many patterns had been inserted, was seen as a nice addition.

It provided users with a quick overview, even when they closed the panel.

@richtabor
Copy link
Member

I think perhaps it's an interesting exploration for when creating new pages. It's tough to account for patterns inserted on a page otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Zoom Out [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants