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

Hiding blocks breaks block directory #55209

Closed
kraftner opened this issue Oct 10, 2023 · 0 comments · Fixed by #55243
Closed

Hiding blocks breaks block directory #55209

kraftner opened this issue Oct 10, 2023 · 0 comments · Fixed by #55243
Assignees
Labels
[Feature] Blocks Overall functionality of blocks [Package] Blocks /packages/blocks [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@kraftner
Copy link

Description

As soon as you hide at least one block in the settings the block directory doesn't display any results.

The results get still returned from the REST API so the problem seems to be client side in the block editor.

Step-by-step reproduction instructions

  1. Open a post
  2. Open the block inserter and search for something that yields a block directory result, e.g. "Sharing"
  3. See the blocks available to install
  4. Open Preferences
  5. Open the "Blocks" panel
  6. Disable any block
  7. Close the Preferences
  8. Open the block inserter and again search for something that yields a block directory results, e.g. "Sharing"
  9. No blocks to install are displayed

Screenshots, screen recording, code snippet

Bildschirmaufzeichnung.vom.2023-10-10.16.47.21.webm

Environment info

  • WordPress 6.3.1
  • WordPress 6.3.1 with Gutenberg 16.7.1 active
  • Desktop with Firefox 118.0.1 as well as Chrome 117.0.5938.149

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

@jordesign jordesign added [Type] Bug An existing feature does not function as intended [Feature] Blocks Overall functionality of blocks Needs Testing Needs further testing to be confirmed. [Package] Blocks /packages/blocks labels Oct 11, 2023
@tellthemachines tellthemachines self-assigned this Oct 11, 2023
@tellthemachines tellthemachines removed the Needs Testing Needs further testing to be confirmed. label Oct 11, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Package] Blocks /packages/blocks [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
3 participants