Merge pull request 'fix(tradein/v2): источники N1+Restate вон, Домклик в текст; disabled-палитра до AA (#2081 follow-up)' (#2091) from fix/tradein-v2-audit-round2b into main
All checks were successful
Deploy Trade-In / changes (push) Successful in 10s
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 1m48s
Deploy Trade-In / deploy (push) Successful in 50s
All checks were successful
Deploy Trade-In / changes (push) Successful in 10s
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 1m48s
Deploy Trade-In / deploy (push) Successful in 50s
This commit is contained in:
commit
4863e67f27
3 changed files with 9 additions and 7 deletions
|
|
@ -271,7 +271,7 @@ export function LocationDrawer({ open, onClose }: LocationDrawerProps) {
|
|||
color: tokens.body2,
|
||||
}}
|
||||
>
|
||||
Агрегируем объявления (Циан, Я.Недвижимость, Авито, N1.ru) и сделки
|
||||
Агрегируем объявления (Циан, Я.Недвижимость, Авито, Домклик) и сделки
|
||||
Росреестра по сопоставимым квартирам. Медиана{" "}
|
||||
<b style={{ color: tokens.ink2 }}>₽/м²</b> → 3 оценки:{" "}
|
||||
<b style={{ color: tokens.ink2 }}>
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ import type {
|
|||
} from "./types";
|
||||
import { tokens } from "./tokens";
|
||||
|
||||
// Total number of source slots in the design (ЦИАН … N1.RU) — meta "N / 7".
|
||||
const TOTAL_SOURCES = 7;
|
||||
// Total number of source slots — meta "N / M". Single source of truth is
|
||||
// SOURCE_SLOTS.length (defined with the array below as TOTAL_SOURCES).
|
||||
|
||||
// ── Composite presentation shapes consumed by the wired components ──────────
|
||||
// One `data` prop per component; each field keeps its exact ./types shape.
|
||||
|
|
@ -479,9 +479,11 @@ const SOURCE_SLOTS: ReadonlyArray<{ name: string; keys: string[] }> = [
|
|||
{ name: "РОСРЕЕСТР", keys: ["rosreestr"] },
|
||||
{ name: "АВИТО", keys: ["avito", "avito_imv"] },
|
||||
{ name: "ДОМКЛИК", keys: ["domklik", "domclick"] },
|
||||
{ name: "RESTATE", keys: ["restate"] },
|
||||
{ name: "N1.RU", keys: ["n1", "n1ru"] },
|
||||
];
|
||||
// #2081 round2: N1.RU + RESTATE dropped — мёртвые (всегда «нет данных», не
|
||||
// учитываем); Домклик оставлен (живой источник, реально даёт лоты). TOTAL_SOURCES
|
||||
// = единый счётчик «N / M», чтобы плитки, счётчик и текст не расходились.
|
||||
const TOTAL_SOURCES = SOURCE_SLOTS.length;
|
||||
|
||||
function buildSources(e: AggregatedEstimate): SourceCard[] {
|
||||
const counts = new Map<string, number>();
|
||||
|
|
|
|||
|
|
@ -78,8 +78,8 @@ export const tokens = {
|
|||
|
||||
// Disabled / no-data source card (02 RESULT · inactive source tile, design lines 366-384)
|
||||
disabledBorder: "#d8e2ec", // inactive source card edge
|
||||
disabledValue: "#c2cdd9", // greyed-out "—" count value
|
||||
disabledLabel: "#aab7c5", // greyed-out "нет данных" caption
|
||||
disabledValue: "#656b71", // 4.61:1 — "—" no-data value (#2081 C1: was #c2cdd9 1.4:1)
|
||||
disabledLabel: "#636b73", // 4.62:1 — "нет данных" caption (#2081 C1: was #aab7c5 1.7:1)
|
||||
|
||||
// Accent glow (range-marker dot halo, design lines 303/341)
|
||||
accentGlow: "rgba(46,139,255,.5)",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue