Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix/workflow#8

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 7 commits intomasterfromfix/workflow
Jun 14, 2019
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
fix startup issue
  • Loading branch information
@ShMcK
ShMcK committedJun 14, 2019
commit4feed762554dc3ba945219db05e62b374334e329
31 changes: 19 additions & 12 deletionssrc/state/machine.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,8 +20,8 @@ export const machine = Machine<
initial: 'Initial',
states: {
Initial: {
after: {
2000: 'Startup'
on: {
WEBVIEW_INITIALIZED: 'Startup'
}
},
Startup: {
Expand DownExpand Up@@ -50,7 +50,7 @@ export const machine = Machine<
ContinueTutorial: {
onEntry: ['tutorialContinue'],
on: {
TUTORIAL_START: '#tutorial-load-next'
TUTORIAL_START: '#tutorial-load-current'
}
},
}
Expand All@@ -66,6 +66,13 @@ export const machine = Machine<
0: 'Summary'
}
},
LoadCurrent: {
id: 'tutorial-load-current',
// TODO: verify current is not complete
after: {
0: 'Stage'
},
},
LoadNext: {
id: 'tutorial-load-next',
onEntry: ['tutorialLoadNext'],
Expand DownExpand Up@@ -120,14 +127,9 @@ export const machine = Machine<
TestPass: {
onEntry: ['testPass', 'stepComplete'],
after: {
1000: {
target: 'StepNext',
cond: 'hasNextStep',
}
},
on: {
NEXT: 'StageComplete',
1000: 'StepNext',
},

},
TestFail: {
onEntry: ['testFail'],
Expand All@@ -138,8 +140,13 @@ export const machine = Machine<
StepNext: {
onEntry: ['stepLoadNext'],
after: {
0: 'Normal'
}
0: [{
target: 'Normal',
cond: 'hasNextStep',
}, {
target: 'StageComplete'
}]
},
},
StageComplete: {
onEntry: 'stageComplete',
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp