From ca0a51c876f3cae81bdfde872e0e7cbe6c8123dd Mon Sep 17 00:00:00 2001 From: bot-backend Date: Fri, 3 Jul 2026 10:16:53 +0300 Subject: [PATCH] =?UTF-8?q?chore(tradein/ui):=20=D0=B2=D1=8B=D1=87=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=B8=D1=82=D1=8C=20=D0=B8=D1=81=D1=82=D0=BE=D1=87?= =?UTF-8?q?=D0=BD=D0=B8=D0=BA=20n1=20=D0=B8=D0=B7=20source-registry=20?= =?UTF-8?q?=D0=B8=20UI=20(#2204)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tradein-mvp/frontend/src/app/page.tsx | 4 +- .../components/trade-in/SourcesProgress.tsx | 6 +-- .../components/trade-in/StreetDealsCard.tsx | 2 +- .../src/components/trade-in/saleShareUtils.ts | 3 +- .../src/components/trade-in/trade-in.css | 3 +- .../src/components/trade-in/v2/fixtures.ts | 1 - .../src/components/trade-in/v2/mappers.ts | 8 ++-- .../frontend/src/lib/source-registry.ts | 45 +++++++++---------- tradein-mvp/frontend/src/types/trade-in.ts | 2 +- 9 files changed, 36 insertions(+), 38 deletions(-) diff --git a/tradein-mvp/frontend/src/app/page.tsx b/tradein-mvp/frontend/src/app/page.tsx index db49b22d..125466c3 100644 --- a/tradein-mvp/frontend/src/app/page.tsx +++ b/tradein-mvp/frontend/src/app/page.tsx @@ -39,7 +39,7 @@ import { useBrand, useActiveBrandSlug } from "@/lib/useBrand"; import { LIVE_LISTING_SOURCES } from "@/lib/source-registry"; // #2211 находка 7: список источников объявлений выводится из source-registry -// (n1 деактивирован #2204 → его тут больше нет), а не хардкодится «4 источника (…N1)». +// (источник n1 полностью выключен #2204 → его тут больше нет), а не хардкодится числом. const LISTING_SOURCE_NAMES = LIVE_LISTING_SOURCES.map((s) => s.label).join(", "); function useEstimateId() { @@ -348,7 +348,7 @@ export default function TradeInPage() {