towerops/lib/towerops_web/live/equipment_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
..
form.ex Auto-select site when only one is available for new equipment 2026-01-05 13:18:09 -06:00
form.html.heex Implement event logging system and fix sensor display 2026-01-05 10:42:34 -06:00
index.ex Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -06:00
index.html.heex Make equipment list rows clickable 2026-01-05 13:29:23 -06:00
show.ex Change storage display from chart to sensor list 2026-01-05 14:08:00 -06:00
show.html.heex Change storage display from chart to sensor list 2026-01-05 14:08:00 -06:00