Function
Overrides the profile storage adapter; tests inject a stub
The field lives in the card, where the name will live, and it is the step's
only one. A card that merely previewed the name put the same words — Your name — in two places, and learners clicked the one that could not answer.
The field opens holding accountName, the name the account was created
with, so the learner confirms a name instead of retyping the one they gave
minutes ago on the sign-up form. It is a starting value and nothing more:
clearing or rewriting it is what gets saved, and a blank account name opens
an empty field.
Continue saves a profile with the name and the initials avatar — a complete profile, so a learner who leaves before step 2 still has a card — and opens step 2.
A device that already holds a profile is forwarded to where the onboarding
ends: the course route named in next, or My learning. Saving creates
exactly such a profile, so the forward stands down once the learner has
submitted. Step 2 opens carrying the same next.
Onboarding step 1: the learner types their name into the learner card itself.