refactor: editorframe API
Currently EditorFrame API has too many props of which three call getPropertyValue
for providing a value passed down.
- Remove
path
,label
andhelperText
in favor ofshape
, which was introduced with !5 (merged). - Provide fallback values for
label
ifsh:name
is not defined in the shape, e.g. fromrdfs:label
and the shape's subject as a last rescue. See !4 (merged) for an implementation for NodeShapes. Refactor this mechanic to be reusable.
The resolution of this issue is blocked by #78 (closed)/!5 (merged).
Edited by Stefan Hynek