Skip to content

feat(canvas): export canvas dashboards as PDF#9593

Open
nishantmonu51 wants to merge 1 commit into
mainfrom
canvas_pdf_export
Open

feat(canvas): export canvas dashboards as PDF#9593
nishantmonu51 wants to merge 1 commit into
mainfrom
canvas_pdf_export

Conversation

@nishantmonu51

Copy link
Copy Markdown
Collaborator

Adds a PDF tab to the share popover for canvas dashboards, allowing users to export the rendered canvas as a downloadable PDF.

  • New web-common/src/features/exports/pdf/ module: captures the canvas, expands tables, settles async rendering, lays out pages, and assembles the PDF via jspdf.
  • ShareDashboardPopover gains a "PDF" tab, shown only for canvas dashboards (when canvasName and instanceId are provided).
  • CanvasDashboardWrapper renders an off-screen CanvasPdfExportHeader used solely as the PDF capture target.
  • Adds jspdf dependency.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

Developed in collaboration with Claude Code

Add a "PDF" tab to the share popover for canvas dashboards that captures
the rendered canvas and assembles it into a downloadable PDF.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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