fix(site-finder): visible by-quarter pipeline bars #167
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#167
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/pipeline-bar-height-rendering"
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
По кварталам сдачиграфик показывал почти невидимые столбики (~1–15 px) для cad 66:41:0204016:10, хотя API отдаёт корректные данные (11 объектов, 4 075 квартир, flats per quarter 147–860).align-items: flex-end→ каждая колонка shrink-to-content (~15.8 px = высота лейбла), и inner-bar сheight: ${heightPct}%резолвится против этих 15.8 px, не против намеренной высоты 80 px.align-items: stretch+ bar в фиксированных px (60 px BAR_AREA, ~20 px резерв на лейбл),justifyContent: flex-endна колонке → bars + labels садятся к bottom baseline.Test plan
tsc --noEmitчисто66:41:0204016:10:"2026-Q2: 1 ЖК / 860 квартир"Closes #34 follow-up (pipeline visual rendering).
Final review (SHA
ca5d0ac, CI ✅)Cross-checked агентом — pure CSS layout fix, нет contract risks.
✅ Bug analysis verified:
align-items: flex-endна outer flex давал каждой колонке shrink-to-content (~16px label height); inner barheight: ${pct}%резолвился против этой column height, не намеренного 80px → bars 1-15px. Fix:align-items: stretch+ fixedbarPx(60px max BAR_AREA + ~16px label) +justifyContent: flex-endна column.✅ Backend contract untouched: единственный файл
Pipeline24moBlock.tsx(+15/-5). Consumedq.quarter,q.objects,q.flatsидентичныPipelineQuarterSlotinterface вsite-finder.ts. Нет new TS fields — избегаем PR #163 punted-follow-up trap.✅ Rendering safety: gated
data.by_quarter.length > 0guard сохранён,maxFlatsPerQuarter > 0short-circuit предотвращает NaN/divide-by-zero, single-quarter → bar atbarPx=60(max).✅ CSS / responsive: inline styles consistent с existing, no dark-mode regression, fixed pixel heights разумны.
✅ tsc clean per PR body + pre-commit + CI green.
approve merge