towerops/lib/towerops_web/live/device_live
Graham McIntire c70b385db1
refactor: consolidate reorder handlers in device_live
Extract common pattern from perform_site_reorder/4 and perform_device_reorder/4
into a single perform_reorder/4 helper function.

Both reorder handlers now delegate to the shared helper, reducing duplication
and making the reload/regroup/flash pattern consistent.

- Reduces code from 40 lines to 28 lines
- Maintains identical behavior (all tests pass)
- Uses static gettext strings to satisfy compile-time requirements
2026-02-04 18:02:13 -06:00
..
form.ex refactor: centralize LiveView access control checks 2026-02-04 17:51:05 -06:00
form.html.heex snmp v3 ui fixes 2026-02-04 17:41:15 -06:00
index.ex refactor: consolidate reorder handlers in device_live 2026-02-04 18:02:13 -06:00
index.html.heex Device list bug fix 2026-02-04 16:49:17 -06:00
show.ex refactor: centralize LiveView access control checks 2026-02-04 17:51:05 -06:00
show.html.heex prevent poller fallback when assigned poller is selected 2026-02-04 16:24:19 -06:00