Skip to content

: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.

feat(experiments): mark winning variant selector as optional when ending (#60690)

Ben Lead52b4a50fc6e
diff --git a/frontend/src/scenes/experiments/ExperimentView/ExperimentModals.tsx b/frontend/src/scenes/experiments/ExperimentView/ExperimentModals.tsx
index f95c1c92a1a8..07700f303c53 100644
--- a/frontend/src/scenes/experiments/ExperimentView/ExperimentModals.tsx
+++ b/frontend/src/scenes/experiments/ExperimentView/ExperimentModals.tsx
@@ -300,7 +300,10 @@ export function FinishExperimentModal(): JSX.Element {
) : (
<>
<div>
- <LemonLabel>Variant to keep</LemonLabel>
+ <LemonLabel showOptional>Variant to keep</LemonLabel>
+ <div className="text-xs text-muted mb-1">
+ Leave blank to end the experiment without rolling out a variant.
+ </div>
<div className="w-1/2 mt-1">
<LemonSelect
className="w-full"