Coach hero
canonReport header „Jak na tom jsi“: one sentence, metric blocks with goal, improvement from → to, what to work on; with GoalRing for the monthly goal.
acrm !4412 + !4413 (Reporty › Koučink, owner approved 1. 10. 2026), verified on dev 2. 10. 2026 (1440 light/dark + 390). Colour = --goal-in / --goal-in-ink / --goal-in-subtle (vivid green, owner rejected faded --positive here) vs --ic-amber; motion only under prefers-reduced-motion: no-preference. App-level next to Spark; before canon: stories (States: in band / out / no goal / no data), usage + a11y, and a decision whether it moves to packages/ui. 2. 10. 2026: beta — usage/a11y written, states reviewed by AD on the preview (koucink-stavy.html). Canon 2. 10. 2026: stories + light/dark baselines merged in !4422, AD-verified in the catalogue. Registry repaired 17 Oct 2026 (review F3): mapped existing Ladle stories.
Used in 1 file · 1 area · 2× — components/sales-reports
Header of the coaching report „Jak na tom jsi“ and the monthly goal ring. React CoachHero, GoalRing (apps/web/src/components/sales-reports/CoachHero.tsx), CSS coach-report.css.
Anatomy
- Sentence „x ze y návyků máš v doporučení“; labelled blocks only for metrics that have a recommendation and a current value (with goal under the value).
- „Zlepšení“ shows the same pair of numbers its tone is computed from: first measured week → median of the window. „Ještě zapracuj na“ lists metrics out of band; when everything is in band it is replaced by one line of praise.
- Not drawn when no metric has both a recommendation and a value.
- GoalRing: goal fulfilment in %, starts at 12 o'clock; 100 %
--goal-in, on the way--accent, 0 % andnullwithout an arc (nullshows „—“).