feat: wire up Trace and Activity Feed routes + nav

This commit is contained in:
Graham McIntire 2026-02-13 18:50:28 -06:00
parent 0b837a7f6d
commit 9c266e57ff
4 changed files with 44 additions and 0 deletions

View file

@ -1,4 +1,11 @@
2026-02-13
feat: add Trace, Activity Feed routes and nav items
- Wired /trace (subscriber trace / help desk mode) into router
- Wired /activity (org-wide activity feed) into router
- Added Trace and Activity to desktop and mobile navigation
- Fixed all compile errors in trace_live (missing helpers, components)
- Removed broken changelog_live (missing ChangelogParser dep)
feat: device list health indicators
- Added health status dot (green/yellow/red/gray) per device row from worst-case check state
- Added relative "last seen" indicator with color-coded staleness

View file

@ -247,6 +247,18 @@ defmodule ToweropsWeb.Layouts do
>
Insights
</.nav_link>
<.nav_link
navigate={~p"/trace"}
active={@active_page == "trace"}
>
Trace
</.nav_link>
<.nav_link
navigate={~p"/activity"}
active={@active_page == "activity"}
>
Activity
</.nav_link>
<.nav_link
navigate={~p"/agents"}
active={@active_page == "agents"}
@ -405,6 +417,18 @@ defmodule ToweropsWeb.Layouts do
>
<.icon name="hero-light-bulb" class="size-5" /> Insights
</.mobile_nav_link>
<.mobile_nav_link
navigate={~p"/trace"}
active={@active_page == "trace"}
>
<.icon name="hero-magnifying-glass" class="size-5" /> Trace
</.mobile_nav_link>
<.mobile_nav_link
navigate={~p"/activity"}
active={@active_page == "activity"}
>
<.icon name="hero-clock" class="size-5" /> Activity
</.mobile_nav_link>
<.mobile_nav_link
navigate={~p"/agents"}
active={@active_page == "agents"}

View file

@ -365,6 +365,12 @@ defmodule ToweropsWeb.Router do
# Insights route
live "/insights", InsightsLive.Index, :index
# Subscriber trace
live "/trace", TraceLive.Index, :index
# Activity feed
live "/activity", ActivityFeedLive, :index
# Network map route
live "/network-map", NetworkMapLive, :index
end

View file

@ -1,3 +1,10 @@
2026-02-13 — Subscriber Trace & Activity Feed
* New "Trace" page — search any subscriber, device, or AP and see a full health report
- Shows subscriber info, device status, QoE metrics, alerts, config changes, and peer impact
* New "Activity Feed" page — see all network events in one chronological timeline
- Config changes, alerts, device events, syncs all in one view
* Both pages accessible from the main navigation bar
2026-02-13 — Device List Health Indicators
* Device list now shows a color-coded health dot next to each device name
- Green = all checks passing, Yellow = warnings, Red = critical, Gray = no data