Repository navigation
feat(session-replay): show event triggers on mobile replay settings tab - #64859
Conversation
|
Docs from this PR will be published at posthog.com
Preview will be ready in ~10 minutes. Click Preview link above to access docs at |
|
Reviews (1): Last reviewed commit: "feat(session-replay): show event trigger..." | Re-trigger Greptile |
πΈοΈ Eager graphHow much code each root forces the browser to download and decode through static imports β the regression class total bundle size can't see.
β
Largest files eagerly reachable from
|
| Size | File |
|---|---|
| 886.1 KiB | src/styles/global.scss |
| 609.0 KiB | public/hedgehog/burning-money-hog.png |
| 541.9 KiB | public/hedgehog/waving-hog.png |
| 448.2 KiB | public/hedgehog/stop-sign-hog.png |
| 362.0 KiB | public/hedgehog/phone-pair-hogs.png |
| 354.8 KiB | ../node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js |
| 335.6 KiB | public/hedgehog/desk-hog.png |
| 323.2 KiB | public/hedgehog/3-bears-hogs.png |
| 299.6 KiB | src/taxonomy/core-filter-definitions-by-group.json |
| 292.5 KiB | src/lib/api.ts |
Largest files eagerly reachable from src/scenes/AuthenticatedShell.tsx
| Size | File |
|---|---|
| 886.1 KiB | src/styles/global.scss |
| 764.5 KiB | src/queries/validators.js |
| 609.0 KiB | public/hedgehog/burning-money-hog.png |
| 541.9 KiB | public/hedgehog/waving-hog.png |
| 448.2 KiB | public/hedgehog/stop-sign-hog.png |
| 362.0 KiB | public/hedgehog/phone-pair-hogs.png |
| 354.8 KiB | ../node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js |
| 335.6 KiB | public/hedgehog/desk-hog.png |
| 323.2 KiB | public/hedgehog/3-bears-hogs.png |
| 299.6 KiB | src/taxonomy/core-filter-definitions-by-group.json |
Posted automatically by check-eager-graph Β· sizes are input-source bytes from the esbuild metafile Β· part of #32479
|
Size Change: 0 B Total Size: 64.4 MB βΉοΈ View Unchanged
|
|
Reviews (2): Last reviewed commit: "Merge branch 'master' into feat/session-..." | Re-trigger Greptile |
β¦fill-admin * origin/master: (203 commits) fix(experiments): add missing event properties to the backend events on the recalculation workflow. (#64923) refactor(capture): decouple v1 RequestContext from analytics Context (#64184) feat(data-warehouse): add direct_query_enabled toggle to data sources (#64685) feat(data-warehouse): persist duckling bucket on DuckgresServer (#64919) fix(dev): strip read-denied $HOME dirs from sandbox PATH (#64768) fix(mcp-analytics): keep muted text readable inside quill subtrees (#64898) feat(skills): add Scouts tab backed by a generic skill category (#64796) fix(ducklake): make get_instance_region a lazy import in common helpers (#64913) fix(replay-vision): drop vestigial scanner_type from VisionAction selection (#64737) feat(warehouse): add xmin read path for postgres source (#64721) feat(warehouse): add per-table xmin sync radio (flag-gated) (#64718) feat(warehouse): validate xmin sync type and surface availability (#64723) fix(data-warehouse): CDC improvements β fix dead orphan-slot sweeper (#64725) feat(data-warehouse): scaffold Razorpay source (#64484) fix(dags): read duckling backfill bucket from stored catalog (#64909) feat(inbox): add archived tab with restore (#64876) feat(signals): surface a banner when inbox filters are active (#64811) fix(lemon-dialog): isolate nested form dialogs with unique kea logic keys (#62113) feat(session-replay): show event triggers on mobile replay settings tab (#64859) fix(preflight): restore kafka connectivity probe (#58743) ...
Problem
The replay triggers settings page (Replay β Settings β Triggers) only surfaced event triggers on the Web tab, even though event triggers are now supported on mobile SDKs. A user on the Mobile tab had no indication that event triggers apply to their iOS/Android/Flutter apps, nor which SDK versions they need. Separately, the React Native session-replay onboarding install step needed to use
@posthog/react-native-plugin.Changes
Sincebadge listing the minimum mobile SDK versions: iOS 3.48.0+, Android 3.40.1+, Flutter 5.25.0+. This mirrors the existing read-only Sampling and Minimum duration rows β the config is a single team-level list shared across web and mobile, so it points users to the Web tab to edit. Event triggers are also included in the mobile recording-conditions summary banner.@posthog/react-native-pluginin the session-replay React Native install step.How did you test this code?
I'm an agent (Claude Code). I ran
pnpm --filter=@posthog/frontend typescript:check, which passed with no errors. No manual UI testing was performed.Automatic notifications
Docs update
π€ Agent context
Autonomy: Human-driven (agent-assisted)
Authored with Claude Code at the user's direction. The mobile SDK version numbers were sourced from the companion posthog.com docs work on the same feature. The trigger config is shared web/mobile, so I followed the existing read-only "change on the Web tab" pattern used by Sampling and Minimum duration rather than adding a separate mobile editor. Split onto its own branch (away from unrelated error-tracking onboarding commits) at the user's request.