Description
Teachers need a way to export completed lecture summaries for archives or grading records. We want to add an "Export PDF" button on the Lecture Analytics page that downloads a clean, beautifully formatted document.
Acceptance Criteria
- Add a "Download PDF Report" button at the top of the
/analytics/:sessionId page.
- Use a lightweight package like
html2pdf.js, html2canvas + jspdf to convert the page view to a document.
- The exported PDF must capture the Subject, Topic, Date, understanding distribution chart (Recharts), and student comments cleanly without layouts getting cut off.
- The button itself should be hidden in the printed PDF view.
Suggested Files to Edit
lecture-pulse/package.json (to install pdf utility)
lecture-pulse/src/pages/Analytics.jsx
Description
Teachers need a way to export completed lecture summaries for archives or grading records. We want to add an "Export PDF" button on the Lecture Analytics page that downloads a clean, beautifully formatted document.
Acceptance Criteria
/analytics/:sessionIdpage.html2pdf.js,html2canvas+jspdfto convert the page view to a document.Suggested Files to Edit
lecture-pulse/package.json(to install pdf utility)lecture-pulse/src/pages/Analytics.jsx