Skip to content

Add experiment toggle for the quick setup on the new onboarding#8523

Open
catalinradoiu wants to merge 5 commits into
developfrom
feature/cradoiu/add-reinstaller-quick-setup-toggle
Open

Add experiment toggle for the quick setup on the new onboarding#8523
catalinradoiu wants to merge 5 commits into
developfrom
feature/cradoiu/add-reinstaller-quick-setup-toggle

Conversation

@catalinradoiu
Copy link
Copy Markdown
Contributor

@catalinradoiu catalinradoiu commented May 11, 2026

Task/Issue URL:https://app.asana.com/1/137249556945/project/1211724162604201/task/1214705898682649?focus=true

Description

Adds a new A/B test feature toggle quickSetup() to OnboardingBrandDesignUpdateToggles to gate the re-installer quick-setup screen during onboarding. The toggle is annotated as an @Experiment and includes two cohorts — CONTROL and TREATMENT — where only users assigned to the TREATMENT cohort will be shown the quick-setup screen.

Create OnboardingQuickSetupExperimentManager that assings the user to a cohort and returns the assigned experiment variant.

Steps to test this PR

CI passes

UI changes

No UI changes


Note

Low Risk
Low risk: adds new remote feature/experiment toggles and a small enrollment helper with defaults disabled; behavior changes only when the experiment is enabled remotely.

Overview
Adds a new remote feature toggle set OnboardingQuickSetupToggles for onboarding quick-setup, including an onboardingQuickSetupExperimentMay26 A/B experiment with control and treatment cohorts (default disabled).

Introduces OnboardingQuickSetupExperimentManager (AppScope DI binding) to enroll users into that experiment on an IO dispatcher and return the assigned variant (CONTROL/TREATMENT) or null when not enrolled.

Reviewed by Cursor Bugbot for commit ca36215. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Contributor Author

catalinradoiu commented May 11, 2026

@catalinradoiu catalinradoiu marked this pull request as ready for review May 11, 2026 19:37
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit cb15ce0. Configure here.

* cohort should be shown the quick-setup screen during onboarding.
*/
@Toggle.DefaultValue(DefaultFeatureValue.FALSE)
@Experiment
Copy link
Copy Markdown
Contributor

@marcosholgado marcosholgado May 12, 2026

Choose a reason for hiding this comment

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

Remove @Experiment, you don't need this unless is an atb experiment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

*/
@Toggle.DefaultValue(DefaultFeatureValue.FALSE)
@Experiment
fun quickSetup(): Toggle
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the name should be quickSetupExperimentMay26 so we all know this is an experiment and when it's going to run

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Renamed to onboardingQuickSetupExperimentMay26

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