aprs.me/lib/aprsme_web/live
Graham McIntire 1d68868d27
refactor: pattern-match InfoLive.Show path parsing + add tests
- parse_path_element_with_link splits its fat `if`/or-chain into three
  focused helpers: linkable_callsign?/1 (regex + alias check),
  path_alias?/1 (four String.starts_with guards), and
  classify_path_element/2 (link vs. text dispatched on the boolean).
- display_for_element/2 chooses the callsign form with/without the
  asterisk via two function heads instead of an inline `if`.

Adds 7 tests covering the parse_path_with_links/1 public API — plain
callsigns, heard-via asterisk preservation, non-linkable aliases
(WIDE/TRACE/RELAY/TCPIP), q-constructs, whitespace trimming, and mixed
paths.
2026-04-23 14:23:16 -05:00
..
bad_packets_live chore(dialyzer): enable stricter flags and fix 97 resulting findings 2026-04-21 10:07:01 -05:00
components fix compile warnings 2025-07-09 16:58:07 -05:00
info_live refactor: pattern-match InfoLive.Show path parsing + add tests 2026-04-23 14:23:16 -05:00
map_live refactor: replace more cond expressions with guarded clauses 2026-04-23 14:12:45 -05:00
packets_live chore(dialyzer): enable stricter flags and fix 97 resulting findings 2026-04-21 10:07:01 -05:00
shared refactor: replace more cond expressions with guarded clauses 2026-04-23 14:12:45 -05:00
status_live refactor: pattern-match in HealthCheck, EncodingUtils, and StatusLive helpers 2026-04-23 14:02:50 -05:00
weather_live Remove dead PostGIS code, deduplicate utilities, and simplify module hierarchy 2026-02-20 13:39:07 -06:00
about_live.ex en español 2025-07-05 15:51:39 -05:00
about_live.html.heex Apply TailwindCSS Plus design patterns across site 2026-02-20 17:56:06 -06:00
api_docs_live.ex docs: add weather nearby API endpoint to documentation 2026-03-22 12:16:32 -05:00
locale_hook.ex chore(dialyzer): enable stricter flags and fix 97 resulting findings 2026-04-21 10:07:01 -05:00
theme_manager.ex more performance improvements/cleanup 2025-07-14 16:49:55 -05:00
user_confirmation_instructions_live.ex fix: address security vulnerabilities and concurrency issues 2026-03-23 16:59:09 -05:00
user_confirmation_live.ex Remove DaisyUI, migrate to pure Tailwind CSS with TailwindUI patterns 2026-02-19 10:07:50 -06:00
user_forgot_password_live.ex fix: address security vulnerabilities and concurrency issues 2026-03-23 16:59:09 -05:00
user_login_live.ex Remove DaisyUI, migrate to pure Tailwind CSS with TailwindUI patterns 2026-02-19 10:07:50 -06:00
user_registration_live.ex fix: address security vulnerabilities and concurrency issues 2026-03-23 16:59:09 -05:00
user_reset_password_live.ex Remove DaisyUI, migrate to pure Tailwind CSS with TailwindUI patterns 2026-02-19 10:07:50 -06:00
user_settings_live.ex fix: address security vulnerabilities and concurrency issues 2026-03-23 16:59:09 -05:00