aprs.me/lib/aprsme_web/live/map_live
Graham McIntire 318eb30046
Fix additional nesting depth issues across multiple files
Extracts nested logic into helper functions to comply with Credo
requirements (max nesting depth 2):

- data_builder.ex: Extract historical packet distance filtering
  (filter_historical_by_distance/3, packet_far_enough_from_most_recent?/3)
  Reduces depth 5 -> depth 3

- streaming_packets_pubsub.ex: Extract subscriber message sending
  (send_to_subscriber_if_alive/3)
  Reduces depth 4 -> depth 2

- aprs_symbol.ex: Extract symbol code calculation
  (get_symbol_code_ord/1)
  Reduces depth 3 -> depth 2

- mobile_channel.ex: Extract subscription bounds update
  (update_subscription_bounds/2)
  Reduces depth 3 -> depth 2

- core_components.ex: Extract SVG tag class insertion
  (add_class_to_svg_tag/2)
  Reduces depth 3 -> depth 2

- info_live/show.ex: Extract row mapping for database queries
  (map_digipeater_row/2, map_station_heard_row/2)
  Reduces depth 3 -> depth 2 (2 instances)

Also updates .sobelow-skips with new line numbers from code changes.

Fixes 7 Credo nesting depth issues (2 remaining)
2026-02-09 12:32:42 -06:00
..
bounds_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
components.ex Fix get_received_at to properly handle Packet structs 2025-10-25 18:43:14 -05:00
data_builder.ex Fix additional nesting depth issues across multiple files 2026-02-09 12:32:42 -06:00
display_manager.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
historical_loader.ex Reduce cyclomatic complexity in historical packet loader 2026-02-09 12:06:58 -06:00
index.ex Fix credo warnings and start on design suggestions 2026-02-09 11:23:01 -06:00
map_helpers.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
navigation.ex fix: Handle database ownership errors gracefully in LiveView tests 2025-07-30 14:29:35 -05:00
packet_batcher.ex updates with parser updates 2025-08-03 09:19:31 -05:00
packet_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
packet_processor.ex Fix credo issues 2026-02-09 11:17:56 -06:00
packet_store.ex performance improvements 2025-07-14 16:35:58 -05:00
packet_utils.ex Remove caching from has_weather_packets function 2025-07-28 15:52:53 -05:00
popup_component.ex integrate /:call to main page 2025-07-13 10:36:58 -05:00
rf_path.ex Fix aprs-is variables 2025-10-12 10:32:12 -05:00
url_params.ex fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
utils.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00