Skip to content

Export Completed Lecture Analytics to PDF Report #4

@rishima17

Description

@rishima17

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions