Open scruffian opened 2 months ago
This issue feels very reminiscent of #60991, enough that if we can do this:
We should still show the patterns and just insert them at the end of the content
It would likely solve both. We might refine this to "nearest insertable location" rather than "at the end". But wouldn't that mainly be the case? And if we can solve this, do we need loading placeholders or messages?
CC: @jameskoster
We could combine these into one no results found view:
There's already a spinner used when pulling results from the block directory.; we could reuse that UX pattern:
As aside, but the Inserter should probably not render a "no results found" and a spinner at the same time.
What problem does this address?
Since https://github.com/WordPress/gutenberg/pull/61108, there are several conditions under which the patterns tab doesn't display patterns:
remove_theme_support( 'core-block-patterns' );
In each of these cases we show this message in the patterns tab:
What is your proposed solution?
We should treat each of these situations differently:
It would be useful to have designs for these states. cc @jasmussen @richtabor