fix(tradein/ux): honest source list — drop dead domklik/restate, remove fake per-source median (#1968) #1980

Merged
lekss361 merged 1 commit from feat/tradein-honesty-sources into main 2026-06-27 11:04:00 +00:00
Owner

Summary

Honesty-fix the Мера aggregation UI (B2B trust — per strategic audit 0627 + #1871). Removes the "7 sources" half-truth and the fake per-source attribution.

  • SourcesProgress.tsx: drop the dead domklik (QRATOR-dead, #1846) and restate (never implemented) rows — they always rendered idle/loading, never in sources_used. Real set now = Циан, Авито, Яндекс, N1 + Росреестр (5 rows). Header {doneCount}/{totalCount} now honestly reads "/ 5".
  • Remove the vestigial fake per-source median (was set to the aggregate median_price_rub on every done source — misleading "independent convergence"; not even rendered) + the now-unused formatMln.
  • page.tsx: hero "Агрегируем данные из 7 источников…" → "Агрегируем 4 источника объявлений (Авито, Циан, Яндекс, N1) и реальные сделки Росреестра."; footer synced → "Avito + Cian + Yandex + N1 + Росреестр". Hero = footer = card.
  • Status logic untouched — already driven by real estimate.sources_used / countBySource / actual_deals; a no-contribution source honestly shows "нет данных" (DoD pt 3 satisfied, no backend change).

N1 kept (real source, 377 listings — hiding a contributing source would be the opposite of honest). The DoD's "4" reads as the 4 listing sources; Росреестр is the deals layer.

Test plan

  • tsc --noEmit clean; grep confirms zero leftover domklik/restate/median/formatMln refs.
  • Post-deploy: run an estimate → aggregation card shows 5 real rows, no ДомКлик/Restate, honest per-source lot counts; hero/footer consistent.

Closes #1968.

## Summary Honesty-fix the Мера aggregation UI (B2B trust — per strategic audit 0627 + #1871). Removes the "7 sources" half-truth and the fake per-source attribution. - **`SourcesProgress.tsx`**: drop the dead `domklik` (QRATOR-dead, #1846) and `restate` (never implemented) rows — they always rendered idle/loading, never in `sources_used`. Real set now = **Циан, Авито, Яндекс, N1 + Росреестр** (5 rows). Header `{doneCount}/{totalCount}` now honestly reads "/ 5". - Remove the vestigial **fake per-source `median`** (was set to the aggregate `median_price_rub` on every done source — misleading "independent convergence"; not even rendered) + the now-unused `formatMln`. - **`page.tsx`**: hero "Агрегируем данные из 7 источников…" → "Агрегируем 4 источника объявлений (Авито, Циан, Яндекс, N1) и реальные сделки Росреестра."; footer synced → "Avito + Cian + Yandex + N1 + Росреестр". Hero = footer = card. - Status logic untouched — already driven by real `estimate.sources_used` / `countBySource` / `actual_deals`; a no-contribution source honestly shows "нет данных" (DoD pt 3 satisfied, no backend change). N1 kept (real source, 377 listings — hiding a contributing source would be the opposite of honest). The DoD's "4" reads as the 4 listing sources; Росреестр is the deals layer. ## Test plan - [x] `tsc --noEmit` clean; grep confirms zero leftover `domklik`/`restate`/`median`/`formatMln` refs. - [ ] Post-deploy: run an estimate → aggregation card shows 5 real rows, no ДомКлик/Restate, honest per-source lot counts; hero/footer consistent. Closes #1968.
lekss361 added 1 commit 2026-06-27 10:59:50 +00:00
fix(tradein/ux): honest source list — drop dead domklik/restate, remove fake per-source median, sync hero/footer/card (#1968)
All checks were successful
CI / changes (pull_request) Successful in 7s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
f1b8ae47a2
lekss361 added the
scope/frontend
tradein
ux
labels 2026-06-27 11:00:16 +00:00
lekss361 merged commit efdf11d10f into main 2026-06-27 11:04:00 +00:00
lekss361 deleted branch feat/tradein-honesty-sources 2026-06-27 11:04:00 +00:00
Sign in to join this conversation.
No reviewers
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#1980
No description provided.