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.

fix(workflows): show archived broadcasts like archived workflows in the list (#109505)

Daniel Marchuk2637b3096c6f
diff --git a/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx b/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx
index 031922432f27..f230211bc1ff 100644
--- a/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx
+++ b/products/workflows/frontend/Broadcasts/BroadcastsTable.tsx
@@ -1,6 +1,6 @@
import { useActions, useValues } from 'kea'
-import { LemonInput, LemonSelect, LemonTag } from '@posthog/lemon-ui'
+import { LemonInput, LemonSelect, LemonTag, Tooltip } from '@posthog/lemon-ui'
import { MemberSelect } from 'lib/components/MemberSelect'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
@@ -48,11 +48,19 @@ export function BroadcastsTable(): JSX.Element {
key: 'name',
render: (_, item) => (
<div className="flex items-center gap-2">
- <LemonTableLink
- to={urls.broadcast(item.id)}
- title={item.name || 'Untitled broadcast'}
- description={item.description}
- />
+ {item.status === 'archived' ? (
+ <Tooltip title="Restore this broadcast to make changes">
+ <span className="font-semibold text-sm text-muted">
+ {item.name || 'Untitled broadcast'}
+ </span>
+ </Tooltip>
+ ) : (
+ <LemonTableLink
+ to={urls.broadcast(item.id)}
+ title={item.name || 'Untitled broadcast'}
+ description={item.description}
+ />
+ )}
{isEligibleWorkflow(item) && (
<LemonTag
type="muted"