Make it possible to structure element templates in sections
See original GitHub issueIs your feature request related to a problem? Please describe.
The properties panel structures contents logically into groups and these groups can be collapsed and expanded by users based on what is important to them and not.
Our existing way to structure element template fields into a large Custom Fields
section does not well blend into the concept. Considering larger element templates, each of the fields can potentially belong to a logical group and as a template creator I’d assume I can use the same grouping mechanism for my templates, too.
Describe the solution you’d like
- As part of an element templates properties I’m able to define which group a particular input belongs to
- The properties panel will create such groups and organize the inputs accordingly
Describe alternatives you’ve considered
Consider our current “one group for all template fields” a feature and do no change.
Additional context
The following shows an early mock up for the soon to be shipped cloud REST connector template, with and without grouping:
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
I can imagine offering grouping as an additional C8 template feature, without touching the existing custom properties behavior and existing properties panel groups, in the following way:
groups
group
id in a respective propertygroups
definition, the property lands into the default “Custom properties” groupThe “group is not defined in the
groups
definition” case could also be something to validate via JSON schema, but is not necessary IMHO if we have a reasonable default.Given the following example template
it would resolve in the following UI
Looks great to start with 👍