|
|
e23dabe4f5
|
fix(tradein/v2): wire РАДИУС (backend radius_m) + map +/- zoom + building image + deglue word+word
CI / changes (pull_request) Successful in 7s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
Live-browser audit (round 2): РАДИУС/+- dead, building photo missing.
- РАДИУС: backend BE-2 — optional radius_m (int 100–5000) on TradeInEstimateInput,
threaded into estimate_quality comp search (base + fallback). None preserves the
exact two-tier default (1000m primary / 2000m fallback) byte-identically. FE: РАДИУС
dropdown with **Авто** default (sends no radius_m → legacy behaviour, NOT a silent
500m narrowing) + 300/500/1000/2000 overrides; included as radius_m on submit; outer
map ring tracks the value.
- Map +/− buttons: now a real zoom (transform: scale() on the map content layer, step
.25, clamp .6–2.5); controls/bracket stay unscaled.
- building.png: next/image didn't apply basePath → 400; switched to plain <img> with
NEXT_PUBLIC_BASE_PATH-prefixed src (→ 200) + onError fallback. HERO АДРЕС card шоу.
- deglueAddr: also splits word+word glue ('БольшаковаГеологическая'→'Большакова
Геологическая'), still preserves house letters (14А, д.5К).
next build green (/v2 34.3 kB); estimator None-default byte-identical (ge=100 rules out
falsy-0); code-reviewer ✅ after the Авто-default fix (avoided a default-radius regression).
|
2026-06-28 18:03:07 +03:00 |
|