towerops/lib/towerops_web/live/agent_live
Graham McIntire d2e38e351e
feat: display all timestamps in user's timezone
- Add timezone to socket assigns in mount_current_scope
- Detect user timezone from browser using Intl.DateTimeFormat
- Auto-save detected timezone to user profile on first connection
- Update all templates to use TimeHelpers with timezone parameter
- Update agent helper functions to accept timezone parameter
- Templates updated:
  - Alert list (triggered, acknowledged, resolved)
  - Device list (last checked)
  - Agent list and show (created, last seen, updated)
  - Admin dashboard (impersonation logs)
  - Admin org/user lists (created/joined dates)
  - Main dashboard (alert times)
2026-01-18 12:19:17 -06:00
..
edit.ex Add agent rename functionality 2026-01-17 15:48:47 -06:00
edit.html.heex Add agent rename functionality 2026-01-17 15:48:47 -06:00
helpers.ex feat: display all timestamps in user's timezone 2026-01-18 12:19:17 -06:00
index.ex Change agent revoke to delete with full cleanup 2026-01-17 15:40:09 -06:00
index.html.heex feat: display all timestamps in user's timezone 2026-01-18 12:19:17 -06:00
show.ex rename equipment to device 2026-01-17 14:48:46 -06:00
show.html.heex feat: display all timestamps in user's timezone 2026-01-18 12:19:17 -06:00