towerops/assets/js/hooks
Graham McIntire 4e391b3ecf feat(coverage): cnHeat-style full-bleed map on the show page
Rewire the single-coverage show page to mount MultiCoverageMap (the
same hook the org map uses) with one coverage in the array, and lift
the cnHeat-style overlay panels — LOS/NLOS toggle + height slider on
the left, opacity + RSSI filter on the bottom, distance probe on
click. Parameters move into a togglable right-side drawer so the map
dominates the viewport.

Show LiveView gains toggle_params / probe_point / close_probe /
set_probe_units handlers and delegates the formatters to
CoverageLive.Map. Site is now preloaded so coverages_payload/1 can
read site.name without an Ecto.AssociationNotLoaded crash that was
silently nuking the data-coverages JSON encode.

Also fixes a real bug in coverage_hooks.ts: pngForCoverage was
returning before the antenna-marker creation block, leaving the
marker code as unreachable dead code — towers never rendered. Moved
the marker creation into addCoverageLayer where it belongs and added
a no-PNG guard so a missing png_path logs instead of silently
failing the L.imageOverlay constructor.
2026-05-07 08:27:27 -05:00
..
config_timeline_chart.ts fix(config-timeline): implement the missing chart hook 2026-05-07 08:11:48 -05:00
coverage_hooks.ts feat(coverage): cnHeat-style full-bleed map on the show page 2026-05-07 08:27:27 -05:00
mikrotik_port_sync.ts perf(assets): lazy-load three more hooks + trim CopyToClipboard 2026-05-07 08:05:22 -05:00
network_map.ts perf(assets): split big hooks into per-page chunks 2026-05-07 07:58:38 -05:00
sensor_chart.ts perf(assets): split big hooks into per-page chunks 2026-05-07 07:58:38 -05:00
sites_map.ts perf(assets): split big hooks into per-page chunks 2026-05-07 07:58:38 -05:00
weathermap.ts perf(assets): split big hooks into per-page chunks 2026-05-07 07:58:38 -05:00