Skip to content

feat(conversation): show encrypted PDF previews in chat (WPB-29908) - #23048

Open
cristianoliveira wants to merge 4 commits into
WPB-29908-pdf-preview-uploadfrom
WPB-29908-e2e-pdf-preview
Open

cristianoliveira wants to merge 4 commits into
WPB-29908-pdf-preview-uploadfrom
WPB-29908-e2e-pdf-preview

Conversation

@cristianoliveira

@cristianoliveira cristianoliveira commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor
TaskWPB-29908 [Web] E2e PDF preview on chat

Problem

The encrypted thumbnail sender pipeline needs a receiver-side chat presentation before previews can be enabled by default on Edge.

Solution

  • Use FileCard.Preview from the shared-component PR for encrypted PDF cards.
  • Load and decrypt the thumbnail only when the card enters view and receiving policy permits it, without downloading the original PDF.
  • Validate raster content, revoke Blob URLs, and reject stale/cancelled results.
  • Preserve original-PDF download, receiving restrictions, and the ordinary file-card fallback.
  • Enable e2e-pdf-preview by default on Edge/internal preview builds only. Public releases remain off by default; explicit selections remain respected.

This stacked diff contains only the receiver UI and the Edge rollout/default regression. Sender infrastructure and shared presentation are reviewed separately below. The final application source tree is unchanged from the previously reviewed feature head; the prerequisite history was merged without rewriting existing commits.

DEMO

demo.webm

Reference

https://wearezeta.atlassian.net/browse/WPB-29908

@cristianoliveira cristianoliveira added the semver:minor Backward-compatible WebApp functionality. Next release increments MINOR label Nov 10, 2026
@cristianoliveira cristianoliveira changed the title feat(conversation): add encrypted PDF previews (WPB-29908) feat(conversation): show encrypted PDF previews in chat (WPB-29908) Nov 11, 2026
@cristianoliveira
cristianoliveira changed the base branch from main to WPB-29908-pdf-preview-upload November 11, 2026 07:16
arjita-mitra
arjita-mitra previously approved these changes Nov 11, 2026
arjita-mitra
arjita-mitra previously approved these changes Nov 11, 2026
arjita-mitra
arjita-mitra previously approved these changes Nov 12, 2026
@arjita-mitra
arjita-mitra force-pushed the WPB-29908-e2e-pdf-preview branch from 552d092 to 883ace8 Compare November 12, 2026 08:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:minor Backward-compatible WebApp functionality. Next release increments MINOR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants