: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(workflows): remove the incident banner from the broadcasts list (#129957)
Harley Alexander85bcc78a0641
diff --git a/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx b/products/workflows/frontend/Broadcasts/BroadcastsTable.tsxindex 56680606e8e6..c6425a92953a 100644--- a/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx+++ b/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx@@ -5,7 +5,6 @@ import { LemonInput, LemonSelect, Tooltip } from '@posthog/lemon-ui'import { MemberSelect } from 'lib/components/MemberSelect'import { ObjectTags } from 'lib/components/ObjectTags/ObjectTags'import { TagSelect } from 'lib/components/TagSelect'-import { dayjs } from 'lib/dayjs'import { LemonButton } from 'lib/lemon-ui/LemonButton'import { More } from 'lib/lemon-ui/LemonButton/More'import { LemonTable, LemonTableColumns } from 'lib/lemon-ui/LemonTable'@@ -16,7 +15,6 @@ import { urls } from 'scenes/urls'import type { HogFlowMinimalApi } from 'products/workflows/frontend/generated/api.schemas'-import { EmailMetricsIncidentBanner } from '../EmailMetricsIncidentBanner'import { archiveDisabledReason, manageDisabledReason } from './broadcastLifecycle'import { emailEngagement } from './broadcastPerformanceLogic'import { BroadcastsEmptyState } from './BroadcastsEmptyState'@@ -193,14 +191,6 @@ export function BroadcastsTable(): JSX.Element {},]- // Each row counts its latest send from the start of that run until now.- const earliestEmailRunStart = (hideRows ? [] : broadcasts.results)- .filter((item) => getBroadcastChannel(item.actions as any) !== 'push')- .map((item) => rowDetailsById[item.id]?.latestBatchJob?.created_at)- .filter((createdAt): createdAt is string => !!createdAt)- .map((createdAt) => dayjs(createdAt))- .sort((a, b) => a.diff(b))[0]-const isEmpty =hasLoadedBroadcasts &&!broadcastsLoading &&@@ -215,7 +205,6 @@ export function BroadcastsTable(): JSX.Element {return (<div className="flex flex-col gap-2">- {earliestEmailRunStart ? <EmailMetricsIncidentBanner dateFrom={earliestEmailRunStart} /> : null}<div className="flex flex-wrap items-center justify-between gap-2"><LemonInputtype="search"