feat(tradein-ui): placement history card #529

Merged
lekss361 merged 1 commit from feat/tradein-ui-placement-history-card into main 2026-05-24 14:22:17 +00:00

1 commit

Author SHA1 Message Date
lekss361
11b242d4b3 feat(tradein-ui): placement history card
New /estimate/{id}/placement-history endpoint surfaces historical lots
from house_placement_history for the target house (linked after PR #527
bootstrap). Card hidden when no data.

- PlacementHistoryItem type added to trade-in.ts
- useEstimatePlacementHistory hook added to trade-in-api.ts
- PlacementHistoryCard component uses TanStack Query (no raw fetch)
- Wired into page.tsx after HouseInfoCard
2026-05-24 17:15:44 +03:00