Surface the product-score + special-index breakdown behind the overall KPI as two token-bar groups in Section 6 (6.5), sidebar anchor section-6-5. Product scores use a 0..1 quality gradient anchored on the documented 0.5 balance point (>=0.55 strong / 0.45-0.55 mid / <0.45 weak; risk scores are pre-inverted so higher=better); special indices use a neutral accent (value = signal strength, direction non-uniform). Null values render as «нет данных», never a 0-bar that implies a real zero. Graceful on absent/partial/202-pending. - types/forecast.ts: ReportScoring + nested (dict-keyed scores/indices) - ForecastScoringBlock.tsx: two bar groups, a11y, null-distinct rendering - forecast-helpers.ts: scoreVariant/scoreBarWidthPct + RU label maps - Section6Forecast + sidebar nav: wire 6.5 Part of #958. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| types | ||
| instrumentation.ts | ||