code-review-4-4-export-pdf-fr35.md 1.0 KB

Code Review - Story 4.4: Export PDF du pipeline (FR35)

Reviewer: BMad Master (AI)
Date: 2026-03-02
Story: 4-4-export-pdf-du-pipeline-fr35
Issues Found: 0 High, 0 Medium, 0 Low


Validation des AC

AC Statut
#1 Bouton "Exporter PDF", téléchargement pipeline priorisé (priorityOrder), contenu par idée (rang, titre, domaine, statut, dept, scores), incrément exportsThisMonth ✅ ExportPdfButton, route GET /api/export/pdf, generatePipelinePdf, transaction
#2 Tier Free 1 export/mois → modale limite, pas d'incrément ✅ Vérification quota + modale
#3 Reset mensuel (exportsResetAt > 30 j) → exportsThisMonth=1, export valide ✅ getEffectiveExportCount, isExportPeriodExpired (lib tier)
#4 Nom fichier pipeline-{slug}-{date}.pdf, en-tête, NOT_PRIORITY exclues ✅ route + service export
#5 Aucune idée → bouton désactivé + tooltip ✅ ExportPdfButton
#6 Bouton visible, badge "0 restant" si quota consommé, modale au clic ✅ Toolbar backlog

Statut : ✅ done