: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(llma): migrate evaluation report date to the DatePicker seam (#65994)
Paul D'Ambra0e4be44ec002
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 5a86f35c8fd8..1837d4c4861a 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -5920,6 +5920,14 @@ snapshots:hash: v1.k794b7964.0bd456c6e964a5188af656808c54f4068db6ae276ee9900dea8b3a85dc3f4990.kHpau58sqxSbTZS-LCtQvnfQj8kPrD5H8GETjTYre0kscenes-app-links--new-link--light:hash: v1.k794b7964.fedeccb6543984d61d4f228b673aeaf2c95761a8bf0fe2c9635b537249dc62f0.YR2jcgFvFszd7KiEtQEyv9P2cNR_a2x4Bt9r12XsTlQ+ scenes-app-llm-observability-evaluationreportconfig--lemon-ui--dark:+ hash: v1.k794b7964.ea1d41ff2374dfb11c34da6ffd8cab617c7d7e1a6a56cbdd3f0b3652e46948fe._oVFINCGLFekpJ7m3HFlj3I2IBMuwOMprKKohgYuFYM+ scenes-app-llm-observability-evaluationreportconfig--lemon-ui--light:+ hash: v1.k794b7964.b7fc455fa57f70b3dc164343efdecea1670f7e14bcaa10f215436947bfd92120.bOhaqNZXO-r7IoPj8bUPzboNgadBnZIAgdvJZTnOeKY+ scenes-app-llm-observability-evaluationreportconfig--quill--dark:+ hash: v1.k794b7964.989accfb90b12ec723c89fc011406204615db596cc531fa88e2185115de7f0bf.edcf-JYMawJKfGOrxMrjTa25lFfAxPqklB9t3Xiz9YQ+ scenes-app-llm-observability-evaluationreportconfig--quill--light:+ hash: v1.k794b7964.f6cf1c4a9d5417eec0cffde1d81a336ea920c8eac323334a1f9bba11b780da2c.pkcKNQUEVMgNLrrsOh8zYVEXVLi6hctTko8gSQipd0Qscenes-app-marketing-analytics-cell-actions--campaign-cell-action-globally-mapped--dark:hash: v1.k794b7964.47e8408d2f77c9f828bb80911c0a0498cdb3d717059e7aab93523120605390ff.kLOGkmaZPnCOJ3r0lZnRJjkuvSIKbkgKqXRjTqvm6MEscenes-app-marketing-analytics-cell-actions--campaign-cell-action-globally-mapped--light:diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.stories.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.stories.tsxnew file mode 100644index 000000000000..2adbf3014a49--- /dev/null+++ b/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.stories.tsx@@ -0,0 +1,42 @@+import type { Meta, StoryObj } from '@storybook/react'+import { useState } from 'react'++import { FEATURE_FLAGS } from 'lib/constants'++import { ScheduleConfig } from './EvaluationReportConfig'++type Story = StoryObj<typeof ScheduleConfig>+const meta: Meta<typeof ScheduleConfig> = {+ title: 'Scenes-App/LLM observability/EvaluationReportConfig',+ component: ScheduleConfig,+ parameters: {+ mockDate: '2026-01-15',+ },+ tags: ['autodocs'],+}+export default meta++function Template(): JSX.Element {+ const [rrule, setRrule] = useState('FREQ=DAILY')+ const [startsAt, setStartsAt] = useState<string | null>('2026-01-15T09:30:00.000Z')+ const [timezoneName, setTimezoneName] = useState('UTC')+ return (+ <div className="w-100">+ <ScheduleConfig+ rrule={rrule}+ startsAt={startsAt}+ timezoneName={timezoneName}+ onRruleChange={setRrule}+ onStartsAtChange={setStartsAt}+ onTimezoneChange={setTimezoneName}+ />+ </div>+ )+}++export const LemonUI: Story = { render: () => <Template /> }++export const Quill: Story = {+ render: () => <Template />,+ parameters: { mockDate: '2026-01-15', featureFlags: [FEATURE_FLAGS.QUILL_DATE_PICKER] },+}diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsxindex 881e7782f81f..fd91b9200fff 100644--- a/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsx+++ b/products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.tsx@@ -1,16 +1,9 @@import { useActions, useValues } from 'kea'-import {- LemonCalendarSelectInput,- LemonDialog,- LemonInput,- LemonSelect,- LemonSwitch,- LemonTag,- LemonTextArea,-} from '@posthog/lemon-ui'+import { LemonDialog, LemonInput, LemonSelect, LemonSwitch, LemonTag, LemonTextArea } from '@posthog/lemon-ui'import { IntegrationChoice } from 'lib/components/CyclotronJob/integrations/IntegrationChoice'+import { DatePicker } from 'lib/components/DatePicker/DatePicker'import { dayjs } from 'lib/dayjs'import { integrationsLogic } from 'lib/integrations/integrationsLogic'import { SlackChannelPicker, SlackNotConfiguredBanner } from 'lib/integrations/SlackIntegrationHelpers'@@ -39,7 +32,7 @@ const TRIGGER_THRESHOLD_MAX = 10_000/** RRULE + starts_at + timezone inputs shown when frequency is 'scheduled'.* Accepts a raw RRULE string (RFC 5545) — matches the HogFlowSchedule contract in* products/workflows. A richer picker (RecurringSchedulePicker) can replace this later. */-function ScheduleConfig({+export function ScheduleConfig({rrule,startsAt,timezoneName,@@ -63,14 +56,14 @@ function ScheduleConfig({</div><div><label className="font-semibold text-sm">Starts at</label>- <LemonCalendarSelectInput- buttonProps={{ fullWidth: true }}+ <DatePickerformat="MMMM D, YYYY h:mm A"clearablevalue={startsAt ? dayjs(startsAt) : null}onChange={(d) => onStartsAtChange(d ? d.toISOString() : null)}granularity="minute"showTimeToggle={false}+ maxDate={dayjs().add(5, 'year')}/><p className="text-xs text-muted mt-1">Anchor datetime used when expanding the RRULE. Used as the first occurrence for plain frequencies.