Compare commits

..

2 commits

Author SHA1 Message Date
4f90334ffd Merge pull request 'feat(ptica): ВРИ row in Градостроительство (real ЕГРН)' (#1862) from fix/ptica-vri-row into main
All checks were successful
Deploy / changes (push) Successful in 6s
Deploy / build-backend (push) Has been skipped
Deploy / build-worker (push) Has been skipped
Deploy / build-frontend (push) Successful in 3m20s
Deploy / deploy (push) Successful in 1m8s
2026-06-20 23:09:41 +00:00
28b853bcdf feat(ptica): add ВРИ row to Градостроительство (real ЕГРН permitted_use)
All checks were successful
CI / changes (pull_request) Successful in 7s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Successful in 1m4s
CI / openapi-codegen-check (pull_request) Successful in 2m4s
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).
2026-06-21 04:09:36 +05:00

View file

@ -384,6 +384,14 @@ export function adaptUrbanCard(a: ParcelAnalysis): PticaScanCard {
return { return {
title: "Градостроительство", title: "Градостроительство",
rows: [ 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: "Зона", key: "Зона",
field: zone field: zone