Add category filtering to StartPageOptions patterns modal #56944
Labels
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Type] Enhancement
A suggestion for improvement.
The current requirement for including a pattern in the StartPageOptions modal is to set
Block Types: core/post-content
. I also prefer to setPost Types: page
, which limits these to only populating within "Add new page" flows (not posts).This gives us a "Choose a pattern" modal, which renders when creating a new page. This is nice, but could be much more useful if we had additional categorization, much like the Pattern Explorer, to filter by page category/type (i.e. about, services, portfolio, etc).
Acceptance criteria
core/post-content
. Not every category is rendered, only the ones that have page patterns.core/post-content
, and a category ofabout
would be available within the StartPageOptions modal in the "About" category. There's no need to redeclare categories, but rather pull from the existing source.The current StartPageOptions modal:
The current Pattern Explorer:
I would expect we could share the design and structure of the explorer; perhaps merge the UI.
The text was updated successfully, but these errors were encountered: