: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(paths): set the viz type when converting a path to a funnel (#84365)
Thomas Obermüller807df1d8118e
diff --git a/frontend/src/scenes/paths/pathsDataLogic.ts b/frontend/src/scenes/paths/pathsDataLogic.tsindex d1bd0a20b0ff..3cd7ba6509fe 100644--- a/frontend/src/scenes/paths/pathsDataLogic.ts+++ b/frontend/src/scenes/paths/pathsDataLogic.ts@@ -13,7 +13,7 @@ import { urls } from 'scenes/urls'import { actionsAndEventsToSeries } from '~/queries/nodes/InsightQuery/utils/filtersToQueryNode'import { InsightActorsQuery, InsightVizNode, NodeKind, PathsLink, PathsQuery } from '~/queries/schema/schema-general'import { isPathsQuery } from '~/queries/utils'-import { ActionFilter, InsightLogicProps, PathType, PropertyFilterType, PropertyOperator } from '~/types'+import { ActionFilter, FunnelVizType, InsightLogicProps, PathType, PropertyFilterType, PropertyOperator } from '~/types'import type { DataColorTheme } from '../../lib/colors'import type { FeatureFlagsSet } from '../../lib/logic/featureFlagLogic'@@ -254,6 +254,9 @@ export const pathsDataLogic = kea<pathsDataLogicType>([MathAvailability.None,NodeKind.FunnelsDataWarehouseNode),+ funnelsFilter: {+ funnelVizType: FunnelVizType.Steps,+ },dateRange: {date_from: values.dateRange?.date_from,},