You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove patterns from the Quick Inserter to prevent misuse in block-specific contexts #67693
Patterns are currently available in the Quick Inserter across all contexts, including situations where they are not relevant or appropriate (e.g., the Social Links block). This creates confusion and can disrupt the intended user experience for block-specific tools.
There are two routes here: Either removing patterns from the quick inserter altogether, or remove them when they're not inserter-able anyhow (i.e. Buttons block, Social links block, etc).
I lean towards altogether, as patterns is shifting towards a more of a higher-up insertion flow via the Inserter. We could consider a user's patterns to render, but not theme patterns, if this is too much of a shift.
Steps to Reproduce:
Open the block editor and add any block (e.g., Social Links).
Click the “+” button in the block toolbar to open the Quick Inserter.
Search for items, and observe that patterns are included in the results .
Expected:
The Quick Inserter displays block-level options relevant to the current context, excluding patterns entirely unless explicitly accessed from the Patterns tab in the main Inserter.
Suggested Fix:
Restrict the Quick Inserter to show only individual blocks and block-level items, removing patterns from its scope. Patterns should only be accessible through the Patterns tab in the main inserter for better contextual relevance and usability.
Visual
Inserting a pattern within a block-level context:
CleanShot.2024-12-06.at.09.07.09.mp4
Inserting a pattern within the social links block:
Activity