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

chore(experiments): clean up legacy experimentResults #27064

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

jurajmajerik
Copy link
Contributor

Changes

Cleaned up the legacy experimentResults value and its associated loader, methods and values. All values are now pulled from metricResults.

How did you test this code?

Visually tested with and without the experiment-multiple-metrics flag.

@jurajmajerik jurajmajerik requested a review from a team December 19, 2024 14:53
Copy link
Contributor

github-actions bot commented Dec 19, 2024

Size Change: 0 B

Total Size: 1.11 MB

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

compressed-size-action

@@ -96,6 +96,7 @@ describe('Experiments', () => {
cy.get('[data-attr="experiment-creation-date"]').contains('a few seconds ago').should('be.visible')
cy.get('[data-attr="experiment-start-date"]').should('not.exist')

cy.wait(1000)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some re-rendering glitch causes the click to fail. Waiting for a bit solves this; no issues when testing manually.

Copy link
Contributor

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merged master for you. It's a little concerning that the Cypress test fails...

Funnel displays as expected:

CleanShot 2024-12-19 at 13 25 44@2x

Trend appears as expected too:

CleanShot 2024-12-19 at 13 26 10@2x

@jurajmajerik jurajmajerik merged commit b3cf87d into master Dec 20, 2024
98 of 99 checks passed
@jurajmajerik jurajmajerik deleted the load-metric-results-cleanup branch December 20, 2024 04:52
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