aprs.me/test/aprsme_web/live/map_live
Graham McIntire e43107a25f
refactor(packet_processor): split cond/if into multi-clause helpers
- 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%.
2026-04-23 13:51:17 -05:00
..
callsign_view_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
data_builder_test.exs Fix object/item packets showing sender callsign instead of object name 2026-03-22 13:02:24 -05:00
display_manager_test.exs fix: stabilize moving station tracking 2026-03-26 18:48:43 -05:00
historical_loading_test.exs perf: optimize slow tests - 40% reduction in top 10 slowest tests 2026-03-03 10:47:40 -06:00
index_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
movement_test.exs perf: optimize slow tests - 40% reduction in top 10 slowest tests 2026-03-03 10:47:40 -06:00
navigation_test.exs refactor: pattern-match over conditionals in Navigation and InsertOptimizer 2026-04-23 13:38:24 -05:00
overlay_rendering_test.exs fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
packet_batcher_test.exs Fix code review findings batch 2: dead code, encoding, correctness 2026-02-20 07:29:27 -06:00
packet_processor_test.exs refactor(packet_processor): split cond/if into multi-clause helpers 2026-04-23 13:51:17 -05:00
packet_utils_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
performance_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
rf_path_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
rf_path_unit_test.exs Fix RF path visualization for hovering over track points 2026-02-19 15:41:32 -06:00
tracked_callsign_old_packet_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
url_params_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00