Appearance
Previews
Generated
Generated by elody-ui reference from the Elody UI vocabulary 0.6.0 (elody-ui.ttl), its meta-shapes (elody-ui.shapes.ttl) and the generator's bindings. Edit the ontology, not this page.
The preview of an entity in a list: its layout and columns.
Each section is one kind of node: the terms it may carry, the type of each value, how many values it takes and what it means. "unchecked" marks a term the vocabulary defines on this kind of node that the meta-shapes do not constrain yet. "Used by" counts the client declarations that use the term.
Preview
elody:Preview: How a type is previewed from a list (previewComponent, the previewFor<X> fragment the platform's getPreviewComponents spreads): its kind, how many list items it covers, its title, whether it opens by default, and the layouts it loads.
Declared under elody:preview of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:previewKind | an elody:PreviewKind value | exactly one | The kind of preview (type). | 5 of 8 |
elody:coverage | an elody:ListItemCoverage value | exactly one | How many list items the preview covers (listItemsCoverage). | 5 of 8 |
elody:labelKey | xsd:string | at most one | The Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes). | 8 of 8 |
elody:fragmentName | xsd:string | at most one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). the fragment's own name when it is not previewFor<X> (previewForMediafile on MediaFileEntity) | 5 of 8 |
elody:openByDefault | xsd:boolean | at most one | Whether the preview opens by default (openByDefault). | 4 of 8 |
elody:showCurrentPreviewFlow | xsd:boolean | at most one | Whether the preview shows the current preview flow (showCurrentPreviewFlow). | — |
elody:keepLastActiveItemHighlighted | xsd:boolean | at most one | Whether the list keeps the last previewed item highlighted (previewConfiguration keepLastActiveItemHighlighted). | 2 of 8 |
elody:displayOpenDetailPageButton | xsd:boolean | at most one | Whether the preview offers a button opening the detail page (previewConfiguration displayOpenDetailPageButton). | 2 of 8 |
elody:previewLayout | a Preview Layout node | at most one | The layout the preview loads (previewQuery). | 5 of 8 |
elody:metadataPreviewLayout | a Preview Layout node | at most one | The layout of metadata the preview shows next to the item (metadataPreviewQuery). | 4 of 8 |
Preview Layout
elody:PreviewLayout: A document of elements the preview loads (PreviewElement: a column of elements, like the detail layout), named by elody:queryName (GetPreviewInX, GetMetadataPreviewForX).
Declared under elody:previewLayout of Preview, elody:metadataPreviewLayout of Preview.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:queryName | xsd:string | exactly one | The GraphQL operation name of a form, flow, picker, custom bulk operation set or form source. Optional: the generator derives it from the node's local name when absent (R3). | 8 of 8 |
elody:column | a Column node | any number | A column of the page. | 8 of 8 |