aprs.me/lib/aprsme_web/live
Graham McIntire 4366fa36da
Refactor conditionals to use multi-clause pattern matching
Replace case/cond/if blocks with multi-clause function dispatch
and pattern matching in function heads across 9 modules:
- WeatherUnits: case to multi-clause unit_system/1, unit_labels via do_unit_labels/1
- PacketUtils: if to pattern match on %{"id" => id}, multi-clause threshold/callsign
- SetLocale: case to multi-clause extract_locale/1
- IPGeolocation: if/cond to pattern match on conn, binary prefix matching for private_ip?
- DeviceIdentification: cond to extracted pattern_matches?/2
- MobileChannel: cond to multi-clause do_callsign_match/2
- PacketProcessor: cond to dispatch_visibility/6 on {in_bounds, has_marker} tuple
- PacketManager: destructure packet_state in heads, multi-clause maybe_cleanup/3
- AprsSymbol: case/if to multi-clause get_table_id/1, normalize_symbol_code/1
2026-02-10 17:15:49 -06:00
..
bad_packets_live clean up warnings 2025-07-16 08:55:46 -05:00
components fix compile warnings 2025-07-09 16:58:07 -05:00
info_live Fix additional nesting depth issues across multiple files 2026-02-09 12:32:42 -06:00
map_live Refactor conditionals to use multi-clause pattern matching 2026-02-10 17:15:49 -06:00
packets_live clean up warnings 2025-07-16 08:55:46 -05:00
shared Refactor conditionals to use multi-clause pattern matching 2026-02-10 17:15:49 -06:00
status_live Complete nested module alias fixes and update Sobelow skips 2026-02-09 11:26:47 -06:00
weather_live Reduce cyclomatic complexity in weather callsign view 2026-02-09 12:10:56 -06:00
about_live.ex en español 2025-07-05 15:51:39 -05:00
about_live.html.heex en español 2025-07-05 15:51:39 -05:00
api_docs_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
locale_hook.ex clean up warnings 2025-07-16 08:55:46 -05:00
shutdown_handler.ex Fix PgBouncer database connection and graceful shutdown 2025-07-26 15:51:06 -05:00
theme_manager.ex more performance improvements/cleanup 2025-07-14 16:49:55 -05:00
user_confirmation_instructions_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
user_confirmation_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
user_forgot_password_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
user_login_live.ex add more translations 2025-07-18 11:18:04 -05:00
user_registration_live.ex add more translations 2025-07-18 11:18:04 -05:00
user_reset_password_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_settings_live.ex clean up warnings 2025-07-16 08:55:46 -05:00