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.

feat(dashboards): show loading bar on dashboard tiles while refreshing (#65538)

Matt Puaafba987b9c0f
diff --git a/products/dashboards/frontend/components/WidgetCard/WidgetCardHeader.tsx b/products/dashboards/frontend/components/WidgetCard/WidgetCardHeader.tsx
index 48b37abce704..cf72f1ef426c 100644
--- a/products/dashboards/frontend/components/WidgetCard/WidgetCardHeader.tsx
+++ b/products/dashboards/frontend/components/WidgetCard/WidgetCardHeader.tsx
@@ -5,6 +5,7 @@ import { CardMeta } from 'lib/components/Cards/CardMeta'
import { CardTopHeadingRow } from 'lib/components/Cards/CardTopHeadingRow'
import { More, MoreProps } from 'lib/lemon-ui/LemonButton/More'
import { LemonMarkdown } from 'lib/lemon-ui/LemonMarkdown'
+import { LemonTableLoader } from 'lib/lemon-ui/LemonTable/LemonTableLoader'
import { Link } from 'lib/lemon-ui/Link'
import { Spinner } from 'lib/lemon-ui/Spinner'
import { dateFilterToText } from 'lib/utils/dateFilters'
@@ -244,6 +245,7 @@ export function WidgetCardHeader({
<>
{titleEl}
{descriptionEl}
+ <LemonTableLoader loading={loading} />
</>
}
/>