towerops/priv/static
Graham McIntire 3f08fd42b6 fix: handle alert_changed message in DashboardLive (#189)
Fixes FunctionClauseError when DashboardLive receives {:alert_changed, org_id}
message broadcast by user_auth hooks.

The user_auth module subscribes all LiveViews to the
"organization:#{org_id}:alerts" topic and broadcasts {:alert_changed, org_id}
messages when alerts are created or resolved. DashboardLive was missing a
handle_info/2 clause to handle this message format, causing crashes in
production.

Solution:
- Added handle_info/2 clause for {:alert_changed, _org_id} message
- Uses existing debounced reload pattern to update dashboard
- Added test to verify message is handled without crashing
- Updated both technical and user-facing changelogs

All tests pass. The fix follows the same pattern used in AlertLive.Index
and DeviceLive.Show.

Reviewed-on: graham/towerops-web#189
2026-03-27 13:26:39 -05:00
..
images add texas footer 2026-01-18 13:15:27 -06:00
android-icon-36x36.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-48x48.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-72x72.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-96x96.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-144x144.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-192x192.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-57x57.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-60x60.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-72x72.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-76x76.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-114x114.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-120x120.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-144x144.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-152x152.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-180x180.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-precomposed.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
changelog.txt fix: handle alert_changed message in DashboardLive (#189) 2026-03-27 13:26:39 -05:00
favicon-16x16.png fix: use transparent background for stoplight favicon 2026-03-06 14:46:02 -06:00
favicon-32x32.png fix: use transparent background for stoplight favicon 2026-03-06 14:46:02 -06:00
favicon-96x96.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
favicon.ico fix: use transparent background for stoplight favicon 2026-03-06 14:46:02 -06:00
ms-icon-70x70.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
ms-icon-144x144.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
ms-icon-150x150.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
ms-icon-310x310.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
robots.txt init 2025-12-21 11:10:43 -06:00