: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
feat(web-analytics): make calendar heatmap insight generally available (#73235)
Javier Bahamondes5dabb57b8c0d
diff --git a/frontend/src/lib/components/ChartFilter/ChartFilter.tsx b/frontend/src/lib/components/ChartFilter/ChartFilter.tsxindex dfd721befa4b..305d82823d64 100644--- a/frontend/src/lib/components/ChartFilter/ChartFilter.tsx+++ b/frontend/src/lib/components/ChartFilter/ChartFilter.tsx@@ -207,21 +207,15 @@ export function ChartFilter(): JSX.Element {<ChartFilterOptionLabel label="World map" description="Values per country on a map." />),},- ...(featureFlags[FEATURE_FLAGS.CALENDAR_HEATMAP_INSIGHT]- ? [- {- value: ChartDisplayType.CalendarHeatmap,- icon: <IconRetentionHeatmap />,- label: 'Calendar heatmap',- labelInMenu: (- <ChartFilterOptionLabel- label="Calendar heatmap"- description="Values per day and hour."- />- ),- },- ]- : []),+ {+ value: ChartDisplayType.CalendarHeatmap,+ icon: <IconRetentionHeatmap />,+ label: 'Calendar heatmap',+ disabledReason: trendsOnlyDisabledReason || singleSeriesOnlyDisabledReason,+ labelInMenu: (+ <ChartFilterOptionLabel label="Calendar heatmap" description="Values per day and hour." />+ ),+ },],},]diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 7b5c02205b9c..f136b9b36ad0 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -201,7 +201,6 @@ export const FEATURE_FLAGS = {BATCH_EXPORTS_POSTHOG_HTTP: 'posthog-http-batch-exports', // owner: #team-batch-exportsBILLING_SKIP_FORECASTING: 'billing-skip-forecasting', // owner: @zachBOX_PLOT_INSIGHT: 'box-plot-insight', // owner: @pauldambra #team-product-analytics- CALENDAR_HEATMAP_INSIGHT: 'calendar-heatmap-insight', // owner: @jabahamondes #team-web-analyticsCOOKIELESS_SERVER_HASH_MODE_SETTING: 'cookieless-server-hash-mode-setting', // owner: #team-web-analyticsEXPERIMENT_INTERVAL_TIMESERIES: 'experiments-interval-timeseries', // owner: @jurajmajerik #team-experimentsGATEWAY_PERSONAL_API_KEY: 'gateway-personal-api-key', // owner: #team-platform-featuresdiff --git a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsxindex fd660185876d..00ac6a364d9a 100644--- a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx+++ b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx@@ -2716,7 +2716,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([title: 'Active Hours',linkText: 'Unique users',canOpenModal: true,- canOpenInsight: !!featureFlags[FEATURE_FLAGS.CALENDAR_HEATMAP_INSIGHT],+ canOpenInsight: true,query: {kind: NodeKind.InsightVizNode,source: {@@ -2785,7 +2785,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([title: 'Active Hours',linkText: 'Total pageviews',canOpenModal: true,- canOpenInsight: !!featureFlags[FEATURE_FLAGS.CALENDAR_HEATMAP_INSIGHT],+ canOpenInsight: true,query: {kind: NodeKind.InsightVizNode,source: {