Skip to content

[comp] Production Deploy#2365

Merged
tofikwest merged 4 commits intoreleasefrom
main
Mar 24, 2026
Merged

[comp] Production Deploy#2365
tofikwest merged 4 commits intoreleasefrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.

github-actions bot and others added 4 commits March 24, 2026 16:05
The client-side PDF generator silently dropped TipTap node types it
didn't handle (no default fallback), causing blank pages for policies
with content wrapped in doc nodes or using codeBlock/blockquote/table.
Switch to the existing backend endpoint which handles all node types
correctly via recursive fallback.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Without Content-Disposition: attachment, cross-origin S3 presigned URLs
open the PDF in-browser instead of triggering a file download.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix(policies): blank pages in bulk policy PDF download
@cursor
Copy link
Copy Markdown

cursor bot commented Mar 24, 2026

PR Summary

Medium Risk
Changes the "Download All" flow to rely on a backend-generated PDF bundle and presigned S3 URL, which could impact a user-facing export path if the endpoint or filename handling is incorrect.

Overview
The "Download All" policies action now calls the backend GET /v1/policies/download-all endpoint and triggers a direct browser download from the returned presigned URL, replacing the prior client-side PDF generation (and related audit-log fetching) and adding toast-based error handling.

On the API side, the generated PDF bundle download URL is now created via getPresignedDownloadUrlWithFilename, setting a user-friendly filename (e.g., ${organizationName} - All Policies.pdf) in the S3 Content-Disposition response.

Written by Cursor Bugbot for commit 3cc3fb1. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
comp-framework-editor Ready Ready Preview, Comment Mar 24, 2026 11:37pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app (staging) Skipped Skipped Mar 24, 2026 11:37pm
portal (staging) Skipped Skipped Mar 24, 2026 11:37pm

Request Review

@tofikwest tofikwest merged commit 4757430 into release Mar 24, 2026
14 checks passed
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.11.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants