WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.19k forks source link

Inserter: improve experience when searching for "posts" or "blog" #65173

Open annezazu opened 1 month ago

annezazu commented 1 month ago

With WP 6.6.1 and GB 19.1, when searching for "posts" in the Inserter, you're met with lackluster results:

Screenshot 2024-09-09 at 5 18 14 PM

The first two results are Archive and Calendar. This gets worse when you search "blog":

Screenshot 2024-09-09 at 5 21 21 PM

I understand that we chose to remove the post list variation of the Query Loop block since it didn't inherit the many query by default https://github.com/WordPress/gutenberg/pull/63404 but I still think we need to iterate here for such a common action (show the posts or pages you've written).

Opening this issue for further discussion and improvement @WordPress/gutenberg-design. Related issue: https://github.com/WordPress/gutenberg/issues/40941

jameskoster commented 1 month ago

In both cases surfacing the Query Loop block probably makes sense? Though we should ensure it behaves as expected when added to page content (related: https://github.com/WordPress/gutenberg/pull/65067).

annezazu commented 1 month ago

I think so too and would agree around landing that fix at the same time.