Skip to content
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

fix(experiments): Display no-code experiment secondary metrics #27107

Merged

Conversation

danielbachhuber
Copy link
Contributor

See https://posthoghelp.zendesk.com/agent/tickets/22270

Changes

Ensures secondary metric results are displayed for no-code web experiments.

A no-code web experiment can be created without experiment.parameters.feature_flag_variants, which will then cause this loop to fail. experiment.feature_flag.filters.multivariate.variants is a better source of truth.

You can ignore the fact that tabularSecondaryMetricResults doesn't actually return any results (just an array of objects). I'm assuming it will be removed once #27014 is applied.

How did you test this code?

I verified that secondary metric results started appearing for a no-code web experiment. I also verified that secondary metric results appeared for an existing experiment.

@danielbachhuber danielbachhuber requested a review from a team December 20, 2024 14:12
Copy link
Contributor

github-actions bot commented Dec 20, 2024

Size Change: 0 B

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.11 MB

compressed-size-action

@danielbachhuber danielbachhuber merged commit 36bf03e into master Dec 20, 2024
99 checks passed
@danielbachhuber danielbachhuber deleted the experiments/fix-secondary-metrics-web-experiment branch December 20, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants