prop/assets/js
Graham McIntire bff90da60e
fix(weather): log failed cell-tile fetches instead of swallowing them
loadLayers did `if (!resp.ok) return`, so a 413 or 400 from
/weather/cells left the map blank with no console error and no UI
feedback — indistinguishable from "no data for this forecast hour".

This is reachable in normal use: the hook sets minZoom: 4, and a z=4
viewport on a wide window clamps to ~4500 sq deg, over GridBounds'
4000 sq deg cap, so zooming all the way out silently drops the
overlay. Zooming back in restores it, which makes the failure look
intermittent and untraceable.

Log the status, requested layers and URL so the next report is
diagnosable from the browser console.
2026-08-05 17:40:58 -05:00
..
types feat(eme): 3D WebGL Earth-Moon globe with lazy-loaded Three.js 2026-04-23 17:00:53 -05:00
app.ts perf(assets): lazy-load page-specific hooks + Leaflet, app.js 968kb -> 300kb 2026-05-07 11:55:01 -05:00
beacon_map_hook.ts perf(beacons): coverage map uses Leaflet canvas renderer, no sticky tooltips 2026-05-04 08:20:20 -05:00
beacons_list_map_hook.ts Beacon list map, profile page polish, nav ordering fix 2026-04-12 16:23:09 -05:00
contact_map_hook.ts refactor: normalize pos1/pos2 JSONB key to 'lon' everywhere 2026-04-17 09:10:32 -05:00
contacts_map_hook.ts Optimize contact map rendering performance 2026-08-02 13:21:15 -05:00
elevation_profile_hook.ts feat(canopy): add tree-canopy height layer for path obstruction analysis 2026-04-26 12:51:48 -05:00
eme_globe_hook.ts feat(eme): 3D WebGL Earth-Moon globe with lazy-loaded Three.js 2026-04-23 17:00:53 -05:00
format.ts feat(format): miles-primary distance formatting sitewide 2026-04-18 15:53:40 -05:00
horizontal_wheel_scroll_hook.ts feat(rover): make candidate strip scroll horizontally + wheel-to-h-scroll 2026-04-26 09:31:10 -05:00
lazy_hook.ts perf(assets): lazy-load page-specific hooks + Leaflet, app.js 968kb -> 300kb 2026-05-07 11:55:01 -05:00
locate_me_hook.ts Convert all JavaScript to TypeScript with type annotations 2026-04-11 16:59:28 -05:00
location_map_hook.ts feat(rover-locations): drag-to-edit marker with live grid+coord preview 2026-05-03 12:51:12 -05:00
maidenhead_grid.ts feat(grid): show full Maidenhead label at subsquare zoom (em13sf, not sf) 2026-04-26 09:54:08 -05:00
path_forecast_hook.ts style: switch site font to Cascadia Code 2026-05-03 14:29:14 -05:00
propagation_map_hook.ts style: switch site font to Cascadia Code 2026-05-03 14:29:14 -05:00
rover_locations_map_hook.ts feat(rover-locations): /rover-locations/map page with Maidenhead overlay 2026-05-03 11:14:58 -05:00
rover_map_hook.ts feat(rover): add ESRI satellite imagery as base-layer option 2026-04-26 11:52:12 -05:00
rover_slider_hook.ts feat(rover): replace max-drive-time slider with max-distance in miles 2026-04-25 17:21:57 -05:00
weather_map_hook.ts fix(weather): log failed cell-tile fetches instead of swallowing them 2026-08-05 17:40:58 -05:00