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
Custom patterns: Patterns Library and Inserter 1:1 #51945
It's not clear that if a pattern is synced, then it does not show up in the Patterns Inserter. In the example below, I've created three patterns — two of which are "synced". Consequently, those two are omitted from the Pattern Inserter.
If I create a pattern, I think it should be available in the Inserter, as it is within the Library, synced or not.
Proposal
Perhaps we can include an indicator of synced status in the preview, similar to how Openverse media has an ellipsis for more actions — or a treatment like badges in List view.
It might be worth highlighting that there is a current bug (with a pending fix) that prevents the correct separation of synced and unsynced patterns in the library.
With the above fix in place you get the following display in the library.
I agree that how the patterns are included in the inserter could do with some love. The original idea in #51144 was that synced patterns (formerly reusable blocks) would continue to be located where the have been until now, in their own tab under the symbol icon, to minimise disruption. The new unsynced patterns would appear under the Patterns tab given they function the same way.
Unsynced
Synced
@glendaviesnz might be able to point to where the original discussion occurred as it is eluding me at the moment.
Is this issue something that is a must-have for an MVP to land in 6.3?
The original idea in #51144 was that synced patterns (formerly reusable blocks) would continue to be located where the have been until now, in their own tab under the symbol icon, to minimise disruption. The new unsynced patterns would appear under the Patterns tab given they function the same way.
I was thinking that both would be available in the Pattern Inserter, while not changing the existing synced patterns location (for the time being at least).
Is this issue something that is a must-have for an MVP to land in 6.3?
I do think folks will interpret this as a bug, if you can see custom patterns in your "My patterns" category of the library, but not within the inserter.
I do think folks will interpret this as a bug, if you can see custom patterns in your "My patterns" category of the library, but not within the inserter.
@richtabor Agreed. I literally sent this message to @annezazu five minutes ago:
"Good morning! I know you've been doing a lot of testing with the Library (patterns)... I have a Q, which I feel like I'm missing something. So I created a synced pattern via the library, but struggling to understand how it is actually added to a post/page. I understand that non-synced patterns are available with the inserter, but cannot for the life of me figure out how to add a synced one."
The separation was intentional, primarily to ease people into the transition from reusable blocks -> patterns. Currently, patterns in the patterns tab aren't synced, and the synced tab contains reusable blocks. The idea is that for 6.3 we keep that behaviour so people can get used to the name change first, and then 6.4 we start to consolidate (e.g. add categories to user created patterns, merge categories in library etc).
If we are getting constant feedback about this we can add synced patterns back in, but that involves a little more work than what's on the surface:
We need to highlight which patterns are synced
We need to handle pagination as rendering potentially thousands of reusable blocks/synced patterns (some sites do have this) will kill the client performance.
I would expect them to be in both areas while the shift is occurring.
Otherwise you don't really learn the new method for finding/inserting synced patterns (i.e. reusable blocks)—you just keep using the old method, as it's the only one available anyhow.
We also need to make sure that the quick inserter is consistent, eg. if a user adds a synced pattern called 'My Pattern' and types /My pattern it will appear in the quick inserter popup, but it won't if they add it as an unsynced pattern.
Activity
[-]Patterns: Library and Inserter 1:1[/-][+]Custom patterns: Library and Inserter 1:1[/+]aaronrobertshaw commentedon Jun 27, 2023
Thanks for writing up this issue @richtabor 👍
It might be worth highlighting that there is a current bug (with a pending fix) that prevents the correct separation of synced and unsynced patterns in the library.
With the above fix in place you get the following display in the library.
I agree that how the patterns are included in the inserter could do with some love. The original idea in #51144 was that synced patterns (formerly reusable blocks) would continue to be located where the have been until now, in their own tab under the symbol icon, to minimise disruption. The new unsynced patterns would appear under the Patterns tab given they function the same way.
@glendaviesnz might be able to point to where the original discussion occurred as it is eluding me at the moment.
Is this issue something that is a must-have for an MVP to land in 6.3?
richtabor commentedon Jun 27, 2023
I was thinking that both would be available in the Pattern Inserter, while not changing the existing synced patterns location (for the time being at least).
I do think folks will interpret this as a bug, if you can see custom patterns in your "My patterns" category of the library, but not within the inserter.
bgardner commentedon Jun 27, 2023
@richtabor Agreed. I literally sent this message to @annezazu five minutes ago:
"Good morning! I know you've been doing a lot of testing with the Library (patterns)... I have a Q, which I feel like I'm missing something. So I created a synced pattern via the library, but struggling to understand how it is actually added to a post/page. I understand that non-synced patterns are available with the inserter, but cannot for the life of me figure out how to add a synced one."
SaxonF commentedon Jul 7, 2023
The separation was intentional, primarily to ease people into the transition from reusable blocks -> patterns. Currently, patterns in the patterns tab aren't synced, and the synced tab contains reusable blocks. The idea is that for 6.3 we keep that behaviour so people can get used to the name change first, and then 6.4 we start to consolidate (e.g. add categories to user created patterns, merge categories in library etc).
If we are getting constant feedback about this we can add synced patterns back in, but that involves a little more work than what's on the surface:
richtabor commentedon Jul 11, 2023
I would expect them to be in both areas while the shift is occurring.
Otherwise you don't really learn the new method for finding/inserting synced patterns (i.e. reusable blocks)—you just keep using the old method, as it's the only one available anyhow.
glendaviesnz commentedon Jul 19, 2023
We also need to make sure that the quick inserter is consistent, eg. if a user adds a synced pattern called 'My Pattern' and types
/My patternit will appear in the quick inserter popup, but it won't if they add it as an unsynced pattern.[-]Custom patterns: Library and Inserter 1:1[/-][+]Custom patterns: Patterns Library and Inserter 1:1[/+]glendaviesnz commentedon Sep 28, 2023
This was fixed by #54007 - the synced patterns tab has now been merged into the patterns tab.