collective / volto-hydra

A volto addon to let you edit content in realtime when you have many frontends written in any framework
1 stars 2 forks source link

I can manage subblocks only in the sidebar (subblock settings/navigation) #152

Open djay opened 5 days ago

djay commented 5 days ago

Problem

Need a way to get to the settings of blocks, esp the parent in cases where it's either hard to click on teh parent or frontend block selection is not implemented.

We need something that works well on mobile and is not confusing for the user to work out what they are looking at, and how to get to the settings they want.

TODO: merge with #146

Example blocks

djay commented 5 days ago

Not sure this is the right place for it but this is an idea that tries to solve a few different things.

The idea follows on from quanta design for tables, where cell settings are part of table settings but I've generalised it.

Here are some mockups

image image

TODO:

djay commented 8 hours ago

I did a mockup of including the page settings as the top most pinned accordion. It is a container. It also means the settings in the toolbar can be just a toggle to open or close the sidebar (https://github.com/plone/volto/pull/3912)

image

Settings on the toolbar would open with the sidebar scrolled to the top showing the page settings. Clicking a block would include the block and its parents on the sidebar (skipping any with no settings like Row). If the selected block is a container you can manage it's sub-blccks or select one. And if you want to go to the page settings then you just scroll up (or you can unselect the table) I've also put in a block menu so you can delete, cut copy blocks etc. That lets you move blocks out of containers.