: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
import { LemonBanner } from '@posthog/lemon-ui'
import { urls } from 'scenes/urls'
/**
* Shown by a tab whose data endpoints report no GitHub source. The scene-level empty state
* covers a project that never connected one; this covers a source removed while the scene
* is open, so the tab still says what to do instead of showing a failed load.
*/
export function ConnectGitHubSource(): JSX.Element {
return (
<LemonBanner
type="info"
action={{
children: 'Connect GitHub source',
to: urls.dataWarehouseSourceNew('Github'),
'data-attr': 'engineering-analytics-connect-github',
}}
>
No GitHub source is connected. Connect one to see pull requests and workflow runs here.
</LemonBanner>
)
}