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

Make pattern categories be selected by hover (onMouseEnter) instead of onClick. #57994

Open
kohheepeace opened this issue Jan 19, 2024 · 3 comments
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@kohheepeace
Copy link

What problem does this address?

I am frustrated that I have to select a category every time I look for a pattern.

The end-user does not know which category contains the pattern he/she wants.

Therefore, they need to "click" on each category to find a pattern. Replacing this with Hover eliminates the need to click the mouse.

❌ Current: It's a pain to click every time to find patterns.

2024-01-19.17.30.30.mp4

✅ Expected: Just hover, so you can easily find patterns.

2024-01-19.17.26.48.mp4

What is your proposed solution?

In packages/block-editor/src/components/inserter/block-patterns-tab/index.js

スクリーンショット 2024-01-19 17 28 03
@kohheepeace kohheepeace added the [Type] Enhancement A suggestion for improvement. label Jan 19, 2024
@colorful-tones colorful-tones added the [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced label Jan 20, 2024
@talldan talldan added the Needs Design Feedback Needs general design feedback. label Jan 22, 2024
@kohheepeace
Copy link
Author

Proof of concept example

Shuffle.dev

2022-10-06 04 09 50

You can try this UI at https://shuffle.dev demo page.

@kohheepeace kohheepeace mentioned this issue May 4, 2024
39 tasks
@scruffian
Copy link
Contributor

If we do this we'll need to keep a touch event for mobile. We are exploring a different UI in Try drill down for pattern inserter

@kohheepeace
Copy link
Author

I understand that it is necessary to click on mobile.

However, I think that the best UI for PC devices is hover. This is my opinion, but I find the UI for searching for patterns on shuffle.dev to be more comfortable than gutenberg.

First of all, users have no prior knowledge about the pattern categories. Additionally, these pattern categories vary depending on the WordPress theme. Therefore, in order to understand what patterns are in which categories, users need to click through all the categories. This is very troublesome.

The final decision is up to the core team, but I would appreciate it if you could consider this as one user's opinion. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants