Skip to content

Add extra parameters to QR code#3818

Open
andreia-ferreira wants to merge 5 commits into
masterfrom
andreia/3798/extra-info-to-qr
Open

Add extra parameters to QR code#3818
andreia-ferreira wants to merge 5 commits into
masterfrom
andreia/3798/extra-info-to-qr

Conversation

@andreia-ferreira

@andreia-ferreira andreia-ferreira commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Fixes #3798

This PR adds extra properties to the geoJson represented by the LOI report QR code: the date and the survey name. There was also an adjustment to the property for the loi name, since for predefined sites this property is not present. When that happens, the geoJson will now attempt to include the id instead, if present.

@shobhitagarwal1612 PTAL?

@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 67.54%. Comparing base (7bf153d) to head (43abd55).

Files with missing lines Patch % Lines
...undplatform/domain/usecases/GetLoiReportUseCase.kt 95.23% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3818      +/-   ##
============================================
+ Coverage     67.49%   67.54%   +0.05%     
- Complexity     1797     1806       +9     
============================================
  Files           405      405              
  Lines         10625    10642      +17     
  Branches       1356     1359       +3     
============================================
+ Hits           7171     7188      +17     
+ Misses         2756     2755       -1     
- Partials        698      699       +1     
Files with missing lines Coverage Δ
...ain/model/locationofinterest/LocationOfInterest.kt 44.82% <ø> (ø)
...undplatform/domain/usecases/GetLoiReportUseCase.kt 91.42% <95.23%> (+0.86%) ⬆️

... 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 marked this pull request as ready for review July 7, 2026 14:32
…info-to-qr

# Conflicts:
#	core/domain/src/commonTest/kotlin/org/groundplatform/domain/usecases/GetLoiReportUseCaseTest.kt
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.

QR code GeoJSON keys

2 participants