towerops/lib/towerops_web/live
Graham McIntire fb4da2df6d
Refactor handle_event SNMP test to reduce complexity
Extracted SNMP configuration extraction and connection testing
into separate helper functions, reducing cyclomatic complexity
from 11 to ~5.

- extract_snmp_config/1: Consolidates form data and params
- normalize_port/1: Handles port type conversion
- test_snmp_connection/1: Performs test and formats result

This makes the handle_event callback simpler and each concern
easier to test independently.
2026-01-06 13:11:07 -06:00
..
admin Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
alert_live fix dialyzer things 2026-01-03 12:56:40 -06:00
equipment_live Refactor handle_event SNMP test to reduce complexity 2026-01-06 13:11:07 -06:00
graph_live Fix boolean attribute rendering for traffic graph 2026-01-05 13:48:59 -06:00
org_live Add global header to new organization page 2026-01-04 11:41:26 -06:00
site_live Add back navigation links to edit pages 2026-01-04 13:35:31 -06:00
dashboard_live.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
dashboard_live.html.heex Add onboarding wizard to guide users through site creation 2026-01-04 11:47:25 -06:00