@@ -35,11 +35,11 @@ export const machine = Machine<CR.MachineContext, CR.MachineStateSchema, CR.Mach
3535} ,
3636NEW_TUTORIAL :{
3737target :'SelectTutorial' ,
38- actions :[ 'clearStorage' ]
3938}
4039} ,
4140} ,
4241SelectTutorial :{
42+ onEntry :[ 'clearStorage' ] ,
4343id :'start-new-tutorial' ,
4444on :{
4545TUTORIAL_START :{
@@ -50,7 +50,10 @@ export const machine = Machine<CR.MachineContext, CR.MachineStateSchema, CR.Mach
5050} ,
5151ContinueTutorial :{
5252on :{
53- TUTORIAL_START :'#tutorial-stage' ,
53+ TUTORIAL_START :{
54+ target :'#tutorial-stage' ,
55+ actions :[ 'continueConfig' ] ,
56+ } ,
5457TUTORIAL_SELECT :'SelectTutorial'
5558} ,
5659} ,
@@ -60,6 +63,7 @@ export const machine = Machine<CR.MachineContext, CR.MachineStateSchema, CR.Mach
6063id :'tutorial' ,
6164initial :'Initialize' ,
6265states :{
66+ // TODO: move Initialize into New Tutorial setup
6367Initialize :{
6468invoke :{
6569id :'loadTutorial' ,
@@ -155,6 +159,7 @@ export const machine = Machine<CR.MachineContext, CR.MachineStateSchema, CR.Mach
155159}
156160} ,
157161StageComplete :{
162+ onEntry :[ 'syncProgress' ] ,
158163on :{
159164STAGE_NEXT :'#tutorial-load-next' ,
160165} ,
@@ -163,7 +168,7 @@ export const machine = Machine<CR.MachineContext, CR.MachineStateSchema, CR.Mach
163168} ,
164169Completed :{
165170id :'completed-tutorial' ,
166- onEntry :[ 'userTutorialComplete' ] ,
171+ onEntry :[ 'syncProgress' , ' userTutorialComplete'] ,
167172on :{
168173SELECT_TUTORIAL :{
169174target :'#start-new-tutorial' ,