Skip to content

fix(spp_gis): null draw control before destroying map on re-render

7fb4faf
Select commit
Loading
Failed to load commit list.
Draft

feat: geofence-based geographic targeting for programs #76

fix(spp_gis): null draw control before destroying map on re-render
7fb4faf
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 6, 2026 in 1s

66.36% (+0.05%) compared to 140d95e

View this Pull Request on Codecov

66.36% (+0.05%) compared to 140d95e

Details

Codecov Report

❌ Patch coverage is 71.51899% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.36%. Comparing base (140d95e) to head (7fb4faf).

Files with missing lines Patch % Lines
spp_program_geofence/models/eligibility_manager.py 69.46% 40 Missing ⚠️
spp_gis/controllers/main.py 0.00% 2 Missing ⚠️
spp_program_geofence/models/program.py 83.33% 2 Missing ⚠️
spp_program_geofence/__manifest__.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0      #76      +/-   ##
==========================================
+ Coverage   66.31%   66.36%   +0.05%     
==========================================
  Files         369      374       +5     
  Lines       22311    22467     +156     
==========================================
+ Hits        14795    14911     +116     
- Misses       7516     7556      +40     
Files with missing lines Coverage Δ
spp_gis/operators.py 78.83% <100.00%> (+4.98%) ⬆️
spp_program_geofence/__init__.py 100.00% <100.00%> (ø)
spp_program_geofence/models/__init__.py 100.00% <100.00%> (ø)
spp_program_geofence/__manifest__.py 0.00% <0.00%> (ø)
spp_gis/controllers/main.py 50.00% <0.00%> (-12.50%) ⬇️
spp_program_geofence/models/program.py 83.33% <83.33%> (ø)
spp_program_geofence/models/eligibility_manager.py 69.46% <69.46%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.