Skip to content

Patterns: remove ability to change sync state in UI with a classic theme #51920

@annezazu

Description

@annezazu

In testing 16.1 RC1 and the new pattern syncing, I noticed that with a classic theme you can control the sync state. In talking with @youknowriad about this he indicated this shouldn't be possible because otherwise one will be able to create "reusable blocks" that references a "non synced pattern".

In this case, we should show the sync state but not allow the option to edit. If it does remain for some reason, the design needs to be updated as the sync toggle isn't descriptive of what's changing, goes to the next line when toggling, and initiates a save state when no changes occur.

classic.theme.save.state.pattern.mov

Metadata

Metadata

Assignees

Labels

REST API InteractionRelated to REST API[Block] PatternAffects the Patterns Block[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions