aprs.me/test/aprsme_web/live
Graham McIntire 35bd098b30
refactor: more pattern matching + drop unreachable get_field_value clause
- Aprsme.Packet.put_phg_fields: dispatch on the shape of the phg value
  (map / 4-char binary / anything else) via put_phg_fields_for/2.
- Aprsme.Packet.get_field_value: remove the catch-all nil clause. After
  the put_phg_fields refactor, dialyzer can prove every call site passes
  a map and flagged the fallback as unreachable — so it's gone, and
  a future mistyped caller now fails loudly instead of silently.
- LogSanitizer.sanitize_map: extract redact_field/2 for readability.
- DeviceIdentification.pattern_matches?: match_pattern/3 dispatched on
  String.contains?/2 keeps the rescue tight around the regex path.
- InfoLive.Show: get_received_at pattern-matches on key shape;
  format_distance splits locale × range via four format_*_distance
  helpers; calculate_course pipes through normalize_bearing/1.

Adds 15 tests exercising the InfoLive.Show helpers (imperial vs. metric
formatting, cardinal bearings, haversine symmetry, Decimal inputs).
Coverage 67.43 → 67.72%.
2026-04-23 14:09:53 -05:00
..
components test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
info_live refactor: more pattern matching + drop unreachable get_field_value clause 2026-04-23 14:09:53 -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: pattern-match in HealthCheck, EncodingUtils, and StatusLive helpers 2026-04-23 14:02:50 -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