-
Notifications
You must be signed in to change notification settings - Fork 804
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
Investigate A/B test plugin infrastructure #41210
Comments
Field Guide: PCYsg-FpD-p2 |
The code to get this working is pretty straightforward. A very simple example (make the dropdown say "Translate With Chrome" instead of just "Translate"): const DefaultLabel = label;
const TreatmentLabel = "Translate With Chrome";
return (
<DropdownMenu
className="ai-assistant__i18n-dropdown"
icon={ globe }
label={ label }
toggleProps={ {
children: (
<>
<div className="ai-assistant__i18n-dropdown__toggle-label">{
<Experiment
name="testing_this_experiment_does_not_exist"
defaultExperience={ DefaultLabel }
treatmentExperience={ TreatmentLabel }
loadingExperience={ "Loading..." }
/>
}</div>
<Icon icon={ chevronRight } />
</>
),
disabled,
} }
>
) (this is I need to read more docs on how to actually work with ExPlat so I can validate this with local testing. Once that part is done, this should be a matter of splitting the backend call to the API into users that continue to do that and users who have access to the supported versions of Chrome and instead making calls to the translator (seen in the comments here). There are a lot of field guides on working with ExPlat so I need to dig in a little more and figure out which are relevant. I'm also looking through the base |
The docs I found were in the Calypso repo, but I think they're consistent with usage I'm seeing elsewhere: https://github.com/Automattic/wp-calypso/blob/trunk/packages/explat-client-react-helpers/README.md I think for the purposes of this project and the example code above, the |
Marking this as done for now as I think we have enough info on the testing platform. We are also going to focus on implementing Chrome AI and enabling it for a12s and then shift to A/B testing and tracking stats such as acceptance rate. |
No description provided.
The text was updated successfully, but these errors were encountered: