-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(experiments): Apply correct filters to "View recordings" (#27849)
- Loading branch information
1 parent
b909fd1
commit 9c4d9e8
Showing
7 changed files
with
367 additions
and
40 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
frontend/src/mocks/fixtures/api/experiments/_metric_funnel_events.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,30 @@ | ||
{ | ||
"kind": "ExperimentFunnelsQuery", | ||
"funnels_query": { | ||
"kind": "FunnelsQuery", | ||
"series": [ | ||
{ | ||
"kind": "EventsNode", | ||
"name": "[jan-16-running] seen", | ||
"event": "[jan-16-running] seen" | ||
}, | ||
{ | ||
"kind": "EventsNode", | ||
"name": "[jan-16-running] payment", | ||
"event": "[jan-16-running] payment" | ||
} | ||
], | ||
"dateRange": { | ||
"date_to": "2025-01-16T23:59", | ||
"date_from": "2025-01-02T13:54", | ||
"explicitDate": true | ||
}, | ||
"funnelsFilter": { | ||
"layout": "horizontal", | ||
"funnelVizType": "steps", | ||
"funnelWindowInterval": 14, | ||
"funnelWindowIntervalUnit": "day" | ||
}, | ||
"filterTestAccounts": true | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
frontend/src/mocks/fixtures/api/experiments/_metric_trend_action.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,24 @@ | ||
{ | ||
"kind": "ExperimentTrendsQuery", | ||
"count_query": { | ||
"kind": "TrendsQuery", | ||
"series": [ | ||
{ | ||
"kind": "ActionsNode", | ||
"id": 8, | ||
"name": "jan-16-running payment action", | ||
"math": "total" | ||
} | ||
], | ||
"interval": "day", | ||
"dateRange": { | ||
"date_to": "2025-01-16T23:59", | ||
"date_from": "2025-01-02T13:54", | ||
"explicitDate": true | ||
}, | ||
"trendsFilter": { | ||
"display": "ActionsLineGraph" | ||
}, | ||
"filterTestAccounts": true | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
frontend/src/mocks/fixtures/api/experiments/_metric_trend_custom_exposure.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,45 @@ | ||
{ | ||
"kind": "ExperimentTrendsQuery", | ||
"count_query": { | ||
"kind": "TrendsQuery", | ||
"series": [ | ||
{ | ||
"kind": "EventsNode", | ||
"math": "total", | ||
"name": "[jan-16-running] event one", | ||
"event": "[jan-16-running] event one" | ||
} | ||
], | ||
"interval": "day", | ||
"dateRange": { | ||
"date_to": "2025-01-16T23:59", | ||
"date_from": "2025-01-02T13:54", | ||
"explicitDate": true | ||
}, | ||
"trendsFilter": { | ||
"display": "ActionsLineGraph" | ||
}, | ||
"filterTestAccounts": true | ||
}, | ||
"exposure_query": { | ||
"kind": "TrendsQuery", | ||
"series": [ | ||
{ | ||
"kind": "EventsNode", | ||
"math": "dau", | ||
"name": "[jan-16-running] event zero", | ||
"event": "[jan-16-running] event zero" | ||
} | ||
], | ||
"interval": "day", | ||
"dateRange": { | ||
"date_to": "2025-01-23T23:59", | ||
"date_from": "2025-01-09T15:10", | ||
"explicitDate": true | ||
}, | ||
"trendsFilter": { | ||
"display": "ActionsLineGraph" | ||
}, | ||
"filterTestAccounts": true | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
frontend/src/mocks/fixtures/api/experiments/_metric_trend_feature_flag_called.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,24 @@ | ||
{ | ||
"kind": "ExperimentTrendsQuery", | ||
"count_query": { | ||
"kind": "TrendsQuery", | ||
"series": [ | ||
{ | ||
"kind": "EventsNode", | ||
"math": "total", | ||
"name": "[jan-16-running] event one", | ||
"event": "[jan-16-running] event one" | ||
} | ||
], | ||
"interval": "day", | ||
"dateRange": { | ||
"date_to": "2025-01-16T23:59", | ||
"date_from": "2025-01-02T13:54", | ||
"explicitDate": true | ||
}, | ||
"trendsFilter": { | ||
"display": "ActionsLineGraph" | ||
}, | ||
"filterTestAccounts": true | ||
} | ||
} |
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
Oops, something went wrong.