feat(tradein): StreetDealsCard с paired listings (PR L, #564 Phase 2) #599
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#599
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tradein-street-deals-with-asks"
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
Frontend extension к PR K (#597). StreetDealsCard теперь показывает для каждой ДКП-сделки исторический ASK (avito/cian/yandex/n1) с discount_pct и days_listing_to_deal.
Что нового
safeUrl()для listing URLsFiles (+340 / -41)
types/trade-in.ts(+42) — SalesListingPair + SalesVsListingsResponselib/trade-in-api.ts(+29) — useSalesVsListings TanStack hook, staleTime 10mcomponents/trade-in/StreetDealsCard.tsx(+231/-41) — endpoint switch + listing column + aggregate client-sidecomponents/trade-in/trade-in.css(+79) — token-based stylesVerified
var(--token)— no inline hexOpen Q (followup)
useStreetDealshook (старый) теперь dead code — cleanup PR может удалитьCloses #564 Phase 2.