Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(mcp-analytics): show loading state while session tool calls reload (#59892)

Georgis Andonis2370ecd54be9
diff --git a/products/mcp_analytics/frontend/sessions/MCPSessionDetail.tsx b/products/mcp_analytics/frontend/sessions/MCPSessionDetail.tsx
index 210895136741..c0317b367d4a 100644
--- a/products/mcp_analytics/frontend/sessions/MCPSessionDetail.tsx
+++ b/products/mcp_analytics/frontend/sessions/MCPSessionDetail.tsx
@@ -101,7 +101,7 @@ export function MCPSessionDetail(): JSX.Element {
</header>
<section className="px-3 py-3" style={{ overflowY: 'scroll', maxHeight: 'calc(100vh - 32rem)' }}>
- {toolCallsLoading && toolCalls.length === 0 ? (
+ {toolCallsLoading ? (
<div className="flex flex-col gap-2">
{[0, 1, 2].map((i) => (
<LemonSkeleton key={i} className="h-16 w-full" />