Results (Next)
Shows per-group results: optional metric cards, then a table of selected versus correct answers, with a dropdown to switch group. Layout holds the labels and a value channel holds the values.
Summary
| Value | |
|---|---|
| Layout id | Results |
| Widget config | resultsItem |
| Channel shape | value |
Migration status
migrated, reference: tools/arbex/reference/next/Results.json. See Dataservice migration status.
Layout
| Field | Description |
|---|---|
channels | One value channel per widget instance |
titleContent | Widget title shown in the header (use with shouldRenderTitle: true) |
resultsItem.tableHeaders | Answers table column headers, in order |
resultsItem.hasLeftColumn | Show the left column of row labels (default false) |
resultsItem.showQuestionIcons | Correct, partial and incorrect icons (default true) |
resultsItem.showSubTitle | Selected group label under the title (default true) |
resultsItem.filterIcon | Icon name for the group dropdown |
resultsItem.metricCards[] | id, title, optional unit; values matched by id |
Does not support dual column.
Data contract
| Shape | Payload |
|---|---|
value | data.value is { groups, leftColumn? }. Each group has a unique title, optional metrics[] (id, result) and answers[] (UserAnswer, CorrectAnswer, Status of Green, Amber or Red). |
Groups and answers can be added as a capture progresses. With no groups the widget shows its empty state.
Example
Results.json. RAG: tools/arbex/rag/reference/components/Results.md.
Related
- Next components index
- Dataservice migration status
- RAG:
tools/arbex/rag/reference/components/Results.md
Opens your browser's print dialog. Choose "Save as PDF" as the destination.