feat(section7): editable section footprint + корпус plural/program hint (#1953) #2102
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2102
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/section7-editable-footprint"
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?
Summary
PR-B — follow-up к #2101 (unify-concept). Закрывает оставшийся пункт round-3 «не могу вписать пятно» + 2 косметики, пойманные скриншот-верификацией §7 на проде.
Изменения
BuildingProgramItemполучаетfootprint_w_m/footprint_d_m(float | None,ge=4 le=120, defaultNone→ каталог).place_programиспользует ручные габариты когда заданы оба, иначе каталожные.api-types.tsрегенерирован под новую схему (codegen-check пройдёт).ConceptProgramForm: «Пятно секции» — два инпута (ширина × глубина), пусто → возврат к каталогу; Σ пятно и ориентир КСИТ считаются от эффективного габарита.building_programнесёт пятно (Section7Concept).STRATEGY_HINTS[balanced](«Компромисс между ТЭП и качеством среды»).Test plan
ruff check/formatclean;pytest test_placement.py— 9 passed (вкл. 2 новых: footprint-override + partial-footprint fallback)tsc --noEmitclean,next lintclean, prettierapi-types.tsв синхронеЧасть epic #1953.