: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(experiments): Ship significance alerts to everyone (#57767)
Juraj Majerikb9392a14afa1
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 756fc4e2fcb9..8cacbb412b1a 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -299,7 +299,6 @@ export const FEATURE_FLAGS = {EXPERIMENT_FUNNEL_ACTORS_QUERY: 'experiment-funnel-actors-query', // owner: @rodrigoi #team-experimentsEXPERIMENT_FUNNEL_DWH_SUPPORT: 'experiment-funnel-dwh-support', // owner: @rodrigoi #team-experimentsEXPERIMENT_SESSION_REPLAYS_SKILL: 'experiment-session-replays-skill', // owner: @rodrigoi #team-experiments- EXPERIMENT_SIGNIFICANCE_ALERTS: 'experiment-significance-alerts', // owner: @jurajmajerik #team-experimentsEXPERIMENTS_DW_AA_TEST: 'experiments-dw-aa-test', // owner: @rodrigoi #team-experimentsEXPERIMENTS_SHOW_SQL: 'experiments-show-sql', // owner: @jurajmajerik #team-experimentsEXPERIMENTS_SYNC_QUERIES: 'experiments-sync-queries', // owner: @andehen #team-experimentsdiff --git a/frontend/src/scenes/experiments/ExperimentView/SettingsTab.tsx b/frontend/src/scenes/experiments/ExperimentView/SettingsTab.tsxindex b7c816466b53..698f6c298dca 100644--- a/frontend/src/scenes/experiments/ExperimentView/SettingsTab.tsx+++ b/frontend/src/scenes/experiments/ExperimentView/SettingsTab.tsx@@ -3,9 +3,7 @@ import { useActions, useValues } from 'kea'import { IconPencil } from '@posthog/icons'import { LemonButton, LemonCheckbox, LemonTag, Link } from '@posthog/lemon-ui'-import { FEATURE_FLAGS } from 'lib/constants'import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'import { LinkedHogFunctions } from 'scenes/hog-functions/list/LinkedHogFunctions'import { urls } from 'scenes/urls'@@ -21,7 +19,6 @@ export function SettingsTab(): JSX.Element {const { experiment, statsMethod } = useValues(experimentLogic)const { updateExperiment } = useActions(experimentLogic)const { openStatsEngineModal, openCupedModal } = useActions(modalsLogic)- const { featureFlags } = useValues(featureFlagLogic)const showCupedOption = useFeatureFlag('EXPERIMENT_CUPED')const isBayesian = statsMethod === ExperimentStatsMethod.Bayesian@@ -36,8 +33,7 @@ export function SettingsTab(): JSX.Element {const returnTo = urls.experiment(experiment.id)// Only show alerts section for saved experiments, as the alert relies on experiment.id for filtering- const shouldShowSignificanceAlerts =- featureFlags[FEATURE_FLAGS.EXPERIMENT_SIGNIFICANCE_ALERTS] && typeof experiment.id === 'number'+ const shouldShowSignificanceAlerts = typeof experiment.id === 'number'return (<div className="flex flex-col gap-8">