-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Goals first: Use actual experiment checks within useGoalsFirstExperiment #97699
base: trunk
Are you sure you want to change the base?
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
fb6fc54
to
a19a04c
Compare
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~2804 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~22895 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~5274 bytes removed 📉 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working as expected!
When connecting it to the running experiment 22021-explat-experiment
(for testing purposes since we'll create a new experiment), it will redirect control
users to the new flow and holdout
to the old one.
I still recommend a new check once the oficial experiment is in place.
client/landing/stepper/declarative-flow/helpers/use-goals-first-experiment.ts
Outdated
Show resolved
Hide resolved
client/landing/stepper/declarative-flow/helpers/use-goals-first-experiment.ts
Outdated
Show resolved
Hide resolved
a19a04c
to
39d0758
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes LGTM 👍
I'd test this thoroughly because I have seen issues happen with Stepper's |
@alshakero, I see what you're saying. The thing is, we're already using the |
Ah I missed that. It should be good then 👍 |
39d0758
to
a08b379
Compare
a08b379
to
f2580fd
Compare
I've made a change that loads the experiment assignment much earlier. f2580fd We've run into the exact issue you were talking here pdDR7T-22t-p2 @alshakero. Sorry I haven't commented there yet, but we need something like I thought by implementing our dummy My first attempt to fix was to default to returning all the steps during loading. Maybe removing unneeded steps later works better than adding steps later. It actually sort of worked, except for logged out users. Users would get taken to the account step, then after signup (and assuming they were assigned to control) would be redirected to the curious So I've moved the experiment assignment further up the React tree. This means it's high enough that the |
Closes #96179.
Closes #98001
Proposed Changes
Remove the flag
onboarding/goals-first
and use the actual experiment name and variant names.