Skip to content

Simplify components meta-descriptions #5053

@Fedoseew

Description

@Fedoseew

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:

  1. Introduce new meta-annotation @StudioPropertyGroups that will be used as marker annotation for interfaces (classes) that contains property groups
  2. Add propertyGroups method in all meta-annotations (@StudioComponent, @StudioElement, @StudioAction, etc)
  3. Create basic groups and set propertyGroups annotation value in all components meta
  4. 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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions