towerops/lib/towerops_web/live/device_live
Graham McIntire 0cd2ed3567
feat: add on-call schedules and escalation policies
Built-in PagerDuty-equivalent system for on-call scheduling and alert
escalation. Users can now manage schedules, rotation layers, overrides,
and escalation policies directly in the app alongside PagerDuty.

- On-call schedules with rotation layers (daily/weekly/custom), member
  management, and temporary overrides
- Escalation policies with ordered rules, timeout-based escalation,
  and user/schedule targets
- Automatic escalation via Oban worker with configurable repeat count
- Email notifications via Swoosh for on-call alerts
- Resolver computes who's on-call from layer stacking and overrides
- AlertNotificationWorker integration: starts escalation alongside
  PagerDuty, acknowledges/resolves incidents on alert state changes
- Device and organization schemas support escalation_policy_id
- Escalation policy picker on device form
- Schedules nav item with tabbed index (schedules + escalation policies)
- Full CRUD UI for schedules, layers, members, overrides, rules, targets
- 62 LiveView tests, 56 context/schema/resolver/escalation tests
- 26 E2E Playwright tests for smoke and critical path coverage
2026-03-11 12:32:54 -05:00
..
form.ex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
form.html.heex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
index.ex logging fix and some other codex fixes 2026-03-10 15:04:28 -05:00
index.html.heex fix: remove all compact_mode references from device index template 2026-03-10 11:22:40 -05:00
show.ex logging fix and some other codex fixes 2026-03-10 15:04:28 -05:00
show.html.heex feat: add comprehensive wireless client tracking and monitoring 2026-03-10 09:57:12 -05:00