trade-in/v2 [FE-2]: overlay «История / Продажи в доме» (HistoryView) #2039

Closed
opened 2026-06-28 11:04:46 +00:00 by lekss361 · 0 comments
Owner

Под-issue #2036. dependsOn: FE-1 (mappers + page shell).

Wire HistoryView через мапперы:

  • houseSales[]useEstimatePlacementHistory (title/rooms/area_m2/floor, start_price→last_price, last_price_date, exposure_days).
  • ДКП KPI + header note ← useStreetDeals (street/count/median_price_per_m2/range) + useSalesVsListings (linkage_rate_pct, median_discount_pct, period_months).
  • dkpRows[]useSalesVsListings.pairs[] (deal_area_m2/deal_price_rub/deal_price_per_m2, listing_price_rub, days_listing_to_deal, discount_pct). listing_* nullable → прочерк (~22% без match). Реальные listing_source/deal_address/deal_date (сейчас захардкожены в JSX) → в shape строки. Цвет delta = sign(discount_pct).

Acceptance: overlay «Продажи в доме» рендерит реальные строки/KPI; next build зелёный. Формат денег /1e6 ru, даты ISO→DD.MM.YYYY.

Под-issue #2036. dependsOn: FE-1 (mappers + page shell). Wire `HistoryView` через мапперы: - `houseSales[]` ← `useEstimatePlacementHistory` (`title/rooms/area_m2/floor`, `start_price→last_price`, `last_price_date`, `exposure_days`). - ДКП KPI + header note ← `useStreetDeals` (`street/count/median_price_per_m2/range`) + `useSalesVsListings` (`linkage_rate_pct`, `median_discount_pct`, `period_months`). - `dkpRows[]` ← `useSalesVsListings.pairs[]` (`deal_area_m2/deal_price_rub/deal_price_per_m2`, `listing_price_rub`, `days_listing_to_deal`, `discount_pct`). `listing_*` nullable → прочерк (~22% без match). Реальные `listing_source/deal_address/deal_date` (сейчас захардкожены в JSX) → в shape строки. Цвет delta = sign(`discount_pct`). Acceptance: overlay «Продажи в доме» рендерит реальные строки/KPI; `next build` зелёный. Формат денег `/1e6` ru, даты ISO→DD.MM.YYYY.
lekss361 added the
enhancement
scope/frontend
tradein
labels 2026-06-28 11:06:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#2039
No description provided.