diff --git a/tradein-mvp/frontend/src/components/trade-in/PriceTrendCard.tsx b/tradein-mvp/frontend/src/components/trade-in/PriceTrendCard.tsx index 63ccf090..9d30f3d8 100644 --- a/tradein-mvp/frontend/src/components/trade-in/PriceTrendCard.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/PriceTrendCard.tsx @@ -65,7 +65,9 @@ export function PriceTrendCard({ estimate }: Props) {
За {data.length} мес.
-
+ {/* #834 a11y: viz-палитра (--viz-3 #36a558 3.14:1 / --accent-2) — bar-цвета, + на белом тексте не проходят AA. Семантические токены: success/danger ≥4.9:1. */} +
{up ? "▲" : "▼"} {Math.abs(changePct).toFixed(1)}%
diff --git a/tradein-mvp/frontend/src/components/trade-in/SellTimeSensitivity.tsx b/tradein-mvp/frontend/src/components/trade-in/SellTimeSensitivity.tsx index aa7e1fa3..fc57a1af 100644 --- a/tradein-mvp/frontend/src/components/trade-in/SellTimeSensitivity.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/SellTimeSensitivity.tsx @@ -41,11 +41,11 @@ function BucketCard({ bucket }: { bucket: SellTimeBucket }) { {hasData ? `~${bucket.median_exposure_days} дн.` : "—"} {hasData && bucket.p25_days != null && bucket.p75_days != null && ( -
+
обычно {bucket.p25_days}–{bucket.p75_days} дн.
)} -
+
{bucket.n_lots > 0 ? `${bucket.n_lots} аналог${bucket.n_lots === 1 ? "" : bucket.n_lots < 5 ? "а" : "ов"}` : "нет данных"}