-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Tracking: Block Visibility support follow up tasks #72001
Copy link
Copy link
Closed
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.Menu item in the top toolbar to select blocks from a list of links.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
#71203 added new Block Visibility support.
This issue aims to further improve this for the WordPress 6.9 release.
Enhancements
These tasks should be addressed by the Beta 1 release, i.e., the Gutenberg 21.9 release.
- Allow synced patterns to be hidden (See Block API: Add block visibility control support and UI #71203 (comment)): Add blockVisibility support to Synced Pattern and Template Part #72026
- Show a snackbar when hiding a block from the block toolbar (See Block API: Add block visibility control support and UI #71203 (comment)): Block Visibility: show snackbar when hiding block #72027
- Core-63676: Avoid enqueueing scripts and styles for a block unless content is rendered wordpress-develop#9213
Below are some enhancements that I personally think would be "nice to have".
- Add a command to show or hide the selected block Block API: Add block visibility control in the command center #72154
- Add shortcut to show or hide the selected block Add keyboard shortcut toggle block visibility #72172
Code Quality
- Add e2e tests
This task can be addressed even in Beta1 and later.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.Menu item in the top toolbar to select blocks from a list of links.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Type
Fields
Give feedbackNo fields configured for Enhancement.
Projects
Status
✅ Done