feat: Add PDF export for interview feedback (#315)#331
Open
Diwakar-odds wants to merge 1 commit into
Open
Conversation
Author
|
Hi maintainers, could you please review this PR? It implements the PDF export feature for interview feedback, structuring the front-end layout specifically for print generation using html2pdf.js. As this is a substantial new feature on the frontend, I believe this aligns with Level 2 (UI/Fixes/Features). Could you please assign the \ECSoC26\ and \Level 2\ labels (and potentially \good-ui) if you agree? Thank you! |
Contributor
|
@Diwakar-odds The AGENTS.md and contribution-rules.md files appear to be unrelated to the PDF export feature, could you please remove these changes from this PR to keep it focused on the requested feature? also remove the package files |
6a31f42 to
2c500dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #315
Description
This PR introduces a feature allowing users to download their AI-generated interview feedback as a nicely formatted PDF report.
Implementation Details:
html2pdf.jsfor client-side HTML to PDF generation without requiring a backend endpoint.InterviewPreppage to include a "Download PDF" button next to the "Interview Q & A" section.#pdf-report) in the UI that cleanly formats the user's role, experience, date, and expands all questions and AI-generated answers sequentially. This layout ensures the PDF report displays all information seamlessly, bypassing the accordion style used in the browser interface.ECSoC26 Label Request
Analysis: This PR introduces a substantial new front-end feature to the application, implementing client-side PDF generation, structuring a custom printable UI layout, and integrating it with the existing AI interview session data.
Request: Could you please add the
ECSoC26label, along with theLevel 2label (and potentiallygood-uiorgood-prif applicable), as this represents a solid feature implementation? Thank you!