aprs.me/test/aprsme_web/live
Graham McIntire 7db78675a2
refactor: collapse nested if/case into pattern-matched helpers
- SharedPacketHandler.handle_packet_update: dispatch on filter-result,
  and use maybe_enrich/2 dispatched on the enrich? boolean instead of
  an inner `if`. lookup_device_info/1 is now a trio of function heads.
- Cluster.Topology.child_spec: build_spec/3 dispatches on
  (cluster_enabled?, topologies) tuples — no more nested `if`.
- Cluster.PacketDistributor.distribute_packet: maybe_broadcast/2
  dispatches on the leader-and-enabled check; the non-leader / disabled
  paths return :ok explicitly instead of relying on an `if` expression's
  implicit nil.

Adds tests for SharedPacketHandler (filter/enrich/match paths,
callsign_filter + callsign_and_weather_filter factories) and extends
Cluster.Topology tests to cover the nil-topology and opts-merge cases.
Coverage 66.41 → 66.81%.
2026-04-23 13:55:11 -05:00
..
components test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
info_live Improve coordinate handling and add configurable position sensitivity 2025-07-29 12:06:56 -05:00
map_live refactor(packet_processor): split cond/if into multi-clause helpers 2026-04-23 13:51:17 -05:00
packets_live perf: reduce per-packet allocations in ingest pipeline 2026-04-19 13:33:16 -05:00
shared refactor: collapse nested if/case into pattern-matched helpers 2026-04-23 13:55:11 -05:00
status_live refactor(packet_processor): split cond/if into multi-clause helpers 2026-04-23 13:51:17 -05:00
bad_packets_live_test.exs Remove DaisyUI, migrate to pure Tailwind CSS with TailwindUI patterns 2026-02-19 10:07:50 -06:00
info_live_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
locale_hook_test.exs refactor: pattern-match over conditionals in Navigation and InsertOptimizer 2026-04-23 13:38:24 -05:00
theme_manager_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
user_registration_live_test.exs Fix callsign registration to be case-insensitive 2026-02-19 13:20:07 -06:00
user_settings_live_test.exs Fix settings page showing validation errors on initial load 2026-02-20 17:09:18 -06:00