feat(export): PPTX export — completes EPIC #959 #1111
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#1111
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/forecast-export-pptx-959"
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?
Что
Финальный формат экспорта §22-отчёта — pptx (презентация). Закрывает EPIC #959: PDF ✓ · XLSX ✓ · MD ✓ · JSON ✓ · Telegram ✓ · DOCX ✓ · PPTX ✓.
Closes #959.
Содержимое
exporters/report_pptx.py—render_report_pptx(report) -> bytes(python-pptx). 6-слайдовая колода (титул+advisory, сводка, будущий рынок-таблица, сценарии, продукт ТЗ, уверенность). DRY (хелперы изreport_pdf), graceful (валидный минимальный .pptx на пустом), локальныйimport pptx.GET /{cad}/forecast/export?format=pptx→ presentationml attachment. Остальные форматы без изменений; нет рана → 404; невалид → 422.python-pptx>=1.0.0+uv.lock(только python-pptx + xlsxwriter; lxml/Pillow уже были).uv sync --frozen✓ (проверено мной и ревьюером).Качество
code-reviewer: ✅ APPROVE — lock-scope чистый (uv lock --check✓), graceful/DRY, placeholder-индексация защищена, endpoint без регрессии. 16 pptx-тестов (1014 passed), ruff clean. Минор (guard для гипотетического кастом-шаблона) — non-blocking.Тест-план (post-deploy)
GET /api/v1/parcels/66:41:0702048:27/forecast/export?format=pptx→ 200 .pptx (PK), открывается в PowerPoint/LibreOffice.