RecognitionScore (Next)
A recognition scoring summary: metric cards (for example an overall score and a total time) beside linear progress rows, one per group. The layout owns the labels, units and order. A generic value channel owns the numbers.
Summary
| Value | |
|---|---|
| Layout id | RecognitionScore |
| Widget config | recognitionScoreItem |
| Channel shape | value |
Migration status
migrated, reference: tools/arbex/reference/next/RecognitionScore.json (two metric cards and eight progress rows). See Dataservice migration status.
Layout
| Field | Description |
|---|---|
channels | One value channel per widget instance |
titleContent | Panel title |
recognitionScoreItem.metrics[] | Metric cards in display order: id, title, optional unit |
recognitionScoreItem.groups[] | Progress rows in display order: id, title |
recognitionScoreItem.minHeight | CSS length for the metrics and scoring area |
A layout entry whose id has no value in the channel is skipped, so a partly filled channel still renders. Does not support dual column.
Data contract
| Shape | Payload |
|---|---|
value | { metrics?: [{ id, result, checkResult? }], groups?: [{ id, value, score, score2? }] } |
result is a number (rounded for display) or a string (shown as it is). value is the bar percentage, 0 to 100.
Example
RecognitionScore.json. RAG: tools/arbex/rag/reference/components/RecognitionScore.md.
Related
- Next components index
- Dataservice migration status
- RAG:
tools/arbex/rag/reference/components/RecognitionScore.md
Opens your browser's print dialog. Choose "Save as PDF" as the destination.