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.

608 B
Raw Blame
import { useValues } from 'kea'

import { LemonBadge } from '@posthog/lemon-ui'

import { workflowsSetupGuideLogic } from './workflowsSetupGuideLogic'

/** The "Messaging" tab label, with a dot while a person who chose messaging has setup steps open. */
export function MessagingSetupTabLabel(): JSX.Element {
    const { showMessagingReminder } = useValues(workflowsSetupGuideLogic)

    return (
        <span className="flex items-center gap-1">
            <span>Messaging</span>
            {showMessagingReminder && <LemonBadge status="warning" size="small" position="none" />}
        </span>
    )
}