Skip to content

Commit

Permalink
fix(experiments): auto load results after experiment launched (#23594)
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajmajerik authored Jul 11, 2024
1 parent 14bf5a8 commit 6db90ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export function NoResultsEmptyState(): JSX.Element {

function ChecklistItem({ failureReason, checked }: { failureReason: string; checked: boolean }): JSX.Element {
const failureReasonToText = {
'no-events': 'Events have been received',
'no-events': 'Experiment events have been received',
'no-flag-info': 'Feature flag information is present on the events',
'no-control-variant': 'Events with the control variant received',
'no-test-variant': 'Events with at least one test variant received',
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/scenes/experiments/experimentLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,10 @@ export const experimentLogic = kea<experimentLogicType>([
if (values.changingSecondaryMetrics) {
actions.loadSecondaryMetricResults()
}

if (values.experiment?.start_date) {
actions.loadExperimentResults()
}
},
setExperiment: async ({ experiment }) => {
const experimentEntitiesChanged =
Expand Down

0 comments on commit 6db90ea

Please sign in to comment.