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: Manage Patterns similar to Reusable blocks. #31367

Closed
paaljoachim opened this issue Apr 30, 2021 · 4 comments
Closed

Patterns: Manage Patterns similar to Reusable blocks. #31367

paaljoachim opened this issue Apr 30, 2021 · 4 comments
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback. Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Apr 30, 2021

What problem does this address?

We need a way to manage Patterns and categories.

Screen Shot 2021-04-30 at 09 22 17

What is your proposed solution?

At first to just duplicate the current Reusable block manage approach over to Patterns.

Screen Shot 2021-04-30 at 09 24 26

Second iteration perhaps do something like these modal approaches I have listed here:
#30192

Dependent issue:
Patterns: Create a pattern in a similar way to have we create a Reusable block.
#31298

Associated:
Reusable blocks: Convert a Reusable block to a pattern.
#31296

@kjellr @melchoyce

@paaljoachim paaljoachim added [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement. Needs Design Needs design efforts. Needs Design Feedback Needs general design feedback. labels Apr 30, 2021
@mtias
Copy link
Member

mtias commented Apr 30, 2021

This is not a priority in the immediate roadmap since patterns are moving from bundled resources to be served through the pattern directory. In the future, user stored patterns might make an appearance, but it's not at the top of the list.

@paaljoachim
Copy link
Contributor Author

An example from Learn.
Today Learn uses a Reusable block to create a kind of layout template. To where the Workshop or Lesson plans creator will fill out the template. This is risky as one could easily overwrite the Reusable block with the contents one has added.

Being able to create a Pattern block to create a kind of layout template. There is no risk of saving the change of a pattern on top of the "global" pattern as each instance is independent of other patterns.

@mtias
Copy link
Member

mtias commented May 3, 2021

There's definitely use cases for it. Reusable blocks or patterns could be just a taxonomy of wp_blocks but as I mentioned elsewhere, it needs a more comprehensive overview.

@mtias
Copy link
Member

mtias commented Jun 29, 2023

Done in #51144.

@mtias mtias closed this as completed Jun 29, 2023
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 Needs Design Feedback Needs general design feedback. Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants