feat(site-finder): «7. Концепция» в light-отчёте — Stage 1 #1965 #2023
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2023
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/concept-section-1965-stage1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#1965 Stage 1 (эпик #1953) — консолидация генеративной Концепции в light-отчёт. Фронт-онли, без backend/миграций. code-reviewer ✅ APPROVE.
Что
Новая секция «7. Концепция» в light-отчёте (
/site-finder/analysis/{cad}, после «6. Прогноз») — рендерит существующий генератор концепций (3 стратегии: карта размещения + ТЭП + финмодель) БЕЗ повторного ввода кадастра/полигона.Section7Concept.tsx— реюзConceptParamsForm/ConceptVariantsResult/concept-api(extractPolygon/useCreateConcept) как есть, ничего не дублируется.AnalysisPageContent.tsx— монтаж после Section6 + nav-пункт «7. Концепция» (section-7, scrollMarginTop как у Section6).geom_geojson(extractPolygon, Polygon/MultiPolygon/null); дефолты ←financial_estimate.housing_class_inferred/development_type_inferred(narrow к enum, fallback DEFAULT_PARAMS),land_cost_rub←egrn.cadastral_value_rub.dynamic(ssr:false); секция<details>свёрнута по умолчанию (above-the-fold). Только light-токены.Качество
Stage 2 (следующий PR): интерактивный 3D
MassingSceneв этой секции + backendPOST /concepts/recompute(compute_financialпо building-program) → живой пересчёт TEAP/NPV/IRR при кручении ползунков. Refs #1965.Fold the generative concept generator (3 strategy variants: placement map + ТЭП + finance) into the light analysis report (/site-finder/analysis/{cad}) as a new section after «6. Прогноз», so Концепция lives in one place alongside the report instead of a separate flow (epic #1953, #1965 Stage 1). Frontend-only: reuses ConceptParamsForm / ConceptVariantsResult and the /concepts mutation (useCreateConcept) as-is — no duplication, no backend change. Inputs are seeded from the analysis the report already has (no re-entry of the cadastre/polygon): polygon ← extractPolygon(geom_geojson); housing_class / development_type ← financial_estimate inferred values; land_cost ← egrn.cadastral_value_rub; falls back to comfort/mid_rise. Runs on demand (heavy generative call — never auto on mount); result block (Leaflet map) is lazy-mounted via dynamic({ ssr: false }) and the section is collapsed by default. When financial_estimate is null (ЗОУИТ/СЗЗ/нет зоны) it shows an honest banner but still allows a manual run, since /concepts is independent of the financial_estimate gate. Graceful empty state when geometry is missing/unsupported. Stage 2 (interactive 3D + /concepts/recompute) left as a seam, not built.