0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00

chore: session replay project config for mobile - what is possible (#26289)

This commit is contained in:
Manoel Aranda Neto 2024-11-20 14:31:54 +01:00 committed by GitHub
parent 41e86f6519
commit bc98fdab44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
18 changed files with 21 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 743 KiB

After

Width:  |  Height:  |  Size: 773 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 KiB

After

Width:  |  Height:  |  Size: 770 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 KiB

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 KiB

After

Width:  |  Height:  |  Size: 725 KiB

View File

@ -252,6 +252,8 @@ function UrlConfigSection({
</div> </div>
<p>{description}</p> <p>{description}</p>
<p>`${title} is only available for JavaScript Web.`</p>
{props.isAddFormVisible && ( {props.isAddFormVisible && (
<UrlConfigForm type={type} onCancel={props.onCancel} isSubmitting={props.isSubmitting} /> <UrlConfigForm type={type} onCancel={props.onCancel} isSubmitting={props.isSubmitting} />
)} )}
@ -335,6 +337,7 @@ function EventTriggerOptions(): JSX.Element | null {
Session recording will be started immediately before PostHog queues any of these events to be sent to Session recording will be started immediately before PostHog queues any of these events to be sent to
the backend. the backend.
</p> </p>
<p>Event emitted is only available for JavaScript Web.</p>
<EventSelect <EventSelect
filterGroupTypes={[TaxonomicFilterGroupType.Events]} filterGroupTypes={[TaxonomicFilterGroupType.Events]}
onChange={(includedEvents) => { onChange={(includedEvents) => {
@ -482,6 +485,7 @@ export function SessionRecordingIngestionSettings(): JSX.Element | null {
useful if you want to reduce the amount of data you collect. 100% means all sessions will be useful if you want to reduce the amount of data you collect. 100% means all sessions will be
collected. 50% means roughly half of sessions will be collected. collected. 50% means roughly half of sessions will be collected.
</p> </p>
<p>Sampling is only available for JavaScript Web.</p>
</> </>
)} )}
{recordingDurationMinimumFeatureEnabled && ( {recordingDurationMinimumFeatureEnabled && (
@ -502,6 +506,7 @@ export function SessionRecordingIngestionSettings(): JSX.Element | null {
value are collected. This helps you avoid collecting sessions that are too short to be value are collected. This helps you avoid collecting sessions that are too short to be
useful. useful.
</p> </p>
<p>Minimum session duration is only available for JavaScript Web.</p>
</> </>
)} )}
<LinkedFlagSelector /> <LinkedFlagSelector />

View File

@ -24,6 +24,13 @@ function LogCaptureSettings(): JSX.Element {
This setting controls if browser console logs will be captured as a part of recordings. The console logs This setting controls if browser console logs will be captured as a part of recordings. The console logs
will be shown in the recording player to help you debug any issues. will be shown in the recording player to help you debug any issues.
</p> </p>
<p>
Log capture is also available for{' '}
<Link to="https://posthog.com/docs/session-replay/console-log-recording" target="_blank">
Mobile session replay
</Link>{' '}
, where they can be configured directly in code.
</p>
<LemonSwitch <LemonSwitch
data-attr="opt-in-capture-console-log-switch" data-attr="opt-in-capture-console-log-switch"
onChange={(checked) => { onChange={(checked) => {
@ -51,6 +58,7 @@ function CanvasCaptureSettings(): JSX.Element | null {
<i>There is no way to mask canvas elements right now so please make sure they are free of PII.</i> <i>There is no way to mask canvas elements right now so please make sure they are free of PII.</i>
</b> </b>
</p> </p>
<p>Canvas capture is only available for JavaScript Web.</p>
<LemonSwitch <LemonSwitch
data-attr="opt-in-capture-canvas-switch" data-attr="opt-in-capture-canvas-switch"
onChange={(checked) => { onChange={(checked) => {
@ -125,6 +133,13 @@ export function NetworkCaptureSettings(): JSX.Element {
Learn how to mask header and payload values in our docs Learn how to mask header and payload values in our docs
</Link> </Link>
</p> </p>
<p>
Network capture is also available for{' '}
<Link to="https://posthog.com/docs/session-replay/network-recording" target="_blank">
Mobile session replay
</Link>{' '}
, where they can be configured directly in code.
</p>
<LemonBanner type="info" className="mb-4"> <LemonBanner type="info" className="mb-4">
<PayloadWarning /> <PayloadWarning />
</LemonBanner> </LemonBanner>
@ -208,6 +223,7 @@ export function ReplayAuthorizedDomains(): JSX.Element {
Use the settings below to restrict the domains where recordings will be captured. If no domains are Use the settings below to restrict the domains where recordings will be captured. If no domains are
selected, then there will be no domain restriction. selected, then there will be no domain restriction.
</p> </p>
<p>Authorized domains is only available for JavaScript Web.</p>
<p> <p>
Domains and wildcard subdomains are allowed (e.g. <code>https://*.example.com</code>). However, Domains and wildcard subdomains are allowed (e.g. <code>https://*.example.com</code>). However,
wildcarded top-level domains cannot be used (for security reasons). wildcarded top-level domains cannot be used (for security reasons).