diff --git a/cmd/web-ui/static/app.js b/cmd/web-ui/static/app.js index d3e2372..57c900e 100644 --- a/cmd/web-ui/static/app.js +++ b/cmd/web-ui/static/app.js @@ -2142,7 +2142,10 @@ dashboardState.toolCounts[t.name] = t.count; } - const events = (recentData.events || []).slice().reverse(); + const events = (recentData.events || []) + .filter(isAgentTimelineEvent) + .slice() + .reverse(); for (const evt of events) { const id = getRecordID(evt); if (id && !dashboardState.recentEventIDs.has(id)) { @@ -2224,6 +2227,13 @@ renderSummaryCards(); } + if (!isAgentTimelineEvent(msg.data)) { + if (dashboardState.timeseries && dashboardState.window === '1h') { + appendToCurrentBucket(msg.data); + } + return; + } + const id = getRecordID(msg.data); if (id && !dashboardState.recentEventIDs.has(id)) { dashboardState.recentEventIDs.add(id);