КОМНАТ
@@ -960,7 +992,7 @@ export default function ParamsPanel({
@@ -1067,13 +1099,13 @@ export default function ParamsPanel({
setBalcony(false)}
- style={{ ...balBase, ...(balcony ? balOff : balOn) }}
+ style={{ ...balBase, ...(balcony === false ? balOn : balOff) }}
>
НЕТ
setBalcony(true)}
- style={{ ...balBase, ...(balcony ? balOn : balOff) }}
+ style={{ ...balBase, ...(balcony === true ? balOn : balOff) }}
>
ДА
@@ -1152,10 +1184,11 @@ export default function ParamsPanel({
- {/* inline error (validation or server) — only when present */}
- {(validationError || error) && (
+ {/* inline SERVER error — only when present (field-level validation is
+ surfaced at each field above). */}
+ {error && (
- {validationError ?? error}
+ {error}
)}
@@ -1172,7 +1205,7 @@ export default function ParamsPanel({
color: tokens.muted2,
}}
>
-
КЭШ ПО АДРЕСУ — 24 Ч
+
ДАННЫЕ АКТУАЛЬНЫ
- ГОТОВ
+ ДЕЙСТВИТЕЛЕН 24 Ч
diff --git a/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx b/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx
index a5777628..227d691c 100644
--- a/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx
+++ b/tradein-mvp/frontend/src/components/trade-in/v2/ResultPanel.tsx
@@ -13,8 +13,6 @@ import type { ResultPanelData } from "./mappers";
const {
accent,
- onAccent,
- accentGlow,
ink,
muted,
muted2,
@@ -194,7 +192,7 @@ export default function ResultPanel({
style={{
fontFamily: font.mono,
fontSize: 38,
- fontWeight: 300,
+ fontWeight: 400,
letterSpacing: -1,
}}
>
@@ -455,12 +453,10 @@ export default function ResultPanel({
left: data.ranges.ads.marker.dotLeft,
top: "50%",
transform: "translate(-50%,-50%)",
- width: 13,
- height: 13,
- borderRadius: "50%",
- background: onAccent,
- border: `3px solid ${accent}`,
- boxShadow: `0 0 8px ${accentGlow}`,
+ width: 3,
+ height: 16,
+ borderRadius: 1,
+ background: accent,
}}
/>
@@ -704,12 +700,10 @@ export default function ResultPanel({
left: data.ranges.deals.marker.dotLeft,
top: "50%",
transform: "translate(-50%,-50%)",
- width: 13,
- height: 13,
- borderRadius: "50%",
- background: onAccent,
- border: `3px solid ${accent}`,
- boxShadow: `0 0 8px ${accentGlow}`,
+ width: 3,
+ height: 16,
+ borderRadius: 1,
+ background: accent,
}}
/>
diff --git a/tradein-mvp/frontend/src/components/trade-in/v2/SourcesView.tsx b/tradein-mvp/frontend/src/components/trade-in/v2/SourcesView.tsx
index 618ea259..c48b608e 100644
--- a/tradein-mvp/frontend/src/components/trade-in/v2/SourcesView.tsx
+++ b/tradein-mvp/frontend/src/components/trade-in/v2/SourcesView.tsx
@@ -16,8 +16,8 @@ import type { SourcesData } from "./mappers";
const KPI_BG = "rgba(238,244,250,.5)";
const BADGE_BG = "#eaf1f8";
-const AD_GRID = "2.4fr 1fr 1fr 1.2fr .7fr 1fr";
-const DEAL_GRID = "2.6fr 1.2fr 1fr 1.2fr 1fr";
+const AD_GRID = "1.9fr 1.3fr 1fr 1fr 1.1fr .6fr .9fr";
+const DEAL_GRID = "2fr 1.3fr 1.2fr 1fr 1.1fr 1fr";
const card: CSSProperties = {
background: tokens.surface.w55,
@@ -267,6 +267,7 @@ export default function SourcesView({
}}
>