• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 30088240074 / 9
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-2567-dailycounter-fix
DEFAULT BRANCH: master
Ran 24 Jul 2026 11:36AM UTC
Files 892
Run time 26s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2026 11:02AM UTC coverage: 52.798% (+3.4%) from 49.355%
30088240074.9

push

github

web-flow
refactor(map): remove leaflet-omnivore DEV-857 (#7301)

### 📣 Summary
Replaces defunct leaflet-omnivore package with more targeted
dependencies for parsing map overlay data, while also removing support
for .wkt files in this context.

### 💭 Notes
GeoJSON overlays are currently broken on main. The validation path used
fetchGetUrl, which only parses the response body when the Content-Type
is application/json. GeoJSON files are served as application/geo+json,
so the body was silently discarded, causing validation to always fail.
Switching to fetch + response.text() fixes this.

Security: Map overlay popups previously passed feature property values
directly to Leaflet's bindPopup as HTML strings. Property values from
uploaded files are now set via textContent, eliminating an XSS vector.

### 👀 Preview steps

1. Create a project with at least one geo question and make a submission
2. Go to data table and click on "Map"
3. Add the files in this archive as overlays:

[test-overlays.zip](https://github.com/user-attachments/files/30307199/test-overlays.zip)
4. Verify that overlays are properly imported, loaded and displayed
(three of the files share the same data, so you will want to toggle the
overlays on/off to see each one).
5. Try adding some invalid files from this archive:

[error-tests.zip](https://github.com/user-attachments/files/30308432/error-tests.zip)
6. Verify that errors result in a simple toast notification as before
and do not break the map or valid overlays.

5109 of 12653 branches covered (40.38%)

19767 of 37439 relevant lines covered (52.8%)

0.53 hits per line

Source Files on job 30088240074.9
  • Tree
  • List 892
  • Changed 176
  • Source Changed 0
  • Coverage Changed 176
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30088240074
  • 34004118 on github
  • Prev Job for on main (#30021995917.1)
  • Next Job for on main (#30095092178.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc