: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(aio): make evaluations usable on mobile (#120372)
Daniel Parkered3f3c078acd
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 17a79f41a58e..a4edfb061459 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -12755,33 +12755,33 @@ snapshots:scenes-app-llm-observability-evaluation-templates--narrow--light:hash: v1.k794b7964.acb588946dd41382c78934be3f8912589d1a15df06ef9a976f617fad21f1ddd2.0LsEsqRoncEFZhEVh5X8gbA_QoGZelV2t1ABDsxGeaoscenes-app-llm-observability-evaluationmodelpicker--decision--dark:- hash: v1.k794b7964.5562145a41dea72f27ce564064efbeaa4908e281809a9b54a1571f7da7f3e2f9.cf6l4ZRZaxOvnn0n8C6hvt6HLQZcQO3uOzgtpszTAXU+ hash: v1.k794b7964.a9c0baac61b11f86986d2939d35b4a97a7e81802c86fd4ccbf07c9ee3369fd15.XiipYzOUcq18KZELmDMUdwA6n0FdToNVsUCXbmaCfnsscenes-app-llm-observability-evaluationmodelpicker--decision--light:- hash: v1.k794b7964.feb7b7a68b8621977f2095616077fbda6eaacf384f1bbd30195a81edf92521df.gDzACTp68b-hY1iXhORC-DiZWYTPtVc7TMJYnl5ur8c+ hash: v1.k794b7964.45efc6f2f9903de48507033653d344909ed13bf1731c89056bad14e69b96e12a.9NGJH7yteZxQASERxRgjjh0STONDRx5CP2OvAl3uBD8scenes-app-llm-observability-evaluationmodelpicker--decision-narrow--dark:- hash: v1.k794b7964.2cc5a685b95d9b77556df85b606bdff8ccc0943a0294f12eef3ab1715dc862b1.3KlJ_Xzkp_yC9sRUZibDPQenEcuAOyQTpMS70b5CTXk+ hash: v1.k794b7964.73dd8de58ec7a3f458f01cf723a64e3114ab680dc6efc965ebf9a6d65d6e1e0e.cC-ebDDJe9CAloNQ1UyVCVd7utawTwykH4Wuo-uVSp4scenes-app-llm-observability-evaluationmodelpicker--decision-narrow--light:- hash: v1.k794b7964.d82135caba2d77824e328d0d7145e62ca92b14e0fada7be2055ae91552400d81.Ew4mZtChk02L66e1zEax2Je1nE664lwKmZp1M9vZk74+ hash: v1.k794b7964.0c1371aecd01164f6f1070fbfc682a391e11e0f9e36277cefd75db5d479b7235.iY4gG-YkcdP2VT2N3wvgPIvQf-EScIKvrF58syfVw7Uscenes-app-llm-observability-evaluationmodelpicker--flag-off--dark:- hash: v1.k794b7964.f74cda6699e5b141f87c19ff9c8321489d5d9270131af12048631b657204918c.z4Sg9qB6e3u7D1orq6Z022G_fp-mUcpluVnAnMZnGW4+ hash: v1.k794b7964.277344d00b8edc7551d8850029611c83e1740ac1ea3adb9e679ceffd2037064b.0gLUQZyT3_xppzOwry0tkGL0HlIjU-jdxq6V8VIAGs4scenes-app-llm-observability-evaluationmodelpicker--flag-off--light:- hash: v1.k794b7964.d04712113894120613c91816812cdf6d6ea55f1ca11ce91196e5fe00b0ec23b1.zZqV5OhiYrHekB5CZKdffc1mTb8Wu6lpe2FLJZ59px4+ hash: v1.k794b7964.060fc008f850bbab373cb0c43a70e91454426b70a2d259ab371e1c2cfa7d1834.YTIqtwuIVdRppnvMFv142GGjOIDBIehxdylH9qJJQLYscenes-app-llm-observability-evaluationmodelpicker--llm--dark:- hash: v1.k794b7964.d7689fdc9f71084879154b5bc9e3e886539ed9f69e6f9c0334901a54fae4f72d.a-jcIwlvssNrK79TxURjANuh9k4xS4T5SGtvdqrYo5Q+ hash: v1.k794b7964.43b905fdb235f4c15e7b906f14467c4ee9e8df010a3f26e476a2b3e6f59a4323.MZUQFFzWautdc3zzDJVWS6YbBa4qxX69-2HNwn-4wXQscenes-app-llm-observability-evaluationmodelpicker--llm--light:- hash: v1.k794b7964.a65534589a6af5d20189fd7890fdca4f3466df3f32f3b408015e69fd557679a5.ABRZcOSSqQCoyQq6c_hOJQTzNnYewJrQ4BzAa0Si7DA+ hash: v1.k794b7964.5fbd678972f802f1baf3bb1e1dc4869a6d2b78c8279bc5f03e3b55e149d24c8f.FAWGdhvRzIqww3vfNkkv-FISpmlDCBK9QHYPiQ6sS6cscenes-app-llm-observability-evaluationmodelpicker--native-open-ai--dark:- hash: v1.k794b7964.5562145a41dea72f27ce564064efbeaa4908e281809a9b54a1571f7da7f3e2f9.mS00sJJtvwHyWRggu2TsH61MK34knaI6lUEWHyZdvm8+ hash: v1.k794b7964.a9c0baac61b11f86986d2939d35b4a97a7e81802c86fd4ccbf07c9ee3369fd15.bW1bQMgWLkSMejVZ8-8gt9tEchiuvd_AeJf0gGcv3Ycscenes-app-llm-observability-evaluationmodelpicker--native-open-ai--light:- hash: v1.k794b7964.feb7b7a68b8621977f2095616077fbda6eaacf384f1bbd30195a81edf92521df.OJiBHpBc7NvSGrVpFsw0bM9mKGRh2hY-J5z9zQjXsJw+ hash: v1.k794b7964.45efc6f2f9903de48507033653d344909ed13bf1731c89056bad14e69b96e12a.VJAyamIoCFCRiqrLboD2BBVE_2bk2JzQNdSGQt9w61cscenes-app-llm-observability-evaluationmodelpicker--native-open-ai-narrow--dark:- hash: v1.k794b7964.2cc5a685b95d9b77556df85b606bdff8ccc0943a0294f12eef3ab1715dc862b1.dfPKd8pDCzIffD9PtlmtJ91keZFbiMV-Jw0eSpjKo1U+ hash: v1.k794b7964.73dd8de58ec7a3f458f01cf723a64e3114ab680dc6efc965ebf9a6d65d6e1e0e.73I_zrtRgTcZD5J-9y-5A96QnzewfQbOlS-GzqXqDN8scenes-app-llm-observability-evaluationmodelpicker--native-open-ai-narrow--light:- hash: v1.k794b7964.d82135caba2d77824e328d0d7145e62ca92b14e0fada7be2055ae91552400d81.Igj-vFsvnOnzz6SU2A15uZGUXlb8lZoYWnVOQF-kj7Y+ hash: v1.k794b7964.0c1371aecd01164f6f1070fbfc682a391e11e0f9e36277cefd75db5d479b7235.BQM5LKEuJFwtTUd-VRi-E516jncsN5ywMGN8NjsLWq0scenes-app-llm-observability-evaluationmodelpicker--no-decision-models--dark:- hash: v1.k794b7964.ad9ea73d0bf9e87acd8bb321aea9f56ffc55508c18e8810349c60ef2102451a0.o954YssNcVBqGXNxkT01pYc9Pu0RworI3n76Bd5FBn8+ hash: v1.k794b7964.ba5206f054f85372119023e24c4a01da4d0777ba31f66807cdc0523de4d5edc0.qr36U7Blkwgs46fNy1QTqCUJXEtr0q0kjeFteZJwJWoscenes-app-llm-observability-evaluationmodelpicker--no-decision-models--light:- hash: v1.k794b7964.1834f5cc526d4a4bf2b07700e4979c894a8fd258f7aef933d22baa8ec5b69a7e.mLxPbh59fznfia0oDqeuGf8QCzdZxsutVxYDXXP7qEo+ hash: v1.k794b7964.454b4b8ed00b0edb5cc452a5c4c5621df9c689076553f4c435ceb9897a90aac0.uf4yjayq1yAn_Mc0x4cZFyMuXDsZ629E1m2ARKrTPW8scenes-app-llm-observability-evaluationreportconfig--lemon-ui--dark:hash: v1.k794b7964.195aa4a5a39e8f947e17fe67f5c23303b7dd0579c278907761be24a08780be92.IkGQtAI95T60kJKVZcmmFBIWNCd4meuJv-bcNDoohwUscenes-app-llm-observability-evaluationreportconfig--lemon-ui--light:diff --git a/products/ai_observability/frontend/e2e/evaluation-polarity.spec.ts b/products/ai_observability/frontend/e2e/evaluation-polarity.spec.tsindex b8530b3629b3..f3c6998b0b70 100644--- a/products/ai_observability/frontend/e2e/evaluation-polarity.spec.ts+++ b/products/ai_observability/frontend/e2e/evaluation-polarity.spec.ts@@ -148,7 +148,7 @@ test.describe('AI observability boolean evaluation polarity', () => {page.waitForResponse((resp) => resp.url().includes('/evaluations/') && resp.request().method() === 'POST'),- page.getByRole('button', { name: 'Create evaluation' }).click(),+ page.getByTestId('llma-evaluation-save-bottom').click(),])await expect(page).toHaveURL(/\/ai-evals\/evaluations$/, { timeout: 30_000 })const created = await createResponse.json()@@ -176,7 +176,7 @@ test.describe('AI observability boolean evaluation polarity', () => {'aria-checked','false')- await page.getByRole('button', { name: 'Save changes' }).click()+ await page.getByTestId('llma-evaluation-save-bottom').click()await expect(page).toHaveURL(/\/ai-evals\/evaluations$/, { timeout: 30_000 })await gotoEvalA()diff --git a/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.tsx b/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.tsxindex b18d9c776589..26f305203c50 100644--- a/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.tsx+++ b/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.tsx@@ -243,15 +243,18 @@ export function AIObservabilityEvaluation(): JSX.Element {]return (- <div className="space-y-6">+ <div className="@container/evaluation min-w-0 space-y-6"><SceneBreadcrumbBackButton />{/* Header */}- <SceneStickyBar hasSceneTitleSection={false} className="flex justify-between items-start gap-2 space-y-0">+ <SceneStickyBar+ hasSceneTitleSection={false}+ className="flex flex-col justify-between items-start gap-4 space-y-0 @min-[64rem]/evaluation:flex-row"+ ><div className="space-y-2 min-w-0"><h1 className="text-2xl font-semibold break-words">{isNewEvaluation ? 'New evaluation' : evaluation.name}</h1>- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2">{isNewEvaluation ? (<LemonTag type="primary">New</LemonTag>) : (@@ -270,7 +273,7 @@ export function AIObservabilityEvaluation(): JSX.Element {)}</div></div>- <div className="flex gap-2 shrink-0">+ <div className="flex flex-wrap gap-2 max-w-full">{trendInsightUrl ? (<LemonButtontype="secondary"@@ -500,7 +503,7 @@ export function AIObservabilityEvaluation(): JSX.Element {<div className="max-w-4xl"><div className="space-y-6">{/* Basic Information */}- <div className="bg-bg-light border rounded p-6">+ <div className="bg-bg-light border rounded p-4 @min-[40rem]/evaluation:p-6"><h3 className="text-lg font-semibold mb-4">Basic information</h3><div className="space-y-4">@@ -749,7 +752,7 @@ export function AIObservabilityEvaluation(): JSX.Element {/></LemonField.Pure>- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><Tooltiptitle={canEnableReason}visible={canEnableReason ? undefined : false}@@ -789,7 +792,7 @@ export function AIObservabilityEvaluation(): JSX.Element {</div>}>- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><LemonSwitchchecked={evaluation.output_config.allows_na ?? false}onChange={setAllowsNA}@@ -818,7 +821,7 @@ export function AIObservabilityEvaluation(): JSX.Element {</div>}>- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><LemonSwitchchecked={evaluation.output_config.true_is_failure ?? false}onChange={setTrueIsFailure}@@ -837,7 +840,7 @@ export function AIObservabilityEvaluation(): JSX.Element {{/* Prompt / Code Configuration */}{hasEditableCriteria && (- <div className="bg-bg-light border rounded p-6">+ <div className="bg-bg-light border rounded p-4 @min-[40rem]/evaluation:p-6"><h3 className="text-lg font-semibold mb-4">{isHog ? 'Evaluation code' : 'Evaluation prompt'}</h3>@@ -851,7 +854,10 @@ export function AIObservabilityEvaluation(): JSX.Element {)}{/* Trigger Configuration */}- <div ref={triggersRef} className="bg-bg-light border rounded p-6">+ <div+ ref={triggersRef}+ className="bg-bg-light border rounded p-4 @min-[40rem]/evaluation:p-6"+ ><h3 className="text-lg font-semibold mb-4">Triggers</h3><p className="text-muted text-sm mb-4">The evaluation runs on generations that match any one of these condition@@ -902,6 +908,23 @@ export function AIObservabilityEvaluation(): JSX.Element {<EvaluationReportConfig evaluationId={evaluation.id} /></div>)}+ <div className="flex justify-end mt-6">+ <AccessControlAction+ resourceType={AccessControlResourceType.Evaluation}+ minAccessLevel={AccessControlLevel.Editor}+ userAccessLevel={evaluation.user_access_level ?? undefined}+ >+ <LemonButton+ type="primary"+ onClick={handleSave}+ disabledReason={saveButtonDisabledReason}+ loading={evaluationFormSubmitting}+ data-attr="llma-evaluation-save-bottom"+ >+ {isNewEvaluation ? 'Create evaluation' : 'Save changes'}+ </LemonButton>+ </AccessControlAction>+ </div></div>),},diff --git a/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsx b/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsxindex acd6385aa6f0..986bb4f5e47d 100644--- a/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsx+++ b/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsx@@ -258,7 +258,7 @@ function AIObservabilityEvaluationsContent(): JSX.Element {const isBlocked = !canEnable && !evaluation.enabledconst blockedReason = 'Add a provider API key to enable this evaluation.'return (- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><AccessControlActionresourceType={AccessControlResourceType.Evaluation}minAccessLevel={AccessControlLevel.Editor}@@ -579,10 +579,10 @@ function AIObservabilityEvaluationsContent(): JSX.Element {</LemonBanner>)}- <div className={showEmptyState ? 'hidden' : 'flex justify-between items-start gap-3'}>- <div className="min-w-0 flex-1">+ <div className={showEmptyState ? 'hidden' : 'flex flex-wrap justify-between items-start gap-3'}>+ <div className="min-w-0 flex-1 basis-64">{selectedDirectory ? (- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><LemonButtontype="tertiary"size="small"@@ -592,7 +592,7 @@ function AIObservabilityEvaluationsContent(): JSX.Element {Online evals</LemonButton><span className="text-muted">/</span>- <h2 className="text-xl font-semibold m-0">{selectedDirectory.name}</h2>+ <h2 className="text-xl font-semibold m-0 break-words min-w-0">{selectedDirectory.name}</h2></div>) : (<h2 className="text-xl font-semibold">Online evals</h2>@@ -602,7 +602,7 @@ function AIObservabilityEvaluationsContent(): JSX.Element {evaluation run is billed as an AI observability event.</p></div>- <div className="flex shrink-0 items-center gap-2">+ <div className="flex flex-wrap items-center gap-2">{!selectedDirectoryId && (<AccessControlActionresourceType={AccessControlResourceType.Evaluation}@@ -643,7 +643,7 @@ function AIObservabilityEvaluationsContent(): JSX.Element {<EvaluationMetrics />- <div className="flex items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><LemonInputtype="search"placeholder="Search online evals..."diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationMetrics.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationMetrics.tsxindex 8f98f6bd1391..5107f0feafa4 100644--- a/products/ai_observability/frontend/evaluations/components/EvaluationMetrics.tsx+++ b/products/ai_observability/frontend/evaluations/components/EvaluationMetrics.tsx@@ -52,12 +52,12 @@ export function EvaluationMetrics(): JSX.Element {const enabledEvaluationsCount = evaluations.filter((e) => e.enabled && !e.deleted).lengthreturn (- <div className="mb-6">- <div className="flex gap-4 h-96">+ <div className="@container/evaluation-metrics mb-6">+ <div className="flex flex-col gap-4 @min-[56rem]/evaluation-metrics:flex-row">{evaluationsLoading ? (- <LemonSkeleton className="flex-1 h-full" />+ <LemonSkeleton className="flex-1 h-96" />) : chartQuery ? (- <div className="flex-1 bg-bg-light rounded p-4 flex flex-col InsightCard h-full">+ <div className="flex-1 min-w-0 bg-bg-light rounded p-4 flex flex-col InsightCard h-96"><h3 className="text-lg font-semibold mb-2">Pass rate over time</h3><p className="text-muted text-sm mb-4">Showing pass rate trends for enabled evaluations</p><div className="flex-1 flex flex-col min-h-0">@@ -76,7 +76,7 @@ export function EvaluationMetrics(): JSX.Element {</div></div>) : (- <div className="flex-1 bg-bg-light border rounded p-8 flex items-center justify-center">+ <div className="flex-1 min-w-0 min-h-48 bg-bg-light border rounded p-8 flex items-center justify-center"><div className="text-muted text-center">No enabled evaluations with pass rates. Enable a boolean evaluation or set a passing rule ona numeric or categorical evaluation.@@ -84,7 +84,7 @@ export function EvaluationMetrics(): JSX.Element {</div>)}- <div className="flex-1 grid grid-cols-2 gap-4">+ <div className="flex-1 min-w-0 grid grid-cols-2 gap-4">{statsLoading ? (Array.from({ length: 4 }, (_, index) => <LemonSkeleton key={index} className="h-full w-full" />)) : (diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationModelPicker.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationModelPicker.tsxindex f16686cd9fd2..a3f7d3bd8769 100644--- a/products/ai_observability/frontend/evaluations/components/EvaluationModelPicker.tsx+++ b/products/ai_observability/frontend/evaluations/components/EvaluationModelPicker.tsx@@ -35,23 +35,35 @@ export function EvaluationModelPicker(): JSX.Element {const footerLink = getModelPickerFooterLink(groups.some((group) => !group.disabledReason))return (- <div className="bg-bg-light border rounded p-6">+ <div className="bg-bg-light border rounded p-4 @min-[40rem]/evaluation:p-6"><h3 className="text-lg font-semibold mb-2">Judge model</h3><p className="text-muted text-sm mb-4">Choose how to judge responses, then select a model from your configured AI providers.</p>- <div className="space-y-4">+ <div className="@container/judge-model space-y-4"><LemonField.Pure label="Judge method"><LemonSegmentedButton<JudgeMethod>value={judgeMethod}onChange={setJudgeMethod}+ className="max-w-full"disabledReason={loading ? 'Loading model capabilities.' : undefined}options={[- { value: 'llm', label: 'LLM with explanation' },+ {+ value: 'llm',+ label: (+ <span className="whitespace-normal @min-[24rem]/judge-model:whitespace-nowrap">+ LLM with explanation+ </span>+ ),+ },{value: 'decision',- label: 'Decision model',+ label: (+ <span className="whitespace-normal @min-[24rem]/judge-model:whitespace-nowrap">+ Decision model+ </span>+ ),disabledReason: !featureFlags[FEATURE_FLAGS.LLM_ANALYTICS_SYSTEM_ONE_EVALUATIONS]? 'Decision model evaluations are not enabled for this project.': undefined,diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsxindex 276a77414f3b..bdc7141a0846 100644--- a/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsx+++ b/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsx@@ -28,8 +28,8 @@ const GUIDANCE_PLACEHOLDER ="Optional guidance for the report agent. e.g. 'Focus on cost regressions across models', 'Compare latency between gpt-4o-mini and claude-sonnet', 'Keep it to 2 sections max'"const FREQUENCY_OPTIONS = [- { value: 'every_n' as const, label: 'Every N evaluations' },- { value: 'scheduled' as const, label: 'On a schedule' },+ { value: 'every_n' as const, label: <span className="whitespace-normal">Every N evaluations</span> },+ { value: 'scheduled' as const, label: <span className="whitespace-normal">On a schedule</span> },]const SCHEDULE_OPTIONS = [@@ -283,9 +283,9 @@ function PendingReportConfig({ evaluationId }: { evaluationId: string }): JSX.Elconst { setDraftEnabled } = useActions(evaluationReportLogic({ evaluationId }))return (- <div className="bg-bg-light border rounded p-6">- <div className="flex items-center justify-between mb-4">- <div>+ <div className="bg-bg-light border rounded p-4 @min-[40rem]/evaluation:p-6">+ <div className="flex flex-wrap items-center justify-between gap-4 mb-4">+ <div className="flex-1 basis-64 min-w-0"><h3 className="text-lg font-semibold mb-1">Scheduled reports</h3><p className="text-muted text-sm">AI-generated analysis of evaluation results. Reports are always available in the Reports tab.@@ -317,10 +317,10 @@ function ExistingReportConfig({ evaluationId }: { evaluationId: string }): JSX.Econst isEnabled = configDraft.enabledreturn (- <div className="bg-bg-light border rounded p-6">- <div className="flex items-center justify-between mb-4">- <div className="space-y-1">- <div className="flex items-center gap-2">+ <div className="bg-bg-light border rounded p-4 @min-[40rem]/evaluation:p-6">+ <div className="flex flex-wrap items-center justify-between gap-4 mb-4">+ <div className="flex-1 basis-64 min-w-0 space-y-1">+ <div className="flex flex-wrap items-center gap-2"><h3 className="text-lg font-semibold m-0">Scheduled reports</h3>{isConfigDirty && <LemonTag type="warning">Unsaved changes</LemonTag>}</div>diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationTriggers.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationTriggers.tsxindex aceb37055236..590486ee9e7a 100644--- a/products/ai_observability/frontend/evaluations/components/EvaluationTriggers.tsx+++ b/products/ai_observability/frontend/evaluations/components/EvaluationTriggers.tsx@@ -77,8 +77,8 @@ export function EvaluationTriggers({ conditions, onChange, unit }: EvaluationTrireturn (<div key={condition.id} className="bg-bg-light border rounded p-4 space-y-4">{/* Header */}- <div className="flex justify-between items-center">- <div className="flex items-center gap-2">+ <div className="flex flex-wrap justify-between items-center gap-2">+ <div className="flex flex-wrap items-center gap-2"><h4 className="font-semibold">Condition set {index + 1}</h4>{current.length > 1 && (<div className="text-sm text-muted">{index === 0 ? 'IF' : 'OR IF'}</div>@@ -111,7 +111,7 @@ export function EvaluationTriggers({ conditions, onChange, unit }: EvaluationTriSampling percentage <span className="text-danger">*</span></label><div className="flex items-center gap-4 max-w-md">- <div className="flex-1">+ <div className="flex-1 min-w-0"><LemonSlidervalue={percentageValue}onChange={(value) => updateConditionSet(index, { rollout_percentage: value })}@@ -120,7 +120,7 @@ export function EvaluationTriggers({ conditions, onChange, unit }: EvaluationTristep={0.1}/></div>- <div className="w-24">+ <div className="w-24 shrink-0"><LemonInputtype="number"value={percentageValue}