Skip to content

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

Merged
andreia-ferreira merged 9 commits into
masterfrom
andreia/3823/extract-qr
Jul 30, 2026
Merged

Extract QR code to a sepparate smaller page in the PDF#3860
andreia-ferreira merged 9 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.63%. Comparing base (8b83454) to head (ed26f48).

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.57%   67.63%   +0.06%     
- Complexity     1852     1858       +6     
============================================
  Files           410      411       +1     
  Lines         10818    10834      +16     
  Branches       1425     1426       +1     
============================================
+ Hits           7310     7328      +18     
+ Misses         2769     2767       -2     
  Partials        739      739              
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.

@andreia-ferreira
andreia-ferreira merged commit 69bef48 into master Jul 30, 2026
20 checks passed
@andreia-ferreira
andreia-ferreira deleted the andreia/3823/extract-qr branch July 30, 2026 08:39
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.

2 participants