Skip to content

Extract QR code to a sepparate smaller page in the PDF - #3860

Open
andreia-ferreira wants to merge 8 commits into
masterfrom
andreia/3823/extract-qr
Open

Extract QR code to a sepparate smaller page in the PDF#3860
andreia-ferreira wants to merge 8 commits into
masterfrom
andreia/3823/extract-qr

Conversation

@andreia-ferreira

Copy link
Copy Markdown
Collaborator

Towards #3823

This PR moves the QR code from the top right of the PDF page and to a separate A7 cover page. The submission name is added above it.

image

@shobhitagarwal1612 PTAL?

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.49123% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.56%. Comparing base (4b17121) to head (70dc703).

Files with missing lines Patch % Lines
...g/groundplatform/feature/pdf/AndroidPdfRenderer.kt 0.00% 1 Missing ⚠️
...ndplatform/feature/pdf/render/DocumentPdfCanvas.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3860      +/-   ##
============================================
+ Coverage     67.49%   67.56%   +0.06%     
- Complexity     1850     1855       +5     
============================================
  Files           410      411       +1     
  Lines         10818    10834      +16     
  Branches       1428     1429       +1     
============================================
+ Hits           7302     7320      +18     
+ Misses         2768     2767       -1     
+ Partials        748      747       -1     
Files with missing lines Coverage Δ
...undplatform/feature/pdf/AndroidPdfImageProvider.kt 52.77% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfCanvas.kt 83.33% <100.00%> (ø)
...groundplatform/feature/pdf/render/PdfTextPaints.kt 100.00% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfWriter.kt 98.11% <100.00%> (+0.07%) ⬆️
...oundplatform/feature/pdf/mapper/LoiReportMapper.kt 91.42% <100.00%> (+0.38%) ⬆️
...latform/feature/pdf/model/SubmissionPdfDocument.kt 92.59% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfConfig.kt 100.00% <100.00%> (ø)
...g/groundplatform/feature/pdf/render/PdfGeometry.kt 100.00% <100.00%> (ø)
...ndplatform/feature/pdf/render/PdfPageController.kt 100.00% <100.00%> (ø)
...platform/feature/pdf/render/layout/QrPageLayout.kt 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant