towerops/lib/towerops_web/live/schedule_live
Graham McIntire e7bca6174c feat(on_call): schedules list with gantt timeline (chunk 2)
Resolver
- Resolver.resolve_range/3: returns the contiguous on-call segments for a
  schedule across [start_at, end_at). Walks layer handoffs + override
  boundaries, drops gap segments, and merges adjacent same-user segments.

UserColor module
- New Towerops.OnCall.UserColor with deterministic id -> color mapping
  (Tailwind class + matching #RRGGBB hex). Refactored ScheduleLive.Show
  to use it instead of its own per-page index palette so the same person
  gets the same color across the schedules list and detail pages.

ScheduleLive.Index
- Date navigation: Today / prev / next + 1/2/4-week range selector.
- URL-driven: ?start=YYYY-MM-DD&range=N for shareable views; falls back
  to defaults on malformed values.
- Per-row card: schedule name link, on-call-now avatar swatch, day-of-week
  header strip, gantt strip rendered as a CSS grid with one column per day,
  Today marker overlay.

Tests: 5 new resolver tests, 9 new UserColor tests, 5 new ScheduleLive
integration tests. Full suite: 10,210 / 0 failures. Format/dialyzer clean.

Also: cleaned up two stale inline comments in k8s/deployment.yaml that
disagreed with the values they sat next to (replicas/maxSurge).
2026-04-28 12:48:52 -05:00
..
form.ex fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
form.html.heex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
index.ex feat(on_call): schedules list with gantt timeline (chunk 2) 2026-04-28 12:48:52 -05:00
index.html.heex feat(on_call): schedules list with gantt timeline (chunk 2) 2026-04-28 12:48:52 -05:00
show.ex feat(on_call): schedules list with gantt timeline (chunk 2) 2026-04-28 12:48:52 -05:00
show.html.heex ux: improve mobile responsiveness across all pages 2026-03-12 16:49:59 -05:00