• Resolved sacdawg

    (@sacdawg)


    As soon as ‘reusable blox’ became available a few years ago, i have been streadily amassing a large collection of what are now “patterns”. as of today, i have 2,363. in a previous post, i was looking for advice on how to manage occasional lags in loading the patterns to insert into posts. In the latest wordpress update, the problem has gotten way worse. despite having lots of bandwidth on my hosting plan, editing patterns can take several minutes to update.

    before you were allowed the option of ‘not syncing’ your pattern before publishing it, all the patterns were synced by default. and there doesn’t seem to be a way to “unsync” them once they are synced. i have to cut the blocks from the ‘synced pattern’, paste it into a new unsynced pattern, and delete the synced pattern. i’m hoping there’s a better way than having to repeat this process thousands of times.

    and even this method doesn’t really work well for me. the sheer number of patterns seems to be impeding my ability to do anything with these patterns. even deleting them leaves me with a frozen screen. editing unsynced patterns is slow, but it eventually works after a minute or so.

    i can insert unsynced patterns into posts (though that usually has significant delay). my workaround is to create chrome bookmarks for the patterns, use a chrome extension to quickly open the unsynced patter editor, and copy/pasting its content back to my original post. both synced/unsynced patterns can usually open in a reasonable amount of time.

    trying to insert any ‘synced pattern’, no matter how short, into a wordpress post is impossible. i get the sense that the synced patterns are responsible for the lag, but am at a loss for what to do since even deleting them freezes the editor.

    since i am using the patterns as ‘post templates’, i have no need for synced patterns. my workflow consists of creating new posts and then inserting an unsynced template pattern into the first block and filling in the categories. i’m really hoping that the problem is only being caused by synced patterns, since my workflow has become very dependant on unsynced patterns. also, i’ve had over 2000 patterns for years now and they never caused any serious problems in my workflow until this latest update in wordpress. the only slight inconvenience then was that i’d have to manually detach template patterns to insert new parameters for the post. the usynced pattern does this automatically which really ahs helped….hoping that in near future there will be a faster way of ‘unsyncing’ patterns.

    any advice appreciated ??TIA??

    • This topic was modified 4 months, 1 week ago by sacdawg.
    • This topic was modified 4 months, 1 week ago by sacdawg.
    • This topic was modified 4 months, 1 week ago by sacdawg.
    • This topic was modified 4 months, 1 week ago by sacdawg.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Aaron Robertshaw

    (@aaronrobertshaw)

    i have to cut the blocks from the ‘synced pattern’, paste it into a new unsynced pattern, and delete the synced pattern.

    I know this isn’t a complete solution for what you are trying to do but there is a “duplicate pattern” command available in the site editor’s command palette.

    Using that command will save you from having to select all blocks, copy them, create a new pattern, set it as unsynchronized, paste, re-categorize, and so on. It will greatly streamline the process of creating the unsynchronized version of the pattern but it can’t be applied as a bulk action and won’t automatically delete the duplicated pattern. Hopefully, it helps a little though!

    Regarding the performance of the Patterns within the editor, I don’t have much I can add. There is an open issue, so it is on the radar to be improved but it isn’t a trivial task.

    Whereabouts are you witnessing the worst performance with patterns? Is it in the Appearance > Editor > Patterns page, or within the block editor itself when inserting patterns?

    Thread Starter sacdawg

    (@sacdawg)

    thanks for your help. i hadn’t noticed the ‘duplicate’ feature. this will definitely speed up things.

    trying to insert a synced pattern into a post from the block editor is where i’m having the most problems…it basically doesn’t work at all. inserting unsynced patterns into a post from block editor is ‘hit or miss’. either it will load only the ‘default patterns’ when i type in text after the backslash, or all patterns will load immediately and will be inserted immediately. the synced patterns will also be listed, but only the unsynced patterns can be smoothly inserted.

    the ‘patterns editor’ loads quickly and provides search results for both synced/unsynced patterns with no delay. both synced/unsynced patterns open to the ‘edit screen’ without any problems.

    besides synced pattterns not inserting into posts, the next most severe problem is that both synced/unsynced patterns take a really long time to save changes. the delay usually occurs due to the “save button” being grayed out, rather than clicking the ;save button’ and hanging. i’ll make a change to the pattern, and it can take minutes before the ‘save button’ becomes ‘clickable’. i can only tell that changes have not been saved when i get a ‘chrome warning’ about unsaved changes when trying to close the wordpress pattern editor tab.

    thanks for the workaround tip.i’ll be sure to follow that thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.