feat(tradein/frontend): pass suggest fias_id as target_fias_id in estimate request #2186
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2186
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tradein-fias-estimate-frontend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Фронт-половина контракта из #2184: выбранный в адресном автокомплите house-level кандидат несёт
fias_id→ estimate-запрос отправляетtarget_fias_id→ backend матчит дом детерминированно (Tier 0.5fias_exact), без DaData clean-вызова и квоты.types/trade-in.ts:TradeInEstimateInput.target_fias_id,GeocodeSuggestion.fias_idAddressInput.tsx: пропonPickFias(по образцуonPickCoords), сброс при ручной правке текстаEstimateForm.tsx(legacy/): state fias рядом с coords; сброс при выборе точки на MapPicker; в payload только когда non-nullv2/ParamsPanel.tsx(v2): set вpickSuggestion, сброс вhandleAddressChangeИнвалидация stale-fias: программный выбор подсказки не триггерит reset-путь (onChange-проп, не DOM), ручной набор — триггерит; пин карты чистит fias в legacy; в v2 MapPicker отсутствует.
Test plan
tsc --noEmitexit 0^frontend/, tradein-mvp не энфорсится)target_fias_idв network-запросе; ручная правка/пин → поле nullСвязано: #2184 (backend-контракт, merged).