WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.47k stars 4.18k forks source link

Improvements to Synced Patterns #27890

Open mtias opened 3 years ago

mtias commented 3 years ago

It's been a while since we gathered thoughts on where to take reusable blocks next. With the work that went into template parts — and particularly #27887 — the experience is going to be radically improved and several longstanding bugs removed. There are some design updates needed to accommodate some of these changes (no direct "edit / save" flow) and to improve the clarity of reusable blocks in general but let's also look into other ideas that can improve the different user flows related to them.

paaljoachim commented 3 years ago

Adding the following issue to the list: Add content alignment option into the main reusable block toolbar https://github.com/WordPress/gutenberg/issues/17640

There is also a bug related to the above issue. If one converts a Full width or Wide block to a reusable block the alignment option is also adjusted to the default Reusable block width. https://github.com/WordPress/gutenberg/issues/8288

Tropicalista commented 3 years ago

About my issue linked here, is it possible to add a reducer on https://github.com/WordPress/gutenberg/blob/da8555d258edbe676fa079fb51252f918ae032e1/packages/reusable-blocks/src/store/reducer.js

to let know the block is just been converted from a reusable block?

NewYorkerLaura commented 3 years ago

Just adding to the discussion here. In 5.7.1 creating new reusable blocks experience is disastrous. Their primary functions have been stripped away. I've had to roll over 100 client sites back to 5.6.3. It is a UX disaster. The best feature and the strongest selling point to clients of the Block editor is now non-functional

See attached video:

https://trainingvideoslaura.s3.amazonaws.com/reusable+block+not+working+on+PELC.mp4

mtias commented 3 years ago

The ability to name a block upon creation is addressed in trunk and should remove the case of having a bunch of "untitled reusable block" names:

image

jameskoster commented 2 years ago

A possible consideration for inclusion here: https://github.com/WordPress/gutenberg/issues/43261

Edit: Tracked in https://github.com/WordPress/gutenberg/issues/43598 instead.