-
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
Inserter: Patterns: remove loading indicator #67072
base: trunk
Are you sure you want to change the base?
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -89 B (0%) Total Size: 1.82 MB
ℹ️ View Unchanged
|
Flaky tests detected in 81ec0b9. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11890800934
|
What?
Removes the loading UI for the patterns inserter to make #66713 work properly. It basically reverts #61513, so we should make sure be don't introduce the same issue. We should add a loading indicator when categories are loading, not when patterns are loading. Edit: I actually don't see any situation where there's no categories loaded, because the categories are loaded as settings, so always there. I can't reproduce the original issue.
Why?
Patterns should be browsable before they're all been fetched from the server.
How?
Testing Instructions
wp eval 'for ($i = 1; $i <= 3000; $i++) { wp_insert_post(["post_title" => "Reusable Block " . $i, "post_content" => "<!-- wp:paragraph --><p>This is block " . $i . "</p><!-- /wp:paragraph -->", "post_status" => "publish", "post_type" => "wp_block"]); }'
Testing Instructions for Keyboard
Screenshots or screencast