Skip to content

docs(replay): update kmp 0.11 and react native plugin 3.0 replay onboarding - #125537

Draft
turnipdabeets wants to merge 13 commits into
masterfrom
docs/mobile-replay-drop-wireframe
Draft

turnipdabeets wants to merge 13 commits into
masterfrom
docs/mobile-replay-drop-wireframe

Conversation

@turnipdabeets

@turnipdabeets turnipdabeets commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Important

Draft until posthog-kmp 0.11.0 (PostHog/posthog-kmp#108, waiting on posthog-android 4.0 and posthog-ios 4.0) and @posthog/react-native-plugin 3.0 both ship. Merge together with PostHog/posthog.com#22013 (KMP) and PostHog/posthog.com#20922 (React Native). If the two releases land apart, split out the React Native changes (both react-native.tsx onboarding files) so onboarding doesn't show 3.0 requirements or @3 installs before 3.0 is on npm.

Problem

Kotlin Multiplatform users who copy the replay onboarding sample into a posthog-kmp 0.11 app get a compile error. The sample sets screenshot, which 0.11 removes because the native Android and iOS 4.0 SDKs always record screenshots (PostHog/posthog-kmp#109).

React Native replay onboarding says iOS 13+. @posthog/react-native-plugin 3.0 (PostHog/posthog-js#5194) moves to the native 4.0 SDKs, which need iOS 15+, Xcode 26+ and React Native 0.75+.

Changes

  • The KMP replay sample drops screenshot = false and its comment, uses throttleDelayMs instead of the deprecated debouncerDelayMs, and shows the experimental Android-only verifyScreenshotMaskAlignment (default false). It now requires posthog-kmp 0.11.0, and the callout says replay is ignored on JVM and macOS targets. The file also renders on posthog.com.
  • The React Native replay and error tracking onboarding install @posthog/react-native-plugin@3 instead of @2 (80d338a, from @gewenyu99).
  • The React Native replay requirements now read React Native 0.75+, Android API 26+, iOS 15+ and Xcode 26+, and note that React Native 0.75/0.76 apps (Expo SDK 52 included) need Kotlin 2.0 or later on Android. The error tracking onboarding states the plugin 3.0 requirements next to its install line.
  • The React Native note for apps below posthog-react-native 4.47.0 now says not to install posthog-react-native-session-replay alongside plugin 3.0, because its pod installs posthog-ios 3.x and the build fails with Redefinition of module 'PostHog'.
  • Deletes the unused sdk-install-instructions/react-native.tsx and its export. Nothing imports SDKInstallRNInstructions, and it still installed posthog-react-native-session-replay.
  • The Android and iOS replay changes moved to docs(onboarding): update android onboarding for posthog-android 4.0 #129665 and docs(onboarding): update ios onboarding for posthog-ios 4.0 #129618, so each one merges with its own 4.0 release.

How did you test this code?

Test rationale: Docs-only changes to code samples in template strings. No test covers this copy.

Not rendered locally.

Release status

  • No feature flag controls this change

Docs update

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Agent: Claude Code, Opus 5.5

Skills: /posthog-docs, /karpathy-guidelines

More context for AI agents
  • Regrouped by release: this PR started as the Android, iOS and KMP replay change. The Android and iOS files moved to the 4.0 onboarding PRs. It keeps KMP and the React Native replay requirements, which ship with React Native plugin 3.0.
  • No duplicate: no open PR touches these files.
  • Public artifact: nothing in this PR comes from non-public material.

🤖 Generated with Claude Code

posthog-android 4.0 and posthog-ios 4.0 always record masked screenshots and
remove `screenshot`, `screenshotMode` and `screenshotModeBackgroundCapture`.
KMP removes `SessionRecordingConfig.screenshot` with them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets turnipdabeets self-assigned this Oct 29, 2026
@trunk-io

trunk-io Bot commented Oct 29, 2026

Copy link
Copy Markdown

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@turnipdabeets turnipdabeets added the skip-inkeep-docs Use this label to skip an Inkeep docs PR in posthog.com label Oct 29, 2026
@github-actions github-actions Bot added the docs Improvements or additions to documentation label Oct 29, 2026
@hosthog

hosthog Bot commented Oct 29, 2026

Copy link
Copy Markdown

HostHog preview — posthog-desktop-web

Latest build (6426ddc): https://9b04871f2e974432953e4532eed8f268.hosthog.dev

Employee-gated; every push gets a fresh URL whose content never changes. All previews stop serving when the PR closes.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🤖 CI report

✅ Trunk lane — non-backend lane

This PR is assigned to the non-backend lane. It does not run backend Python tests and may merge in parallel with PRs in other lanes.

✅ Complexity (TypeScript) — clean

Cyclomatic complexity above the limit in changed typescript files (10 for production files, 15 for test files). Warn only: worth simplifying when you next touch these functions.

✅ Duplication (Python) — clean

New Python code duplication introduced by this branch. Fails at 70+ tokens in app code, or 150+ tokens when both copies live in test files. Advisory while the gate proves itself: extract a shared helper instead of copying.

✅ Duplication (TypeScript) — clean

New TypeScript code duplication introduced by this branch. Fails at 70+ tokens in app code, or 150+ tokens when both copies live in test files. Advisory while the gate proves itself: extract a shared helper instead of copying.

⚠️ Bundle size — 🔺 +1.56 MiB (+2.0%)

Uncompressed size of every built .js bundle, compared against the base branch.

Total: 79.76 MiB · 🔺 +1.56 MiB (+2.0%)

File Size Δ vs base
posthog-app/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene.js 267.4 KiB 🔺 +250.0 KiB (+1438.6%)
render-query/src/render-query/render-query.js 22.29 MiB 🔺 +220.9 KiB (+1.0%)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogSections.js 101.9 KiB 🔺 +55.4 KiB (+119.0%)
posthog-app/_parent/products/tracing/frontend/TracingScene.js 210.4 KiB 🔺 +42.1 KiB (+25.0%)
posthog-app/_parent/products/release/frontend/Release.js 42.1 KiB 🔺 +42.1 KiB (new)
exporter/src/queries/schema.js 1.48 MiB 🔺 +40.2 KiB (+2.7%)
posthog-app/src/queries/schema.js 1.48 MiB 🔺 +40.2 KiB (+2.7%)
posthog-app/src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.js 73.7 KiB 🔺 +39.9 KiB (+118.2%)
posthog-app/_parent/products/data_modeling/frontend/nodeDetail/NodeDetailScene.js 90.4 KiB 🔺 +39.7 KiB (+78.5%)
exporter/src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.js 71.5 KiB 🔺 +39.5 KiB (+123.5%)
posthog-app/src/scenes/feature-flags/FeatureFlag.js 144.6 KiB 🟢 -31.5 KiB (-17.9%)
posthog-app/_parent/products/workflows/frontend/Transactional/code/CodeEmailScene.js 31.5 KiB 🔺 +31.5 KiB (new)
posthog-app/_parent/products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorerScene.js 49.9 KiB 🔺 +24.9 KiB (+99.5%)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogScene.js 40.5 KiB 🔺 +19.5 KiB (+92.7%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/quill/QuillDiscussionPanel.js 19.1 KiB 🔺 +19.1 KiB (new)
exporter/src/queries/nodes/InsightViz/InsightViz.js 420.3 KiB 🔺 +18.9 KiB (+4.7%)
posthog-app/_parent/products/workflows/frontend/Transactional/TransactionalScene.js 84.6 KiB 🔺 +17.2 KiB (+25.5%)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogMetricScene.js 61.4 KiB 🟢 -16.2 KiB (-20.9%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.js 54.0 KiB 🟢 -15.9 KiB (-22.7%)
toolbar/src/toolbar/floating/components/flags/chunk-FlagComparisonDiff.js removed 🟢 -14.3 KiB (-100.0%)
toolbar/src/toolbar/shared/flags/chunk-FlagComparisonDiff.js 14.0 KiB 🔺 +14.0 KiB (new)
posthog-app/_parent/products/release/frontend/ReleaseCalendar.js 13.1 KiB 🔺 +13.1 KiB (new)
posthog-app/src/scenes/experiments/Experiment.js 458.5 KiB 🔺 +11.9 KiB (+2.7%)
exporter/src/scenes/web-analytics/WebAnalyticsInsight.js 209.8 KiB 🔺 +11.8 KiB (+5.9%)
exporter/_parent/products/workflows/frontend/Workflows/Workflow.js 212.8 KiB 🔺 +11.2 KiB (+5.5%)
posthog-app/_parent/products/release/frontend/ReleaseList.js 10.5 KiB 🔺 +10.5 KiB (new)
posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.js 152.3 KiB 🔺 +10.0 KiB (+7.0%)
posthog-app/_parent/products/notebooks/frontend/generated/api.js 8.7 KiB 🔺 +8.7 KiB (new)
posthog-app/src/scenes/project-homepage/today/TodayHome.js 54.2 KiB 🔺 +7.9 KiB (+17.1%)
posthog-app/_parent/products/signals/frontend/inbox/InboxScene.js 537.1 KiB 🟢 -7.8 KiB (-1.4%)
posthog-app/_parent/products/metrics/frontend/emptyState/metricsEmptyState.js 9.4 KiB 🔺 +7.8 KiB (+473.9%)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchPipelineScene.js 139.0 KiB 🔺 +7.5 KiB (+5.7%)
posthog-app/_parent/products/workflows/frontend/Broadcasts/BroadcastScene.js 152.4 KiB 🔺 +6.2 KiB (+4.3%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/quill/QuillCommentEditor.js 6.2 KiB 🔺 +6.2 KiB (new)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchNewScene.js 38.6 KiB 🔺 +6.1 KiB (+18.7%)
posthog-app/_parent/products/release/frontend/ReleaseSidebar.js 6.0 KiB 🔺 +6.0 KiB (new)
posthog-app/_parent/products/data_modeling/frontend/ModelsScene.js 32.8 KiB 🔺 +5.8 KiB (+21.6%)
posthog-app/_parent/products/data_quality/frontend/activityDescriber.js 5.1 KiB 🔺 +5.1 KiB (new)
posthog-app/_parent/products/apm/frontend/ApplicationObservabilityScene.js 27.8 KiB 🔺 +4.9 KiB (+21.2%)
posthog-app/_parent/products/metrics/frontend/MetricsScene.js 95.1 KiB 🟢 -4.8 KiB (-4.8%)
exporter/_parent/products/notebooks/frontend/generated/api.js 4.7 KiB 🔺 +4.7 KiB (new)
posthog-app/src/scenes/AuthenticatedShell.js 147.5 KiB 🟢 -4.7 KiB (-3.1%)
posthog-app/_parent/products/notebooks/frontend/NotebookDashboardWidget/QuillNotebookDashboardWidgetMenu.js 4.4 KiB 🔺 +4.4 KiB (new)
posthog-app/src/scenes/product-tours/ProductTour.js 198.6 KiB 🔺 +4.2 KiB (+2.1%)
toolbar/src/toolbar/floating/components/flags/chunk-FlagsToolbarMenu.js 13.8 KiB 🔺 +4.1 KiB (+43.1%)
exporter/_parent/products/data_quality/frontend/activityDescriber.js 4.0 KiB 🔺 +4.0 KiB (new)
posthog-app/src/scenes/project-homepage/today/TodayPulseInsightPreview.js 3.8 KiB 🔺 +3.8 KiB (new)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchScene.js 27.3 KiB 🔺 +3.7 KiB (+15.7%)
posthog-app/_parent/products/today/frontend/analytics/TodayAnalyticsSidebar.js 22.5 KiB 🔺 +3.7 KiB (+19.8%)
posthog-app/_parent/products/business_knowledge/frontend/scenes/sources/BusinessKnowledgeScene.js 33.0 KiB 🔺 +3.4 KiB (+11.5%)
posthog-app/_parent/products/workflows/frontend/WorkflowsScene.js 79.5 KiB 🔺 +3.4 KiB (+4.4%)
infrastructure-admin/_parent/products/tasks/frontend/infrastructure/infrastructure-admin.js 923.5 KiB 🔺 +3.3 KiB (+0.4%)
posthog-app/src/taxonomy/core-filter-definitions-by-group.js 292.0 KiB 🔺 +3.2 KiB (+1.1%)
toolbar/src/toolbar/floating/components/debug/chunk-EventDebugMenu.js 314.5 KiB 🔺 +3.2 KiB (+1.0%)
posthog-app/_parent/products/alerts_platform/frontend/platformAlertConfigurationActivityDescriber.js 3.1 KiB 🔺 +3.1 KiB (new)
posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene.js 185.1 KiB 🔺 +3.1 KiB (+1.7%)
exporter/_parent/products/notebooks/frontend/NotebookDashboardWidget/QuillNotebookDashboardWidgetMenu.js 3.0 KiB 🔺 +3.0 KiB (new)
posthog-app/_parent/products/webmcp/frontend/execTool.generated.js 42.0 KiB 🔺 +2.7 KiB (+6.9%)
posthog-app/src/layout/today/TodayShell.js 34.2 KiB 🔺 +2.4 KiB (+7.6%)
posthog-app/src/scenes/onboarding/Onboarding.js 794.4 KiB 🔺 +2.4 KiB (+0.3%)
posthog-app/_parent/products/feature_flags/frontend/staff/FeatureFlagsStaffToolsScene.js 68.4 KiB 🔺 +2.3 KiB (+3.5%)
posthog-app/src/lib/components/CommandKSearch/CommandKSearch.js 64.2 KiB 🔺 +2.2 KiB (+3.6%)
exporter/_parent/products/alerts_platform/frontend/platformAlertConfigurationActivityDescriber.js 2.1 KiB 🔺 +2.1 KiB (new)
posthog-app/src/scenes/hog-functions/HogFunctionScene.js 73.6 KiB 🔺 +1.9 KiB (+2.6%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene.js 14.0 KiB 🔺 +1.8 KiB (+15.1%)
posthog-app/_parent/products/workflows/frontend/Workflows/WorkflowScene.js 129.1 KiB 🔺 +1.8 KiB (+1.4%)
posthog-app/_parent/products/persons/frontend/pages/PersonScene.js 59.8 KiB 🔺 +1.7 KiB (+2.9%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/WarehouseDestinationsScene/WarehouseDestinationsScene.js 15.1 KiB 🔺 +1.7 KiB (+12.3%)
posthog-app/_parent/products/groups/frontend/pages/Group.js 49.2 KiB 🔺 +1.6 KiB (+3.4%)
posthog-app/src/scenes/notebooks/NotebookCanvasScene.js 39.3 KiB 🔺 +1.6 KiB (+4.3%)
posthog-app/src/scenes/notebooks/NotebookPanel/NotebookPanel.js 40.4 KiB 🔺 +1.6 KiB (+4.2%)
exporter/_parent/products/workflows/frontend/Channels/ChannelSetupModal.js 117.5 KiB 🔺 +1.6 KiB (+1.4%)
posthog-app/_parent/products/ai_observability/frontend/offline-evaluations/OfflineExperimentScene.js 37.0 KiB 🔺 +1.6 KiB (+4.5%)
posthog-app/src/scenes/notebooks/NotebookScene.js 49.7 KiB 🔺 +1.6 KiB (+3.3%)
posthog-app/_parent/products/dashboards/frontend/widgets/AddWidgetModal.js 37.1 KiB 🔺 +1.5 KiB (+4.3%)
posthog-app/src/scenes/cohorts/Cohort.js 54.2 KiB 🔺 +1.5 KiB (+2.8%)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilityScene.js 175.3 KiB 🔺 +1.5 KiB (+0.8%)
posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.js 80.3 KiB 🔺 +1.4 KiB (+1.8%)
posthog-app/_parent/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.js 22.4 KiB 🔺 +1.4 KiB (+6.5%)
posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene.js 113.4 KiB 🔺 +1.4 KiB (+1.2%)
exporter/src/exporter/scenes/ExporterNotebookScene.js 3.90 MiB 🔺 +1.4 KiB (+0.0%)
posthog-app/_parent/products/metrics/frontend/dashboardReview/MetricsDashboardReviewScene.js 32.4 KiB 🔺 +1.3 KiB (+4.3%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene.js 55.5 KiB 🔺 +1.3 KiB (+2.5%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.js 98.6 KiB 🔺 +1.3 KiB (+1.3%)
posthog-app/_parent/products/logs/frontend/LogsScene.js 52.1 KiB 🔺 +1.3 KiB (+2.6%)
posthog-app/src/scenes/marketing-analytics/MarketingAnalyticsScene.js 213.4 KiB 🔺 +1.3 KiB (+0.6%)
posthog-app/_parent/products/workflows/frontend/Broadcasts/BroadcastsScene.js 39.3 KiB 🔺 +1.3 KiB (+3.4%)
posthog-app/_parent/products/ai_observability/frontend/offline-evaluations/OfflineExperimentsScene.js 39.0 KiB 🔺 +1.3 KiB (+3.4%)
posthog-app/src/scenes/analytics/AnalyticsList.js 31.4 KiB 🟢 -1.3 KiB (-3.9%)
posthog-app/_parent/products/product_analytics/frontend/insights/explainChart/InsightExplainChart.js 41.9 KiB 🔺 +1.3 KiB (+3.1%)
posthog-app/src/scenes/max/Max.js 41.4 KiB 🔺 +1.2 KiB (+3.1%)
posthog-app/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene.js 29.9 KiB 🔺 +1.2 KiB (+4.3%)
posthog-app/_parent/products/business_intelligence/frontend/BusinessIntelligenceScene.js 184.8 KiB 🔺 +1.2 KiB (+0.7%)
posthog-app/src/scenes/session-recordings/settings/SessionRecordingsSettingsScene.js 26.4 KiB 🔺 +1.2 KiB (+4.8%)
posthog-app/_parent/products/product_analytics/frontend/insights/savedInsights/SavedInsights.js 45.2 KiB 🔺 +1.2 KiB (+2.7%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.js 79.1 KiB 🔺 +1.2 KiB (+1.5%)
posthog-app/src/scenes/startups/StartupProgram.js 237.0 KiB 🔺 +1.2 KiB (+0.5%)
posthog-app/src/lib/components/RichContentEditor/LemonRichContentEditor.js 3.3 KiB 🔺 +1.2 KiB (+54.8%)
exporter/src/lib/hog.js 487.8 KiB 🔺 +1.2 KiB (+0.2%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/support/SidePanelSupport.js 11.4 KiB 🔺 +1.2 KiB (+11.5%)
posthog-app/_parent/products/conversations/frontend/components/ComposeTicket/ComposeTicketModal.js 5.5 KiB 🔺 +1.2 KiB (+27.3%)
posthog-app/src/scenes/settings/SettingsScene.js 25.5 KiB 🔺 +1.2 KiB (+4.8%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene.js 23.5 KiB 🔺 +1.2 KiB (+5.3%)
posthog-app/_parent/products/canvas/frontend/scene/CanvasScene.js 57.5 KiB 🔺 +1.2 KiB (+2.1%)
posthog-app/_parent/products/billing_alerts/frontend/BillingAlerts.js 27.0 KiB 🔺 +1.2 KiB (+4.5%)
posthog-app/_parent/products/error_tracking/frontend/posthogAi/ErrorTrackingWidget.js 22.6 KiB 🔺 +1.2 KiB (+5.5%)
posthog-app/_parent/products/dashboards/frontend/widgets/session_replay/SessionReplayWidget.js 7.8 KiB 🔺 +1.2 KiB (+17.7%)
posthog-app/_parent/products/workflows/frontend/Workflows/hogflows/filters/HogFlowTaxonomicFilters.js 7.3 KiB 🔺 +1.2 KiB (+19.2%)
posthog-app/src/layout/today/TodaySettingsSidebar.js 23.9 KiB 🔺 +1.2 KiB (+5.2%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/SidePanelDiscussion.js 6.9 KiB 🔺 +1.2 KiB (+20.5%)
posthog-app/_parent/products/alerts/frontend/logic/insightAlertsLogic.js 6.1 KiB 🔺 +1.2 KiB (+23.6%)
posthog-app/_parent/products/subscriptions/frontend/components/Subscriptions/SubscriptionsModal.js 7.1 KiB 🔺 +1.2 KiB (+19.7%)
posthog-app/src/scenes/max/components/AiFirstMaxInstance.js 27.5 KiB 🔺 +1.2 KiB (+4.4%)
posthog-app/src/scenes/max/Thread.js 26.9 KiB 🔺 +1.2 KiB (+4.5%)
posthog-app/_parent/products/dashboards/frontend/dashboards/Dashboards.js 45.2 KiB 🔺 +1.1 KiB (+2.6%)
posthog-app/_parent/products/dashboards/frontend/widgets/experiments/ExperimentsListWidget.js 7.5 KiB 🔺 +1.1 KiB (+18.1%)
posthog-app/_parent/products/feature_flags/frontend/FeatureFlagCodeTab.js 21.6 KiB 🔺 +1.1 KiB (+5.6%)
posthog-app/src/scenes/analytics/AnalyticsProductHome.js 19.6 KiB 🔺 +1.1 KiB (+6.1%)
posthog-app/_parent/products/analytics_platform/frontend/PrecomputeDebugScene.js 8.9 KiB 🔺 +1.1 KiB (+14.7%)
posthog-app/_parent/products/canvas/frontend/list/CanvasesScene.js 9.5 KiB 🔺 +1.1 KiB (+13.6%)
posthog-app/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetsScene.js 3.4 KiB 🔺 +1.1 KiB (+50.0%)
posthog-app/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene.js 21.3 KiB 🔺 +1.1 KiB (+5.6%)
posthog-app/src/scenes/settings/SettingsMap.js 21.2 KiB 🔺 +1.1 KiB (+5.6%)
posthog-app/src/scenes/workload-trust-policy-request/WorkloadTrustPolicyRequestScene.js 9.7 KiB 🔺 +1.1 KiB (+13.1%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/activity/SidePanelActivity.js 11.6 KiB 🔺 +1.1 KiB (+10.8%)
posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptScene.js 61.1 KiB 🔺 +1.1 KiB (+1.9%)
posthog-app/_parent/products/dashboards/frontend/widgets/metrics/EditMetricsTableWidgetModal.js 12.5 KiB 🔺 +1.1 KiB (+9.8%)
posthog-app/_parent/products/dashboards/frontend/widgets/experiments/ExperimentResultsWidget.js 9.0 KiB 🔺 +1.1 KiB (+14.2%)
posthog-app/src/queries/nodes/DataVisualization/DataVisualization.js 59.4 KiB 🔺 +1.1 KiB (+1.9%)
posthog-app/_parent/products/conversations/frontend/activityDescriber.js 6.8 KiB 🔺 +1.1 KiB (+19.5%)
posthog-app/src/scenes/integrations/IntegrationsLandingScene.js 4.1 KiB 🔺 +1.1 KiB (+37.1%)
posthog-app/src/scenes/data-pipelines/batch-exports/BatchExportScene.js 86.5 KiB 🔺 +1.1 KiB (+1.3%)
posthog-app/_parent/products/cross_project_dashboards/frontend/CrossProjectDashboardScene.js 47.4 KiB 🔺 +1.1 KiB (+2.4%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SourceScene/SourceScene.js 9.3 KiB 🔺 +1.1 KiB (+13.4%)
posthog-app/src/lib/components/RichContentEditor/RichContentMention.js 2.4 KiB 🔺 +1.1 KiB (+83.6%)
posthog-app/src/scenes/dashboard/Dashboard.js 18.4 KiB 🔺 +1.1 KiB (+6.3%)
posthog-app/_parent/products/workflows/frontend/TemplateLibrary/MessageTemplate.js 44.3 KiB 🔺 +1.1 KiB (+2.5%)
posthog-app/_parent/products/tracing/frontend/components/TraceDialog/TraceDialog.js 21.2 KiB 🔺 +1.1 KiB (+5.4%)
posthog-app/_parent/products/tracing/frontend/components/TraceEmbed/TraceEmbed.js 17.9 KiB 🔺 +1.1 KiB (+6.4%)
posthog-app/_parent/products/endpoints/frontend/EndpointScene.js 68.3 KiB 🔺 +1.1 KiB (+1.6%)
posthog-app/_parent/products/mcp_analytics/frontend/emptyState/mcpAnalyticsEmptyState.js 5.7 KiB 🔺 +1.1 KiB (+22.9%)
posthog-app/_parent/products/mcp_store/frontend/gateway/GatewayAgentScene.js 2.8 KiB 🔺 +1.1 KiB (+62.7%)
posthog-app/_parent/products/mcp_store/frontend/gateway/GatewayMemberScene.js 2.8 KiB 🔺 +1.1 KiB (+62.6%)
posthog-app/src/lib/components/TerraformExporter/TerraformExportModal.js 3.7 KiB 🔺 +1.1 KiB (+40.2%)
posthog-app/_parent/products/posthog_ai/frontend/scenes/TaskTracker/TaskTracker.js 112.2 KiB 🔺 +1.1 KiB (+0.9%)
posthog-app/_parent/products/conversations/frontend/scenes/ticket/SupportTicketScene.js 87.7 KiB 🔺 +1.0 KiB (+1.2%)
posthog-app/_parent/products/product_analytics/frontend/insights/insightScene/InsightScene.js 71.7 KiB 🟢 -1.0 KiB (-1.4%)
posthog-app/src/scenes/surveys/wizard/SurveyWizard.js 77.2 KiB 🔺 +1.0 KiB (+1.4%)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilityUsers.js 14.0 KiB 🔺 +1.0 KiB (+7.9%)
posthog-app/_parent/products/logs/frontend/components/LogsViewer/LogsViewerModal/LogsViewerModal.js 13.8 KiB 🔺 +1.0 KiB (+8.0%)
posthog-app/_parent/products/tasks/frontend/spaces/SpaceScene.js 71.7 KiB 🔺 +1.0 KiB (+1.5%)
posthog-app/_parent/products/experiments/frontend/scenes/ExperimentsScene.js 58.4 KiB 🔺 +1.0 KiB (+1.8%)
posthog-app/_parent/products/ai_observability/frontend/evaluations/EvaluationsScene.js 61.5 KiB 🔺 +1.0 KiB (+1.7%)
posthog-app/_parent/products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorersScene.js 22.5 KiB 🔺 +1.0 KiB (+4.7%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene.js 17.1 KiB 🔺 +1.0 KiB (+6.3%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/components/ScannerScanTab.js 49.2 KiB 🔺 +1.0 KiB (+2.1%)
posthog-app/src/scenes/project-homepage/today/TodayReportPage.js 63.5 KiB 🔺 +1.0 KiB (+1.6%)
exporter/_parent/products/metrics/frontend/nodes/nodes.js 127.0 KiB 🔺 +1.0 KiB (+0.8%)
posthog-app/_parent/products/replay_vision/frontend/observations/ReplayObservation.js 43.0 KiB 🔺 +1.0 KiB (+2.4%)
posthog-app/_parent/products/metrics/frontend/nodes/nodes.js 16.1 KiB 🔺 +1022 B (+6.6%)
posthog-app/_parent/products/workflows/frontend/Workflows/Workflow.js 13.9 KiB 🔺 +1020 B (+7.7%)
exporter/_parent/products/dashboards/frontend/widgets/AddWidgetModal.js 31.5 KiB 🔺 +1019 B (+3.3%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/components/ScannerAlertsTab.js 40.6 KiB 🔺 +1018 B (+2.5%)
posthog-app/src/scenes/session-recordings/kiosk/SessionRecordingsKiosk.js 22.5 KiB 🔺 +1018 B (+4.6%)
posthog-app/_parent/products/endpoints/frontend/EndpointsScene.js 44.0 KiB 🔺 +1013 B (+2.3%)
posthog-app/src/scenes/data-management/definition/DefinitionView.js 50.6 KiB 🔺 +1012 B (+2.0%)
posthog-app/_parent/products/marketing_analytics/frontend/ConversionRecordingsModal.js 18.3 KiB 🔺 +1008 B (+5.7%)
posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunScene.js 69.1 KiB 🔺 +1007 B (+1.4%)
posthog-app/src/scenes/session-recordings/file-playback/SessionRecordingFilePlaybackScene.js 17.3 KiB 🔺 +1003 B (+6.0%)
posthog-app/src/scenes/sessions/SessionProfileScene.js 28.5 KiB 🔺 +1002 B (+3.6%)

Posted automatically by build-bundle-size-report · uncompressed bytes from dist-report

⚠️ Eager graph — 2 over budget

How much code each root ships on the eager path — downloaded and parsed before the surface is interactive. Measured from the esbuild output chunks (post-tree-shake, static imports only); lazy import() / React.lazy chunks are not counted.

Root Eager (shipped) Δ vs base Budget
entry (logged-out pages, app bootstrap)
src/index.tsx
1.05 MiB · 26 files 🔺 +9.7 KiB (+0.9%) █████████░ 91.8% of 1.14 MiB
logged-out boot: index + App + bootApp (preloaded by every page, including /login)
src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
2.87 MiB · 539 files 🟢 -161.9 KiB (-5.2%) ██████████ 99.3% of 2.89 MiB
authenticated shell (every logged-in page)
src/scenes/AuthenticatedShell.tsx
3.90 MiB · 1,238 files 🔺 +43.4 KiB (+1.1%) ██████████ 99.9% of 3.91 MiB
dashboard scene
src/scenes/dashboard/Dashboard.tsx
7.91 MiB · 3,056 files 🔺 +166.1 KiB (+2.1%) ██████████ 100.0% of 7.92 MiB
🟡 today home path
src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
4.90 MiB · 1,873 files 🔺 +73.0 KiB (+1.5%) ██████████ 100.4% of 4.88 MiB
🟡 AI-first home path
src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
6.13 MiB · 2,299 files 🔺 +78.0 KiB (+1.3%) ██████████ 100.1% of 6.13 MiB
events scene
src/scenes/activity/explore/EventsScene.tsx
6.86 MiB · 2,573 files 🔺 +94.4 KiB (+1.4%) ██████████ 99.4% of 6.91 MiB
web analytics scene
src/scenes/web-analytics/WebAnalyticsScene.tsx
7.92 MiB · 2,967 files 🔺 +92.6 KiB (+1.2%) ██████████ 99.5% of 7.96 MiB
replay detail scene
src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
7.05 MiB · 2,628 files 🔺 +90.9 KiB (+1.3%) ██████████ 99.4% of 7.09 MiB

🟢 node_modules/monaco-editor/ stays out of src/index.tsx
🟢 products/product_analytics/frontend/insights/activityDescriptions stays out of src/index.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/svg/ stays out of src/index.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/components/ stays out of src/index.tsx
🟢 node_modules/monaco-editor/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/lemon-ui/LemonTable/LemonTable.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/@dnd-kit/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/layout/navigation-3000/navigationLogic.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/scenes/dashboard/dashboardLogic.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/lemon-ui/LemonMarkdown/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/components/RichContentEditor/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/components/CodeSnippet/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/taxonomy/core-filter-definitions-by-group.json stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/zod/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/logic/billing/billingLogic.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/components/ProductEmptyState/productSetupPreloadLogic.ts stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/kea-test-utils/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/monaco-editor/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/product_analytics/frontend/insights/activityDescriptions stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/dashboards/frontend/widgets/previews/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/session-recordings/player/sessionRecordingPlayerLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/panel-layout/ProjectTree/menus/SessionReplayMenuItems.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/taxonomy/core-filter-definitions-by-group.json stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/navigation/projectNoticeLogic.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/navigation/ImpersonationNotice/ImpersonationNotice.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/cohorts/cohortSavedToast.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/wizard/frontend/runs/WizardRunDetailsDrawer.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodayShell.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodayContextPanelFloating.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodaySidePanel.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodayTopBar.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/todayRailItems.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/subscriptions/frontend/components/Subscriptions/exportNudge/exportNudgeLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/billing/paymentEntryLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/conversations/frontend/components/SidePanel/sidepanelTicketsLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/zod/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/authentication/auth/loginLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/authentication/shared/passkeyLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/cohorts/CohortFilters/constants.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/persons/frontend/logics/personsLogic.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/surveys/constants.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/re2js/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/react-markdown/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/lib/components/Command/Command.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 packages/quill/packages/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 zod/v4/locales/de.js stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/svg/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/components/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/marked/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/frimousse/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/queries/validators.js stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/queries/web-analytics-validators.js stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/re2js/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/scenes/debug/HogDebug.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/queries/QueryEditor/QueryEditor.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 src/scenes/project-homepage/today/TodayReportPage.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 src/queries/Query/Query.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 packages/quill/packages/charts/ stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 products/posthog_ai/frontend/components/tool/widgets/VisualizationWidget.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 products/posthog_ai/frontend/components/tool/widgets/RecordingsWidget.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 src/queries/Query/Query.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 products/posthog_ai/frontend/api/primitives.ts stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 src/scenes/notebooks/Notebook/notebookLogic.ts stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/marked/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/frimousse/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/validators.js stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/web-analytics-validators.js stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/re2js/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/nodes/InsightViz/InsightViz.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/nodes/DataVisualization/DataVisualization.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/nodes/WebOverview/WebOverview.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/scenes/debug/HogDebug.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/QueryEditor/QueryEditor.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/marked/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/frimousse/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 products/product_analytics/frontend/insights/trends/WorldMap/countryVectors.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/queries/validators.js stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/re2js/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/scenes/debug/HogDebug.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/queries/QueryEditor/QueryEditor.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/marked/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 src/scenes/settings/SettingsMap.tsx stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 @jspm/core/nodelibs/browser/fs stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/re2js/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/d3/src/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx

Largest files eagerly shipped from src/index.tsx
Size File
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
24.5 KiB ../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js
6.3 KiB ../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js
4.8 KiB ../node_modules/.pnpm/@jspm+core@2.1.0/node_modules/@jspm/core/nodelibs/browser/process.js
4.0 KiB ../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js
1.8 KiB src/lib/utils/bootTiming.ts
1.7 KiB ../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js
1.7 KiB src/index.tsx
1.2 KiB src/RootErrorBoundary.tsx
1.1 KiB src/lib/utils/deferredAppContext.ts
Largest files eagerly shipped from src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
107.9 KiB src/products.tsx
92.6 KiB src/lib/api.ts
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
36.4 KiB ../node_modules/.pnpm/kea@4.0.0-pre.6_patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5_react@18.3.1/node_modules/kea/lib/index.cjs.js
29.6 KiB src/lib/constants.tsx
24.7 KiB ../node_modules/.pnpm/fuse.js@7.3.0/node_modules/fuse.js/dist/fuse.mjs
24.5 KiB ../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
107.9 KiB src/products.tsx
92.6 KiB src/lib/api.ts
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
40.3 KiB ../node_modules/.pnpm/@dnd-kit+core@6.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
36.4 KiB ../node_modules/.pnpm/kea@4.0.0-pre.6_patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5_react@18.3.1/node_modules/kea/lib/index.cjs.js
32.6 KiB src/lib/utils/eventUsageLogic.ts
29.6 KiB src/lib/constants.tsx
Largest files eagerly shipped from src/scenes/dashboard/Dashboard.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
116.4 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/surveys-preview.js
111.2 KiB ../packages/quill/packages/primitives/dist/index.js
107.9 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
92.6 KiB src/lib/api.ts
82.5 KiB src/scenes/dashboard/dashboardLogic.tsx
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
111.2 KiB ../packages/quill/packages/primitives/dist/index.js
107.9 KiB src/products.tsx
92.6 KiB src/lib/api.ts
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
68.1 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
40.3 KiB ../node_modules/.pnpm/@dnd-kit+core@6.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
36.4 KiB ../node_modules/.pnpm/kea@4.0.0-pre.6_patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5_react@18.3.1/node_modules/kea/lib/index.cjs.js
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
111.2 KiB ../packages/quill/packages/primitives/dist/index.js
107.9 KiB src/products.tsx
92.6 KiB src/lib/api.ts
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
68.1 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
41.7 KiB src/scenes/hog-functions/sub-templates/sub-templates.ts
40.3 KiB ../node_modules/.pnpm/@dnd-kit+core@6.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
Largest files eagerly shipped from src/scenes/activity/explore/EventsScene.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
111.2 KiB ../packages/quill/packages/primitives/dist/index.js
107.9 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
92.6 KiB src/lib/api.ts
82.5 KiB src/scenes/dashboard/dashboardLogic.tsx
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
68.1 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
Largest files eagerly shipped from src/scenes/web-analytics/WebAnalyticsScene.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
116.4 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/surveys-preview.js
111.2 KiB ../packages/quill/packages/primitives/dist/index.js
107.9 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
92.6 KiB src/lib/api.ts
82.5 KiB src/scenes/dashboard/dashboardLogic.tsx
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
Largest files eagerly shipped from src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
329.8 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/rrweb.js
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.7 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
111.2 KiB ../packages/quill/packages/primitives/dist/index.js
107.9 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
92.6 KiB src/lib/api.ts
68.9 KiB src/lib/lemon-ui/icons/icons.tsx
68.1 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts

Posted automatically by check-eager-graph · sizes are eager output bytes (shipped, post-tree-shake) from the esbuild metafile · part of #32479

✅ Frontend layers — no new upward imports, 2 removed

Static imports from a lower frontend layer into a higher one (layers, lowest first: kernel, shell, query, features). Compared with the base branch, so an import that a PR also adds to layer-baseline.txt still shows here. Sizes are the source bytes on the eager path of every logged-in page.

Layer Eager source bytes Δ vs base
kernel 3.02 MiB 🔺 +13.6 KiB (+0.4%)
shell 2.42 MiB 🔺 +9.3 KiB (+0.4%)
query 56.9 KiB no change
features 274.7 KiB 🔺 +629 B (+0.2%)

🟢 2 upward import(s) removed. Run hogli lint:frontend-layers --prune-baseline if CI asks.

Download the interactive layer graph for this PR.

Posted automatically by check-layers

✅ Toolbar bundle — eager 2.45 MiB within budget

What the toolbar ships to customer pages, measured from the esbuild output (minified, post-tree-shake). The eager set is the entry plus everything statically imported from it — fetched before any feature runs; deferred chunks load lazily. The eager guardrail is 5.72 MiB. Each output file must also stay below 10 MB, where CloudFront stops compressing it. The module boundary is enforced separately by check-toolbar-graph.

Metric Size Δ vs base Budget
Eager (shipped)
entry + static imports
2.45 MiB · 19 files 🔺 +11.2 KiB (+0.4%) ████░░░░░░ 42.9% of 5.72 MiB
Deferred (lazy) 2.64 MiB · 43 files 🔺 +2.7 KiB (+0.1%) n/a — loads on demand
Loader dist/toolbar.js 1.2 KiB no change █░░░░░░░░░ 6.0% of 19.5 KiB
Largest eagerly-shipped chunks
Size File
987.6 KiB dist/toolbar/toolbar-app-RJHC7PPQ.css
739.5 KiB dist/toolbar/chunk-chunk-WQUU6D43.js
290.5 KiB dist/toolbar/chunk-chunk-LYZDKK5A.js
137.6 KiB dist/toolbar/chunk-chunk-33KO4SBN.js
131.8 KiB dist/toolbar/chunk-chunk-FQJO25M6.js
75.7 KiB dist/toolbar/toolbar-app-3GYDJPSL.js
69.0 KiB dist/toolbar/chunk-chunk-BFAXZMC5.js
33.8 KiB dist/toolbar/chunk-chunk-VKURV753.js
21.9 KiB dist/toolbar/chunk-chunk-NZYHEEZR.js
6.8 KiB dist/toolbar/chunk-chunk-RVLGRPCH.js

Posted automatically by check-toolbar-size · sizes are toolbar output bytes (shipped, post-tree-shake) from the esbuild metafile

✅ Dist folder size — 🔺 +15.90 MiB (+1.6%)

Total size of the built frontend/dist folder (all assets), compared against the base branch.

Total: 1018.94 MiB · 🔺 +15.90 MiB (+1.6%)

turnipdabeets and others added 2 commits November 4, 2026 16:44
The requirements callout still said Compose needs `screenshot`, which 4.0 removes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… comment

posthog-ios 4.0 removed `debouncerDelay`, so the "called debouncerDelay before 3.21.0" note no longer helps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets
turnipdabeets marked this pull request as ready for review November 5, 2026 23:58
@turnipdabeets
turnipdabeets requested a review from a team November 5, 2026 23:59
@turnipdabeets
turnipdabeets marked this pull request as draft November 6, 2026 00:01
@turnipdabeets
turnipdabeets removed the request for review from a team November 6, 2026 00:02
@turnipdabeets turnipdabeets changed the title docs(replay): drop wireframe mode from mobile replay onboarding docs(replay): drop the screenshot option from kmp replay onboarding Nov 6, 2026
@turnipdabeets
turnipdabeets requested a review from a team November 6, 2026 18:26
- Use `throttleDelayMs` instead of the deprecated `debouncerDelayMs` in the KMP snippet.
- State React Native 0.75, iOS 15 and Xcode 26 for @posthog/react-native-plugin 3.0.
- Remove unused `SDKInstallRNInstructions`, which still installed posthog-react-native-session-replay.
@turnipdabeets turnipdabeets changed the title docs(replay): drop the screenshot option from kmp replay onboarding docs(replay): update kmp 0.11 and react native plugin 3.0 replay onboarding Nov 10, 2026
<Markdown>
{dedent`
\`@posthog/react-native-plugin\` (\`>= 2.0.1\`) is the renamed \`posthog-react-native-session-replay\` plugin — it was renamed in \`posthog-react-native\` 4.47.0+ and now also powers [native error tracking](https://posthog.com/docs/error-tracking/installation/react-native). If you're on a \`posthog-react-native\` version earlier than 4.47.0, install \`posthog-react-native-session-replay\` instead.
\`@posthog/react-native-plugin\` (\`>= 2.0.1\`) is the renamed \`posthog-react-native-session-replay\` plugin — it was renamed in \`posthog-react-native\` 4.47.0+ and now also powers [native error tracking](https://posthog.com/docs/error-tracking/installation/react-native). If you're on a \`posthog-react-native\` version earlier than 4.47.0, install \`posthog-react-native-session-replay\` instead. Don't install it alongside \`@posthog/react-native-plugin\` 3.0: its pod still installs \`posthog-ios\` 3.x, and the Xcode build fails with \`Redefinition of module 'PostHog'\`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rewritten line keeps an em dash. Could it be a period or a hyphen?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5ee41e1 — now a period.

<Markdown>
Requires Android API 26+ and iOS 13+. Expo Go is not supported - use a development build.
Session replay is only supported on Android and iOS platforms.
Requires React Native 0.75+, Android API 26+, iOS 15+, and Xcode 26+. Expo Go is not

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

posthog.com lists Kotlin 2.0 for Android apps on React Native 0.75 and 0.76, including Expo SDK 52. Should this requirements box mention it too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7135fce — the box now says Android builds on React Native 0.75 and 0.76, including Expo SDK 52, need Kotlin 2.0 or later.

@eli-r-ph

Copy link
Copy Markdown
Contributor

docs/onboarding/session-replay/react-native.tsx:24, :31 and :41, and docs/onboarding/error-tracking/react-native.tsx:67 (on master since #132320): These install lines now pin @posthog/react-native-plugin@2, but this PR adds the 3.0 requirements (iOS 15+, Xcode 26+). Could it move the pins to @3 in the same change?

gewenyu99 and others added 2 commits November 10, 2026 19:45
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The React Native onboarding pinned the plugin to its current major, 2.
This PR documents plugin 3.0, so its installs move to @3. Plugin 3.0
still works with posthog-react-native 4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gewenyu99

Copy link
Copy Markdown
Contributor

Hey! I'm updating this PR directly. The onboarding installs are now pinned to each SDK's current major, so I merged master in and added a separate commit that moves @posthog/react-native-plugin to @3 here. Thanks!

The sample uses throttleDelayMs, which only exists from 0.11.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…requirements

- KMP replay onboarding: replay is ignored on macOS as well as the JVM,
  and the sample lists verifyScreenshotMaskAlignment, so it shows every option.
- React Native error tracking: the native crash step states plugin 3.0's
  React Native 0.75+, iOS 15+ and Xcode 26+ requirements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation skip-inkeep-docs Use this label to skip an Inkeep docs PR in posthog.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants