-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Allow for a user-triggered search in Block Directory #23894
Copy link
Copy link
Closed
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Block DirectoryRelated to the Block Directory, a repository of block pluginsRelated to the Block Directory, a repository of block plugins[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Block DirectoryRelated to the Block Directory, a repository of block pluginsRelated to the Block Directory, a repository of block plugins[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface
Type
Fields
Give feedbackNo fields configured for issues without a type.
When I was looking for a 'card' block, there wasn't one available on my site and it triggered automatically the Block Directory search. Once the Card block was installed and used on my site, it was always showing up for the 'card' search. But I found this card now a bit limiting and I would want to see what else is in the block directory and find another one, that I previously saw in the list offered.
For now, a user would need to experiment with the keywords to actually trigger another Block Directory search and that would be quite cumbersome. Sooner or later the automatic triggers won't cover all use cases.
I did explored some possible placements for the "Search in Block Directory" link/button
001 Link next to the search box

It would be a good place for discovery. It just feels a bit crowded.002 bottom of the search results

That's possible. Still has some issues. Mainly it's too disconnected from the search.Also, a link would indicate it'll take a user away and out of the block editor to a different site, and a user might be hesitant to use it for that reason.
003 a button on bottom

This placement feels do able and reminded me on the "Browse all" button new to the canvas inserter004 button area on bottom

It feels like it was always there, haha... if you like the idea of a user-triggered Block Directory search.###5 a black button on the bottom

That last one is just a variation on the background color to be consistent with the "Browse all" button on the other inserter.
###6 Blue button underneath search box

I had second thoughts about the placement on the bottom of the search result, as people might not find it. They might not scroll all the way through the list of results. It looks a bit heavy underneath the search box, but people won't miss it there.... haha.
Those are just a few possibilities. I like number 006 if we can make it work, and number 005 if we have to go on the bottom. But honestly none of them feel right yet. Maybe I just need to give it time? What do you think?