-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: mobile replay onboarding #21122
Conversation
frontend/src/scenes/onboarding/sdks/product-analytics/android.tsx
Outdated
Show resolved
Hide resolved
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Size Change: +102 B (0%) Total Size: 824 kB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
${ | ||
includeReplay | ||
? ` | ||
config.sessionReplay = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just point to this link though https://posthog.com/docs/session-replay/mobile#installation?
There are a few nuances such as limitations, the PostHogOkHttpInterceptor
bits, etc, so they'd have more context on how it works and less code duplication here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a code comment with a note... definitely something we can come back to to improve though 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice, thanks.
`/onboarding/${productKey}${stepKey ? '?step=' + stepKey : ''}`, | ||
onboarding: (productKey: string, stepKey?: OnboardingStepKey, sdk?: SDKKey): string => | ||
`/onboarding/${productKey}${stepKey ? '?step=' + stepKey : ''}${ | ||
sdk && stepKey ? '&sdk=' + sdk : sdk ? '?sdk=' + sdk : '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome idea, thanks for adding this.
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
When we release android replay we'll want to let people know during onboarding
This adds a flag to control two changes
(fly-by let's you load the onboarding step on a particular SDK so we could link directly to the android onboarding for replay)