From 28b853bcdfeddbe7d55bfcb7be44590bad7b572c Mon Sep 17 00:00:00 2001 From: Light1YT Date: Sun, 21 Jun 2026 04:09:36 +0500 Subject: [PATCH] =?UTF-8?q?feat(ptica):=20add=20=D0=92=D0=A0=D0=98=20row?= =?UTF-8?q?=20to=20=D0=93=D1=80=D0=B0=D0=B4=D0=BE=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D1=81=D1=82=D0=B2=D0=BE=20(real?= =?UTF-8?q?=20=D0=95=D0=93=D0=A0=D0=9D=20permitted=5Fuse)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prototype's first ГРАДОСТРОИТЕЛЬСТВО row is ВРИ — prod lacked it. Add it from the real egrn.permitted_use_text (e.g. «многоквартирные дома»); honest «нет данных ЕГРН» fallback. Value wraps cleanly in the narrow card (verified, no overflow). --- frontend/src/components/site-finder/ptica/ptica-adapt.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/components/site-finder/ptica/ptica-adapt.ts b/frontend/src/components/site-finder/ptica/ptica-adapt.ts index c639dd65..1e0d9bd0 100644 --- a/frontend/src/components/site-finder/ptica/ptica-adapt.ts +++ b/frontend/src/components/site-finder/ptica/ptica-adapt.ts @@ -384,6 +384,14 @@ export function adaptUrbanCard(a: ParcelAnalysis): PticaScanCard { return { title: "Градостроительство", rows: [ + { + // ВРИ (вид разрешённого использования) — real from ЕГРН, matches the + // prototype's first ГРАДОСТРОИТЕЛЬСТВО row. + key: "ВРИ", + field: a.egrn?.permitted_use_text + ? { value: a.egrn.permitted_use_text, isReal: true, caption: "ЕГРН" } + : placeholder("нет данных ЕГРН"), + }, { key: "Зона", field: zone -- 2.45.3