aprs.me/lib/aprsme_web/live/packets_live
Graham McIntire 088fd20711
refactor: FP patterns in packets_live/callsign_view
- mount: extract subscribe_if_connected/2, split assign_valid/assign_invalid
  to eliminate inline if/else for validation + subscription logic.

- enrich_packet_with_device_identifier: extract resolve_canonical_identifier/1
  as multi-clause function (binary guard + catch-all) instead of nested if.

- update_packet_lists: cond → multi-clause do_update/4 with guards.
  Three explicit paths: at-cap no-stored, at-cap with-stored, under-cap.

- get_timestamp_microseconds: case → multi-clause (%DateTime{}, binary,
  catch-all) for cleaner dispatch.
2026-07-01 18:08:56 -05:00
..
callsign_view.ex refactor: FP patterns in packets_live/callsign_view 2026-07-01 18:08:56 -05:00
callsign_view.html.heex perf: convert packets_live table to streams for efficient diffs 2026-06-01 16:50:09 -05:00
index.ex perf: convert packets_live table to streams for efficient diffs 2026-06-01 16:50:09 -05:00
index.html.heex perf: convert packets_live table to streams for efficient diffs 2026-06-01 16:50:09 -05:00