Cognitive Load With Stats (Next)
Shows one card per role. Each card has an average cognitive load gauge, a row of stat tiles and a button that opens that role’s session. Layout holds the labels, gauge colour bands and tile definitions, and a value channel holds the scores, stat values and session ids.
Summary
| Value | |
|---|---|
| Layout id | CognitiveLoadWithStats |
| Widget config | cognitiveLoadWithStatsItem |
| Channel shape | value |
Migration status
migrated, reference: tools/arbex/reference/next/CognitiveLoadWithStats.json. See Dataservice migration status.
Layout
| Field | Description |
|---|---|
channels | One value channel per widget instance |
titleContent | Widget title (cards carry their own role heading, so shouldRenderTitle is usually false) |
cognitiveLoadWithStatsItem.cards[] | One card per role, in display order, matched by id to the channel |
cards[].role | Card heading and button label (View {Role} Metrics) |
cards[].name | Optional person label next to the heading. No email is shown |
cards[].gaugeSubtitle | Caption under the gauge. Default Avg. Cognitive Load |
cards[].legend[] | text, color, code, min, max. Score bands from 0 to 21; the band holding the score sets the gauge colour |
cards[].stats[] | id, title, unit. Tiles in display order, matched by id to the channel |
Does not support dual column or playback.
Data contract
| Shape | Payload |
|---|---|
value | data.value is { cards }. Each card has an id, an optional dimensionId, score, scoreClass and stats[] of id and value. |
The button opens /sessions/{dimensionId} for the card in a new browser tab. With no dimensionId the button does nothing. Values arrive as a capture progresses: a card with no score and no stat values is skipped, a tile with no value is skipped, and with no card values the widget shows its empty state. Keep email addresses and other personal data out of the payload.
Example
CognitiveLoadWithStats.json. RAG: tools/arbex/rag/reference/components/CognitiveLoadWithStats.md.
Related
- Next components index
- Dataservice migration status
- RAG:
tools/arbex/rag/reference/components/CognitiveLoadWithStats.md