aprs.me/lib/aprsme_web/live
Graham McIntire 01ecf3d6bc
refactor: apply functional programming patterns across codebase
- accounts.ex: replace validate_user_password (if-based) with with-chain;
  drop unnecessary try/rescue around Repo.get_by. Extract transaction_unwrap
  helper to eliminate 3 copies of the Multi result-unwrap case block.

- packets.ex: deduplicate store_bad_packet by extracting raw_packet_string,
  extract_error_type, and extract_error_message into composable helpers.
  Normalize find_coordinate_value — collapse 12 clauses into a generic
  deep_get/direct_get that handles atom/string keys and nested maps uniformly.

- data_builder.ex: split build_simple_popup into separate data-construction
  (build_simple_popup_data) and rendering (render_popup) phases, eliminating
  duplicated PopupComponent/Safe/IO pipelines.

- param_utils.ex: unify parse_float_in_range and parse_int_in_range via a
  shared parse_in_range that accepts Float.parse/Integer.parse as a function
  parameter — functions-as-values pattern.
2026-07-01 08:45:19 -05:00
..
bad_packets_live deps: update all dependencies and fix doctests for Elixir 1.20 2026-07-01 08:40:17 -05:00
components fix compile warnings 2025-07-09 16:58:07 -05:00
info_live Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -05:00
map_live refactor: apply functional programming patterns across codebase 2026-07-01 08:45:19 -05:00
packets_live Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -05:00
shared refactor: apply functional programming patterns across codebase 2026-07-01 08:45:19 -05:00
status_live Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -05:00
weather_live fix elixir type warnings 2026-05-29 14:00:29 -05:00
about_live.ex en español 2025-07-05 15:51:39 -05:00
about_live.html.heex Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -05:00
api_docs_live.ex Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -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 Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -05:00
user_settings_live.ex Fix all mix credo --strict warnings (188 → 0) 2026-06-12 16:27:20 -05:00