Skip to content

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.

TermTypeHow manyMeaningUsed by
elody:previewKindan elody:PreviewKind valueexactly oneThe kind of preview (type).5 of 8
elody:coveragean elody:ListItemCoverage valueexactly oneHow many list items the preview covers (listItemsCoverage).5 of 8
elody:labelKeyxsd:stringat most oneThe 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:fragmentNamexsd:stringat most oneThe 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:openByDefaultxsd:booleanat most oneWhether the preview opens by default (openByDefault).4 of 8
elody:showCurrentPreviewFlowxsd:booleanat most oneWhether the preview shows the current preview flow (showCurrentPreviewFlow).—
elody:keepLastActiveItemHighlightedxsd:booleanat most oneWhether the list keeps the last previewed item highlighted (previewConfiguration keepLastActiveItemHighlighted).2 of 8
elody:displayOpenDetailPageButtonxsd:booleanat most oneWhether the preview offers a button opening the detail page (previewConfiguration displayOpenDetailPageButton).2 of 8
elody:previewLayouta Preview Layout nodeat most oneThe layout the preview loads (previewQuery).5 of 8
elody:metadataPreviewLayouta Preview Layout nodeat most oneThe 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.

TermTypeHow manyMeaningUsed by
elody:queryNamexsd:stringexactly oneThe 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:columna Column nodeany numberA column of the page.8 of 8

Powered by Elody - Open Source Semantic Data Platform