Skip to content

Implement PDF reports for submissions#3754

Draft
andreia-ferreira wants to merge 58 commits into
masterfrom
andreia/3739/pdf-report-impl
Draft

Implement PDF reports for submissions#3754
andreia-ferreira wants to merge 58 commits into
masterfrom
andreia/3739/pdf-report-impl

Conversation

@andreia-ferreira

@andreia-ferreira andreia-ferreira commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Fixes #3715

@... PTAL?

@andreia-ferreira andreia-ferreira force-pushed the andreia/3739/pdf-report-impl branch from 921e8d8 to 255f1e2 Compare June 8, 2026 15:28
…nderers-2

# Conflicts:
#	app/src/main/java/org/groundplatform/android/ui/datacollection/DataCollectionScreenPreviews.kt
#	app/src/main/java/org/groundplatform/android/ui/datacollection/DataSubmissionConfirmationScreen.kt
#	app/src/main/java/org/groundplatform/android/ui/home/mapcontainer/jobs/ShareLocationModal.kt
#	core/domain/src/commonMain/kotlin/org/groundplatform/domain/usecases/GetLoiReportUseCase.kt
#	core/domain/src/commonTest/kotlin/org/groundplatform/domain/usecases/GetLoiReportUseCaseTest.kt
#	feature/pdf/build.gradle.kts
andreia-ferreira and others added 19 commits June 9, 2026 15:07
…eport-impl

# Conflicts:
#	core/ui/src/commonMain/kotlin/org/groundplatform/ui/components/qrcode/QrCodeGenerator.kt
#	feature/pdf/build.gradle.kts
#	feature/pdf/src/androidMain/kotlin/org/groundplatform/feature/pdf/AndroidPdfImageProvider.kt
#	feature/pdf/src/androidMain/kotlin/org/groundplatform/feature/pdf/AndroidPdfOutputProvider.kt
#	feature/pdf/src/androidMain/kotlin/org/groundplatform/feature/pdf/AndroidPdfRenderer.kt
#	feature/pdf/src/androidMain/kotlin/org/groundplatform/feature/pdf/AndroidPdfReportLauncher.kt
#	feature/pdf/src/androidMain/kotlin/org/groundplatform/feature/pdf/render/PdfWriter.kt
# Conflicts:
#	core/ui/src/commonMain/kotlin/org/groundplatform/ui/components/qrcode/GroundQrCode.kt
#	core/ui/src/commonMain/kotlin/org/groundplatform/ui/components/qrcode/QrCodeGenerator.kt
#	feature/pdf/src/commonMain/kotlin/org/groundplatform/feature/pdf/render/PdfConfig.kt
…eport-impl

# Conflicts:
#	feature/pdf/src/androidHostTest/kotlin/org/groundplatform/feature/pdf/AndroidPdfOutputProviderTest.kt
#	feature/pdf/src/androidHostTest/kotlin/org/groundplatform/feature/pdf/render/FakePdfCanvas.kt
#	feature/pdf/src/androidHostTest/kotlin/org/groundplatform/feature/pdf/render/PdfWriterTest.kt
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.19623% with 158 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.23%. Comparing base (73d2729) to head (77e1f86).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...undplatform/feature/pdf/AndroidPdfImageProvider.kt 52.77% 24 Missing and 10 partials ⚠️
...ndplatform/feature/pdf/AndroidPdfReportLauncher.kt 0.00% 19 Missing ⚠️
.../ui/datacollection/DataCollectionScreenPreviews.kt 0.00% 17 Missing ⚠️
...g/groundplatform/feature/pdf/AndroidPdfRenderer.kt 0.00% 17 Missing ⚠️
...ome/mapcontainer/HomeScreenMapContainerFragment.kt 20.00% 12 Missing ⚠️
...datacollection/DataSubmissionConfirmationScreen.kt 70.96% 8 Missing and 1 partial ⚠️
...me/mapcontainer/HomeScreenMapContainerViewModel.kt 77.77% 1 Missing and 7 partials ⚠️
...droid/ui/home/mapcontainer/jobs/JobMapComponent.kt 38.46% 2 Missing and 6 partials ⚠️
...id/ui/home/mapcontainer/jobs/ShareLocationModal.kt 52.94% 7 Missing and 1 partial ⚠️
...ndplatform/feature/pdf/render/DocumentPdfCanvas.kt 55.55% 6 Missing and 2 partials ⚠️
... and 8 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3754      +/-   ##
============================================
- Coverage     68.12%   67.23%   -0.89%     
- Complexity     1616     1786     +170     
============================================
  Files           369      404      +35     
  Lines          9537    10573    +1036     
  Branches       1248     1347      +99     
============================================
+ Hits           6497     7109     +612     
- Misses         2368     2767     +399     
- Partials        672      697      +25     
Files with missing lines Coverage Δ
...latform/android/repository/SubmissionRepository.kt 100.00% <100.00%> (ø)
...ndroid/ui/datacollection/DataCollectionFragment.kt 96.42% <100.00%> (+3.83%) ⬆️
.../android/ui/datacollection/DataCollectionScreen.kt 87.77% <100.00%> (+1.19%) ⬆️
...ome/mapcontainer/HomeScreenMapContainerUiEffect.kt 100.00% <100.00%> (ø)
...tform/domain/model/locationofinterest/LoiReport.kt 100.00% <100.00%> (ø)
...rm/ui/components/qrcode/QrCodeGenerator.android.kt 100.00% <ø> (ø)
...ndplatform/ui/components/qrcode/QrCodeGenerator.kt 100.00% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfCanvas.kt 100.00% <100.00%> (ø)
...groundplatform/feature/pdf/render/PdfTextPaints.kt 100.00% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfCursor.kt 100.00% <100.00%> (ø)
... and 24 more

... and 17 files 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.

Instant offline PDF report

2 participants