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.

1.0 KB
Raw Blame
import { FeaturePreviewFeedbackBanner } from '../FeaturePreviewFeedbackBanner'
import {
    BROADCASTS_FEEDBACK_RATING_QUESTION_ID,
    BROADCASTS_FEEDBACK_SURVEY_ID,
    BROADCASTS_FEEDBACK_TEXT_QUESTION_ID,
} from './broadcastsFeedbackSurvey'

export function BroadcastsFeaturePreview(): JSX.Element {
    return (
        <FeaturePreviewFeedbackBanner
            surveyId={BROADCASTS_FEEDBACK_SURVEY_ID}
            ratingQuestionId={BROADCASTS_FEEDBACK_RATING_QUESTION_ID}
            feedbackQuestionId={BROADCASTS_FEEDBACK_TEXT_QUESTION_ID}
            surface="broadcasts"
            dismissKey="broadcasts-feature-preview"
            prompt="Broadcasts is new. Is it doing what you need?"
            feedbackTitle="Help shape broadcasts"
            feedbackPlaceholder="Tell us what works, what doesn’t, or what you’d change"
            // Line up with the search box and table below, which sit flush with the tab content.
            className="my-2"
            data-attr="broadcasts-feature-preview"
        />
    )
}