-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Quick Inserter: push to "explore" option when searching for patterns #42343
Comments
This came up with an additional participants for usability testing: "Having to go to the + sign and then browse all and that’s the only way I know how to get to patterns is super cumbersome” |
We can potentially use context to make a decent guess? E.g.
And so on. |
The problem comes from patterns having names and are not named "pattern" so when we search by name description etc "pattern" is not found. When we search for block some blocks appear just because they have "block" in their description. I'm not sure the best solution here. Should we hardcode a special case for "pattern" search? In that case we should also hardcode for substrings like "patter"? If yes it feels a little bit strange to show that special case for a string like "pat".
These decent guesses should probably be the default when the inserter opens. In that case, can we just show everything as if the search was empty if the user searches for "pattern" and no results exist? |
That potentially seems a bit heavy-handed. A user might not want patterns depending on the task at hand. Anecdotally I find it kind of annoying how the root-level quick inserter sometimes doesn't show me blocks despite searching for it explicitly. If there was a way to make the guesses appear when someone searches explicitly for 'pattern' that could be good, but it might be simpler to just redirect them to the pattern explorer. Kind of like Anne's suggestion :) |
Instead of the "No results found." (which is not helpful) adding some kind of general guide to help the user along the next step can help. This would mean any time the "No results found." shows up we can have a specific guide show up. |
Perhaps something similar with using "/" to get a list of blocks, we could extend this feature to typing "//" to get a list of patterns?! |
What problem does this address?
In the FSE Outreach Program's usability testing, one participant tried searching for "patterns" in the quick inserter but nothing appeared:
This feels like an oversight, especially with recent work done to prioritize patterns in #38709
What is your proposed solution?
Since we don't know what patterns someone might want to use, I think it makes sense to push someone to the "explore" section from here or to open the Pattern tab of the Inserter. Here's a very rough and loose idea:
Need input from @WordPress/gutenberg-design either way as the above is just a quick idea.
cc @jorgefilipecosta since you've worked on this feature!
The text was updated successfully, but these errors were encountered: