Skip to content

Site Editor Inserter(s): Prioritise Template Parts over Patterns, and indicate the difference between the two #42501

Closed

Description

The quick inserter currently surfaces patterns, both by default and when you search:

Screenshot 2022-07-18 at 12 00 00

But it's not always clear whether the options (like in the screenshot above) are template parts or patterns, which can lead to folks mistakenly inserting a pattern where a template part would be preferable.

This issue can be partially fixed by #41397, but it might be best to establish some visual distinction to cover cases where patterns and template parts share a name. There are a couple ways to do this, one solution would be to simply list them separately:

Screenshot 2022-07-18 at 12 41 15

This would be similar to what you find in the current implementation of the template part replacement modal:

Screenshot 2022-07-18 at 12 05 55

Another option would be to list them together but use the template part icon to distinguish between patterns and things like headers / footers. Rough example:

Screenshot 2022-07-18 at 12 39 38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions