Skip to content
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

Block Pattern: Shuffle button appears in toolbar even when no patterns to shuffle to in WP 6.6 RC 2 #63069

Closed
laurelfulford opened this issue Jul 2, 2024 · 0 comments · Fixed by #63093
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@laurelfulford
Copy link
Contributor

Description

When you insert an unsynced block pattern that has a category, it can still show the shuffle button, even if there are no other patterns that he button will load.

Step-by-step reproduction instructions

  1. Create a simple unsynced pattern with a unique category; make sure the contents of the group are wrapped in a single group block.
  2. Using the + menu in the top left, insert the pattern (I ran into a separate issue where the shuffle button wouldn't appear when the pattern was inserted with /).
  3. Note the shuffle button appears, but when you click it, nothing seems to happen.

Screenshots, screen recording, code snippet

Screen.Recording.2024-07-02.at.2.18.30.PM.mov

Environment info

  • WordPress 6.6 RC 2 (Gutenberg plugin not installed)
  • Twenty Twenty Four theme

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@laurelfulford laurelfulford added the [Type] Bug An existing feature does not function as intended label Jul 2, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jul 3, 2024
@akasunil akasunil added the [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced label Jul 3, 2024
@t-hamano t-hamano moved this to 🏗️ In Progress in WordPress 6.6 Editor Tasks Jul 7, 2024
@github-project-automation github-project-automation bot moved this from 🏗️ In Progress to ✅ Done in WordPress 6.6 Editor Tasks Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants