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): restore test-account toggle accent in dashboard (#64870)

Georgis Andoniscbb7b4ae300c
diff --git a/products/mcp_analytics/frontend/MCPAnalyticsDashboardOverview.tsx b/products/mcp_analytics/frontend/MCPAnalyticsDashboardOverview.tsx
index 887cf53a9005..6b57326529e5 100644
--- a/products/mcp_analytics/frontend/MCPAnalyticsDashboardOverview.tsx
+++ b/products/mcp_analytics/frontend/MCPAnalyticsDashboardOverview.tsx
@@ -49,7 +49,7 @@ export function MCPAnalyticsDashboardOverview(): JSX.Element {
const theme = useMemo<ChartTheme>(() => buildTheme(), [isDarkModeOn])
return (
- <div className="flex flex-col gap-4" data-quill>
+ <div className="flex flex-col gap-4">
<div className="flex flex-wrap items-center justify-between gap-3">
<div className="flex flex-wrap items-center gap-3">
<McpDateFilter
@@ -78,11 +78,11 @@ export function MCPAnalyticsDashboardOverview(): JSX.Element {
data-attr="mcp-dashboard-test-account-filter"
/>
</div>
- <section>
+ <section data-quill>
<h2 className="mb-4 text-xl font-semibold text-primary">Key metrics</h2>
<KpiTiles kpis={kpis} intentClusterCount={intentClusterCount} kpisLoading={kpisLoading} theme={theme} />
</section>
- <section>
+ <section data-quill>
<h2 className="mb-4 text-xl font-semibold text-primary">Usage</h2>
<div className="flex flex-col gap-[22px]">
<div className="grid grid-cols-1 gap-[22px] lg:grid-cols-3">
diff --git a/products/mcp_analytics/frontend/components/McpDateFilter.tsx b/products/mcp_analytics/frontend/components/McpDateFilter.tsx
index aec80425e5c6..a40fe7271fe8 100644
--- a/products/mcp_analytics/frontend/components/McpDateFilter.tsx
+++ b/products/mcp_analytics/frontend/components/McpDateFilter.tsx
@@ -81,7 +81,7 @@ export function McpDateFilter({ dateFrom, dateTo, onChange, dataAttr }: McpDateF
<Popover open={open} onOpenChange={setOpen}>
<PopoverTrigger
render={
- <Button variant="outline" data-attr={dataAttr}>
+ <Button variant="outline" data-attr={dataAttr} data-quill>
<IconCalendar />
{formatTriggerLabel(value)}
</Button>