: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(web-analytics): hide editor filter bar on dashboard tiles (#60904)
Lucas Ricoy49558178edee
diff --git a/frontend/src/scenes/insights/EditorFilters/WebAnalyticsEditorFilters.tsx b/frontend/src/scenes/insights/EditorFilters/WebAnalyticsEditorFilters.tsxindex c4a0beaa3377..cd9f6c5b4bc8 100644--- a/frontend/src/scenes/insights/EditorFilters/WebAnalyticsEditorFilters.tsx+++ b/frontend/src/scenes/insights/EditorFilters/WebAnalyticsEditorFilters.tsx@@ -24,6 +24,13 @@ export function WebAnalyticsEditorFilters({ query, embedded }: WebAnalyticsEditoconst { insightProps } = useValues(insightLogic)const { updateQuerySource } = useActions(insightVizDataLogic(insightProps))+ // Dashboard tiles render a readOnly snapshot. The Query component ignores+ // updateQuerySource changes here (see Query.tsx — `query = readOnly ? propsQuery : localQuery`),+ // so the toggle/filters never reflect the new state and clicks have no useful effect.+ if (insightProps.dashboardId != null) {+ return null+ }+const isStatsTable = isWebStatsTableQuery(query)const isPathBased =isStatsTable &&