feat(tradein): dual-display asking vs expected-sold in HeroSummary (#648 S5a) #664

Merged
Light1YT merged 1 commit from feat/648-s5a-frontend-dual-display into main 2026-05-29 14:00:49 +00:00
Owner

Stage 5a of #648 — estimate hero shows BOTH «Ориентир запроса» (asking) and «Ожидаемая цена продажи» (expected sold) at EQUAL weight (Anton: «обе равнозначно»), with −N% discount chip + explainer. Graceful single-figure fallback when expected_sold null. Tokens-only, responsive, a11y. code-reviewer (equal-weight confirmed; div-by-zero provably unreachable via cross-layer invariant; graceful guards robust). tsc clean + build passes. Refs #648 (S5a/5).

Stage 5a of #648 — estimate hero shows BOTH «Ориентир запроса» (asking) and «Ожидаемая цена продажи» (expected sold) at EQUAL weight (Anton: «обе равнозначно»), with −N% discount chip + explainer. Graceful single-figure fallback when expected_sold null. Tokens-only, responsive, a11y. code-reviewer ✅ (equal-weight confirmed; div-by-zero provably unreachable via cross-layer invariant; graceful guards robust). tsc clean + build passes. Refs #648 (S5a/5).
Light1YT added 1 commit 2026-05-29 14:00:48 +00:00
Show «Ориентир запроса» (asking median) and «Ожидаемая цена продажи»
(expected sold, S3 rosreestr ДКП) as two EQUAL-weight figures (same value
typography; sold card gets a subtle accent tint only), each with range +
₽/м², plus a tasteful −N% discount chip (aria-labelled, Unicode minus) and
an explainer. Graceful: expected_sold null/0 (old estimates / empty ratio
table) → single asking figure, no empty card/rows. Tokens-only CSS, responsive.

tsc --noEmit clean (TS strict); npm run build passes.
Light1YT merged commit 7d749f4080 into main 2026-05-29 14:00:49 +00:00
Light1YT deleted branch feat/648-s5a-frontend-dual-display 2026-05-29 14:00:50 +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#664
No description provided.