GravityPDF / gravity-pdf

Gravity PDF is a GPLv2-licensed WordPress plugin that allows you to automatically generate, email and download PDF documents using Gravity Forms.
https://gravitypdf.com
89 stars 21 forks source link

Store the current PDF Configuration in the PDF Field classes #1502

Closed jakejackson1 closed 4 months ago

jakejackson1 commented 4 months ago

Description

This change doesn't do much on its own, but will allow fields to change how they display based on the current PDF settings. Once merged, it'll allow smarter, more dynamic fields.

Testing instructions

  1. Create a form with all available fields, including Poll, Quiz, and Survey
  2. Create a PDF with a Core template
  3. Verify the PDF generates correctly

Checklist:

Additional Comments

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 90.90909% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 77.27%. Comparing base (ee566db) to head (03a3097).

Files Patch % Lines
src/Helper/Helper_Interface_Field_Pdf_Config.php 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #1502 +/- ## =============================================== + Coverage 77.25% 77.27% +0.01% =============================================== Files 243 244 +1 Lines 12713 12729 +16 Branches 370 370 =============================================== + Hits 9822 9836 +14 - Misses 2883 2885 +2 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.