Skip to main content

CnActivityCard

The activity integration's widget, by surface: a count and the latest event on a dashboard, a compact day-grouped feed on a detail page, a chip for a single event. The full merged feed (kind chips, the reads toggle, a date range, export) is CnActivityTab, which the integration also registers as its expanded widget (widgetExpanded), so a detail page that mounts it can drop its separate audit and version tabs.

Props​

PropTypeDefaultDescription
showVisibilityBooleanfalseShow a visibility chip on each row of the detail-page feed.
integrationIdString'activity'Stable integration id.
registerStringrequiredOpenRegister register id.
schemaStringrequiredOpenRegister schema id.
objectIdStringrequiredParent object id.
surfaceString'detail-page'Rendering surface.
valueString, Number''A single event id, for the single-entity surface.
titleString"Activity"Pre-translated card title.
iconObjectTimeline iconMaterial Design Icon component.
apiBaseString/apps/openregister/apiBase API URL.
collapsibleBooleantrueWhether the card body is collapsible.
pageSizeNumber12Compact-feed page size.

Slots​

None.