-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recording: session replay respect feature flag variants (#197)
- Loading branch information
1 parent
d770f8b
commit 4078dbe
Showing
7 changed files
with
293 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
posthog/src/test/resources/json/basic-decide-recording-bool-linked-disabled.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"autocaptureExceptions": false, | ||
"toolbarParams": {}, | ||
"errorsWhileComputingFlags": false, | ||
"capturePerformance": true, | ||
"autocapture_opt_out": false, | ||
"isAuthenticated": false, | ||
"supportedCompression": [ | ||
"gzip", | ||
"gzip-js" | ||
], | ||
"config": { | ||
"enable_collect_everything": true | ||
}, | ||
"featureFlagPayloads": { | ||
"thePayload": true | ||
}, | ||
"featureFlags": { | ||
"4535-funnel-bar-viz": true, | ||
"session-replay-flag": false | ||
}, | ||
"sessionRecording": { | ||
"endpoint": "/b/", | ||
"linkedFlag": "session-replay-flag" | ||
}, | ||
"siteApps": [ | ||
{ | ||
"id": 21039.0, | ||
"url": "/site_app/21039/EOsOSePYNyTzHkZ3f4mjrjUap8Hy8o2vUTAc6v1ZMFP/576ac89bc8aed72a21d9b19221c2c626/" | ||
} | ||
], | ||
"editorParams": { | ||
|
||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
posthog/src/test/resources/json/basic-decide-recording-bool-linked-enabled.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"autocaptureExceptions": false, | ||
"toolbarParams": {}, | ||
"errorsWhileComputingFlags": false, | ||
"capturePerformance": true, | ||
"autocapture_opt_out": false, | ||
"isAuthenticated": false, | ||
"supportedCompression": [ | ||
"gzip", | ||
"gzip-js" | ||
], | ||
"config": { | ||
"enable_collect_everything": true | ||
}, | ||
"featureFlagPayloads": { | ||
"thePayload": true | ||
}, | ||
"featureFlags": { | ||
"4535-funnel-bar-viz": true, | ||
"session-replay-flag": true | ||
}, | ||
"sessionRecording": { | ||
"endpoint": "/b/", | ||
"linkedFlag": "session-replay-flag" | ||
}, | ||
"siteApps": [ | ||
{ | ||
"id": 21039.0, | ||
"url": "/site_app/21039/EOsOSePYNyTzHkZ3f4mjrjUap8Hy8o2vUTAc6v1ZMFP/576ac89bc8aed72a21d9b19221c2c626/" | ||
} | ||
], | ||
"editorParams": { | ||
|
||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
posthog/src/test/resources/json/basic-decide-recording-bool-linked-variant-match.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"autocaptureExceptions": false, | ||
"toolbarParams": {}, | ||
"errorsWhileComputingFlags": false, | ||
"capturePerformance": true, | ||
"autocapture_opt_out": false, | ||
"isAuthenticated": false, | ||
"supportedCompression": [ | ||
"gzip", | ||
"gzip-js" | ||
], | ||
"config": { | ||
"enable_collect_everything": true | ||
}, | ||
"featureFlagPayloads": { | ||
"thePayload": true | ||
}, | ||
"featureFlags": { | ||
"4535-funnel-bar-viz": true, | ||
"session-replay-flag": "variant-1" | ||
}, | ||
"sessionRecording": { | ||
"endpoint": "/b/", | ||
"linkedFlag": { | ||
"flag": "session-replay-flag", | ||
"variant": "variant-1" | ||
} | ||
}, | ||
"siteApps": [ | ||
{ | ||
"id": 21039.0, | ||
"url": "/site_app/21039/EOsOSePYNyTzHkZ3f4mjrjUap8Hy8o2vUTAc6v1ZMFP/576ac89bc8aed72a21d9b19221c2c626/" | ||
} | ||
], | ||
"editorParams": { | ||
|
||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
posthog/src/test/resources/json/basic-decide-recording-bool-linked-variant-not-match.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"autocaptureExceptions": false, | ||
"toolbarParams": {}, | ||
"errorsWhileComputingFlags": false, | ||
"capturePerformance": true, | ||
"autocapture_opt_out": false, | ||
"isAuthenticated": false, | ||
"supportedCompression": [ | ||
"gzip", | ||
"gzip-js" | ||
], | ||
"config": { | ||
"enable_collect_everything": true | ||
}, | ||
"featureFlagPayloads": { | ||
"thePayload": true | ||
}, | ||
"featureFlags": { | ||
"4535-funnel-bar-viz": true, | ||
"session-replay-flag": "variant-2" | ||
}, | ||
"sessionRecording": { | ||
"endpoint": "/b/", | ||
"linkedFlag": { | ||
"flag": "session-replay-flag", | ||
"variant": "variant-1" | ||
} | ||
}, | ||
"siteApps": [ | ||
{ | ||
"id": 21039.0, | ||
"url": "/site_app/21039/EOsOSePYNyTzHkZ3f4mjrjUap8Hy8o2vUTAc6v1ZMFP/576ac89bc8aed72a21d9b19221c2c626/" | ||
} | ||
], | ||
"editorParams": { | ||
|
||
} | ||
} |