Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patterns: Display a list of all instances where a pattern is used #58990

Open
donalirl opened this issue Feb 14, 2024 · 4 comments
Open

Patterns: Display a list of all instances where a pattern is used #58990

donalirl opened this issue Feb 14, 2024 · 4 comments
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement.

Comments

@donalirl
Copy link

What problem does this address?

It is difficult to know where on a site a pattern is used, and if it is safe to delete a synced pattern without causing missing content on the site.

What is your proposed solution?

I'd like a way to see a list of all pages, posts, and templates where a pattern has been inserted. This shows me how often each pattern is used on a site.

This will also show which pages will be affected by deleting a synced pattern.

@donalirl donalirl added the [Type] Enhancement A suggestion for improvement. label Feb 14, 2024
@t-hamano t-hamano added the [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced label Feb 14, 2024
@jameskoster
Copy link
Contributor

This applies to all global entities. It would be nice to find a solution that works across.

@jameskoster
Copy link
Contributor

Noting that the designs in #59689 call for this detail, e.g.:

used
@richtabor
Copy link
Member

Noting that the designs in #59689 call for this detail, e.g.:

Nice. Any reason why to not put this information in the area with category and sync stats as well? Even the Author could be listed there, same as the Summary panel for posts, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement.
5 participants