aprs.me/lib/aprsme_web/components
Graham McIntire fc5e91479b
refactor: pattern-match CoreComponents.safe_row_id + CallsignController
- CoreComponents.safe_row_id: four function heads dispatch on the row
  shape (atom-key map, string-key map, other map fallback, non-map)
  instead of a cond with Map.has_key? checks.
- Api.V1.CallsignController.validate_callsign: check_callsign_format/2
  splits the validation success/failure branches into two clauses; the
  binary-vs-everything-else dispatch stays in validate_callsign/1.

Adds 5 integration tests for the CallsignController covering invalid,
not-found, success, case-normalization, and length-limit paths. The
test file is async:false because it shares the rate-limiter ETS with
other API tests and could otherwise trip the 100/min per-IP cap.
2026-04-23 14:18:30 -05:00
..
layouts Add referrer meta tag to fix OSM tile 403 errors 2026-03-22 16:34:32 -05:00
core_components.ex refactor: pattern-match CoreComponents.safe_row_id + CallsignController 2026-04-23 14:18:30 -05:00
info_map_component.ex Remove DaisyUI, migrate to pure Tailwind CSS with TailwindUI patterns 2026-02-19 10:07:50 -06:00
layouts.ex Remove DaisyUI, migrate to pure Tailwind CSS with TailwindUI patterns 2026-02-19 10:07:50 -06:00