-
Notifications
You must be signed in to change notification settings - Fork 148
Simplify components meta-descriptions #5053
Copy link
Copy link
Description
Studio support issue: https://youtrack.jmix.io/issue/JST-6417
Main goal:
Implement Studio meta-interfaces with properties meta-annotations to avoid boilerplate copy-pasted code in components meta-descriptions.
Solution:
- Introduce new meta-annotation
@StudioPropertyGroupsthat will be used as marker annotation for interfaces (classes) that contains property groups - Add
propertyGroupsmethod in all meta-annotations (@StudioComponent,@StudioElement,@StudioAction, etc) - Create basic groups and set
propertyGroupsannotation value in all components meta - Support in Studio
NOTE: for now we will not remove all "hardcoded" properties and we will use 2 approaches at the same time for backward compatibility with old Studio versions.
But in the feature we should remove all "hardcoded" properties and keep only propertyGroups.
Reactions are currently unavailable