-
Notifications
You must be signed in to change notification settings - Fork 843
Forms: allow download responses as PDF #46045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 3 files.
1 file is newly checked for coverage.
Full summary · PHP report · JS report If appropriate, add one of these labels to override the failing coverage check:
Covered by non-unit tests
|
3c951b1 to
76a1edc
Compare
| ] ); | ||
| }; | ||
|
|
||
| const triggerFileDownload = ( blob: Blob, filename: string ): void => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's couple places in Forms where we do something similar — might be worth moving to shared utility later on in a follow up.
|
dompdf/php-svg-lib#129 may be a blocker here. Hopefully they don't drop php 7.2 support when adding 8.5 support. |
26e3a77 to
99920c9
Compare
@anomiex, can you elaborate on what you meant? Do you know what this is about: |
|
As for the Otherwise, they won't be included as part of the built package. |
The current version of Hopefully when
It's telling you that the new vendor packages aren't being included in the built version of Jetpack-the-plugin. It wants you to add the appropriate lines into |
Wrong file. 😀 |
7da8f6d to
1362b44
Compare
|
Thanks! I added the files to We don't use SVGs in the PDF, so I wonder if it would still be safe to include regardless of lacking PHP 8.5 support 🤔 |
|
It's also not a critical feature so perfectly fine if we would add PHP version check before loading the feature. |
Proposed changes:
Screen.Recording.2025-11-21.at.12.35.36.mov
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
cd projects/plugins/jetpackcomposer update