HomePhabricator

Welcome survey: store which group a user is in
ac58d6d9707fUnpublished

Authored by SBisson on Nov 1 2018, 3:06 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Welcome survey: store which group a user is in

After an account is created, figure out which group a user
is in and store it immediately so we have this information
available if the user never clicks the save of skip
buttons of the survey.

Refactor all the code related to figuring out the experiment,
the questions, and handling the responses out of the special
page into a 'WelcomeSurvey' class so it can be re-used from
hooks.

Bug: T206371
Change-Id: I3fcae6d62b0fd2fc9cdbf918748412d5cc5437cc