- render_for_zoom/3: zoom ≤ 8 uses heatmap; high zoom with marker_data pushes to the client; high zoom + nil marker_data is a no-op. Each branch is now a separate function head. - push_new_packet/3: a boolean-dispatched pair replaces the popup-open conditional on the push_event payload. - prepare_packet_state: the two rebinding `if`s turn into a pipeline through prune_if_over_cap/1 (pattern-matched on map_size/1) and build_marker_data/5 with a zoom ≤ 8 short-circuit clause, plus maybe_tag_convert_from/3 for the replacement-marker tag. - moved_significantly?/3: the duplicated guard check between dispatch_visibility and batch_dispatch collapses into one helper that pattern-matches on the coordinate tuple returned by CoordinateUtils. Adds extra tests covering the new significance / stale-coords branches and the connection card LiveComponent render paths. Coverage 65.89 → 66.41%. |
||
|---|---|---|
| .. | ||
| components.ex | ||
| data_builder.ex | ||
| display_manager.ex | ||
| historical_loader.ex | ||
| index.ex | ||
| navigation.ex | ||
| packet_batcher.ex | ||
| packet_processor.ex | ||
| packet_utils.ex | ||
| popup_component.ex | ||
| rf_path.ex | ||
| url_params.ex | ||