feat(tradein/ui): manual-review banner + premium-building badge on estimate (#2002) #2022
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#2022
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tradein-manual-review-ui"
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
Surfaces the new estimate signals (shipped backend: #2019 manual-review, #2021 premium curation) in the trade-in estimate result UI. Additive only — +166 lines, 0 deletions,
tsc --noEmitclean.HeroSummary.tsx): whenmanual_review_recommended, an amberrole="note"card above the headline — "Рекомендуется ручная оценка" +manual_review_reasonsas bullets. Reuses the existing mock-address-disclaimer amber tokens (--accent-2), no new colors.premium_building, a brand-accent badge under the address labelled bypremium_building_class("Элит" / "Премиум" / "Бизнес-класс", capitalized) or "Премиальный дом" fallback. Reusesprecision-badgeshape.types/trade-in.ts): +5 optional fields. Preview fixture (ui-preview/estimate/fixture.ts): both states set so they render at/ui-preview/estimate.Test plan
npx tsc --noEmitclean (the real type gate)next buildexceeded 6 min on Windows, aborted) → will eyeball the live/ui-preview/estimatepost-deploynext lintnot runnable); the Docker build is the deploy-time gateNotes
next lintis unavailable (no flat-config ESLint in repo) — pre-existing; the Dockerfilenext buildis the gate. Code follows repo prettier conventions (pre-commit prettier ran clean).Refs #2002