Refactor decode_path_element from 217 lines with complexity 72 to clean helpers: - Add @q_constructs module attribute with all 39 Q-construct descriptions - Extract decode_wide_element/1 for WIDE digipeater patterns - Extract decode_trace_element/1 for TRACE digipeater patterns - Extract decode_relay_element/1 for RELAY digipeater patterns - Extract decode_tcpip_element/1 for TCPIP gateway patterns - Main function now has simple map lookup and pattern-based routing Reduced from 217 lines to 66 lines while improving readability and maintainability. Co-Authored-By: Graham <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| aprs_symbol.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| time_helpers.ex | ||
| time_utils.ex | ||
| user_auth.ex | ||
| weather_units.ex | ||