towerops/lib/towerops_web/live
Graham McIntire a3cd43d2c2
Fix credo warnings and software design suggestions
Replace expensive length/1 comparisons with direct list comparisons or Enum.empty?/1 checks (13 instances in source code and tests). Add module aliases for Phoenix.HTML.Form and Towerops.Accounts.Scope to reduce nested module references.

Changes:
- Replace length(list) > 0 with list != [] or refute Enum.empty?(list)
- Add Phoenix.HTML.Form alias in CoreComponents
- Add Towerops.Accounts.Scope alias in ConnCase test helper

This eliminates all credo warnings and software design suggestions.
2026-01-06 12:55:22 -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 Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -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