Skip to content

feat: Add print functionality with preview and customization#2

Draft
google-labs-jules[bot] wants to merge 3 commits intomainfrom
feature/print-functionality
Draft

feat: Add print functionality with preview and customization#2
google-labs-jules[bot] wants to merge 3 commits intomainfrom
feature/print-functionality

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

This commit introduces a new print functionality that allows users to print the analysis report. The key features of this implementation are: a print preview dialog with options to customize the printed content, the ability to select which analysis cards to include in the printout, content truncation for long lists, with a 'Show More' button to expand the content, and a clean and maintainable implementation that uses the react-to-print library.

This commit introduces a new and improved print functionality that allows you to print the analysis report.

The key features of this implementation are:

- A redesigned print preview dialog with a more attractive and user-friendly UI.
- A live preview of the PDF.
- Advanced customization options, including layout and font size.
- A "Save as PDF" button that uses `html2canvas` and `jspdf` to generate the PDF.
- Content truncation for long lists, with a 'Show More' button to expand the content.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jul 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
teleinsight ❌ Failed (Inspect) Jul 26, 2025 10:25am

This commit introduces a new and improved print functionality that allows you to print the analysis report.

The key features of this implementation are:

- A redesigned print preview dialog with a more attractive and user-friendly UI.
- A live preview of the PDF.
- Advanced customization options, including layout and font size.
- A "Save as PDF" button that uses `html2canvas` and `jspdf` to generate the PDF.
- Content truncation for long lists, with a 'Show More' button to expand the content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant