-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality
Description
Currently we render BlockPatternsList component in multiple places, but many of them have subtle differences, so it might be good to consolidate these designs and make the UI more consistent.
We can probably say we have two basic usages of this component:
- Render patterns in a more narrow context like sidebars.
- Render patterns in dialogs for replace flows - usually from a toolbar button
In 'sidebars' we render them as a vertical list and the current usages are:
In dialogs:
Need feedback
- In all of our 'grid' implementations we use adhoc styles per use case. Some of them are identical, some are not (number of columns, masonry style or not, etc..). It makes sense to absorb this
gridusage in the component itself with a new variant or something similar. In order to do that we need to decide what the final design for all them would be. - Should the dialog implementations be considered as a third basic usage? Maybe the dialogs when creating new entities should remain in full screen dialogs, but the
replacein Query Loop should probably be consolidated with the rest replace flows. - We have the concept of
replaceand some times we render it in toolbar and some times in inspector controls. Should we consolidate them or it makes sense as is?
I'd love to hear some feedback from @WordPress/gutenberg-design , --cc @richtabor @jameskoster @jasmussen .
jameskoster
Metadata
Metadata
Assignees
Labels
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality
Type
Projects
Status
Now






