/map's PropagationMap hook pushes `map_bounds` on every moveend/zoomend. When a user live-navigates from /map to /weather, an in-flight bounds push can land on the new WeatherMapLive (the same LV channel survives the navigation), and WeatherMapLive's `handle_event/3` had no clause for it — the LV process crashed with FunctionClauseError, taking the user's session down. WeatherMapLive doesn't need viewport bounds — the /weather/cells HTTP endpoint reads them off the URL the client builds — so the safe fix is a no-op handler. Tested. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| endpoint.ex | ||
| live_helpers.ex | ||
| live_table_footer.ex | ||
| live_table_resource.ex | ||
| location_resolver.ex | ||
| metrics_plug.ex | ||
| router.ex | ||
| skew_t.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||