: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(experiments): don't color tooltip delta dash red when there's no data (#90721)
Juraj Majerik9cd0784907c5
diff --git a/frontend/src/scenes/experiments/MetricsView/new/MetricRowGroupTooltip.tsx b/frontend/src/scenes/experiments/MetricsView/new/MetricRowGroupTooltip.tsxindex 9fc2449bfd5c..beab82668645 100644--- a/frontend/src/scenes/experiments/MetricsView/new/MetricRowGroupTooltip.tsx+++ b/frontend/src/scenes/experiments/MetricsView/new/MetricRowGroupTooltip.tsx@@ -71,7 +71,7 @@ export const renderTooltipContent = ({isBaseline ? (<em className="text-muted-alt">Baseline</em>) : (- <span className={winning ? 'text-success' : 'text-danger'}>+ <span className={winning === undefined ? undefined : winning ? 'text-success' : 'text-danger'}>{formatDeltaPercent(variantResult)}</span>)}