Skip to content

Export canvas tab groups to PDF#9722

Open
nishantmonu51 wants to merge 2 commits into
mainfrom
tab_group_export
Open

Export canvas tab groups to PDF#9722
nishantmonu51 wants to merge 2 commits into
mainfrom
tab_group_export

Conversation

@nishantmonu51

@nishantmonu51 nishantmonu51 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Adds PDF export support for canvas dashboards containing tab groups.

  • Lets users export every tab or only each group active tab.
  • Flattens exported tabs into labeled rows while preserving dashboard order.
  • Includes tab labels in PDF capture and adds localized option copy.
  • Covers capture ordering and row grouping with unit tests.

Validation:

  • npm run test -w web-common -- src/features/exports/pdf (22 tests passed)
  • Prettier check passed for all changed files
  • ESLint completed with no errors

Sample Exports with tab groups -
executive-summary-report-20260722-090415.pdf
executive-summary-report-20260722-090345.pdf

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 am proud of this work!

@nishantmonu51

Copy link
Copy Markdown
Collaborator Author

@codex: review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 27e427abf6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@AdityaHegde AdityaHegde left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets make sure only the tab label is not in a separate page. Also unrelated, maybe we should hide scroll bars, it shows up in the export.

Image

/>

{#if showTabOptions}
<Radio

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldnt a checkbox be better in this case?

@nishantmonu51 nishantmonu51 added Type:Feature New feature request Area:Dashboard Size:M Medium change: 100-499 lines labels Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area:Dashboard Size:M Medium change: 100-499 lines Type:Feature New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants