KK wrote: For that, could you please post some mockups of use-cases where you see nested groups useful?
Also, exactly what kind of behavior do you expect from the 'child' groups? Do they collapse/expand like top level groups or behave differently?
Please expand on this so as to make me see what you have in mind for this feature.
.
Sure, KK. Thanks for listening. I will do my best to describe a few use-cases for this while keeping my reply short.
The first example is where it first propped up, for me. I have a homepage that has a lot of large sections of content on it, mostly just paragraphs etc. There are a few sections that have inner groups of content, for example - one section has 3 icons, each icon has 3 editables related to it. (Title, image and richtext). At the current time, I am forced to make a decision - either have one group in the admin panel with all 3 icon groups inside it, that's 9 editable regions inside the group. While it works, it's bloody confusing

It would be a LOT cleaner to be able to group these editables within the group they're in.
Another (and more important) example. I wish to some time take a dig at customising the admin panel. Honestly, the sidebar is pretty good in my opinion, and I doubt I'd want to change it much. For me, customising is all about the on-page layout. I think it's limited by the fact that it is doing it's job (Displaying data to the user and making it available to be managed). But there isn't much room to structure the data outside of just grouping editables in the current groups. I'd love to be able to group a bunch of editables inside of their respective groups, then put each of those groups in one main group and design my page around this.
I suppose, in my opinion, it opens up a lot of options for managing the output of the editable regions on the page. It's not something that's previously been important because the old admin panel had many, many more problems than this. It's definitely something I was really hoping for when I saw the new way of defining groups -
- Code: Select all
<cms:editable name='icons' label='Icons' desc='On-page icon data' type='group'>
<cms:editable name='editable_grouping1' label='Icon1' desc='Icon number 1 editables' type='group'>
...Editables in here for the icon (Image upload, title textbox, richtext description).
</cms:editable>
</cms:editable>
I've seen more and more uses for this as I've been using V2. With the other changes it would vastly improve the way in which we can group and handle data per template in the panel.
Do let me know if you need more examples, or more use cases for this. Thanks KK.