Description
This is part of #27890: Improvements to Reusable Blocks
Building off of an idea from @jameskoster about using dots as a way to indicate unsaved changes in the canvas (#29577, comment), this version explores using both dots and an explicit Save button in the toolbar as indicators of changes made to a Reusable block.
It would be nice to be able to save what you’ve changed within the inner blocks without having to click back over to the Reusable parent block, so I looked at including the Save button as part of the parent selector.
save-from-inner-block.mov
Saving sequence:
- A change is made to an inner child block
- Save button appears in the parent selector, green dot appears next to the Reusable blocks tab in the block inspector, white dot appears next to the Publish button in top toolbar
- When user saves changes (either directly from toolbar or from the block inspector), there would be a saving sequence in the toolbar similar to Save draft behavior in the top toolbar
- When changes are saved, the parent selector returns to its normal state and dots disappear from the top toolbar/block inspector
(Note that the Save button and “unsaved changes” notification dots are green rather than blue, building on the potential Reusable block color-coding proposed in #29337.)
You could also save changes to inner blocks while the Reusable parent block is selected, either from the toolbar or the block inspector:
save-from-rb.mov
Note that in this flow, the Save button would replace the move up/down arrows and drag handle in the Reusable block toolbar until the save action is complete.
Activity