summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-28 23:47:03 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-28 23:47:03 +0200
commit134936b185b0ccdfe2f5d62aac439716aa140b49 (patch)
tree4d9457979bad80b56fb0db787375d74c93e99fbb
parentec7f20bdd4d7804a4144666d3cf6caa7459a9aec (diff)
downloadvotes-for-women-134936b185b0ccdfe2f5d62aac439716aa140b49.tar.gz
minimum workflow
-rw-r--r--rules.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/rules.js b/rules.js
index bc323a0..6f0e966 100644
--- a/rules.js
+++ b/rules.js
@@ -122,9 +122,9 @@ states.planning_phase = {
inactive: "to do Planning Phase",
prompt() {
view.prompt = "Planning Phase: TODO"
- gen_action("next")
+ gen_action("done")
},
- next() {
+ done() {
end_planning_phase()
}
}
@@ -146,9 +146,9 @@ states.strategy_phase = {
inactive: "to do Strategy Phase",
prompt() {
view.prompt = "Strategy Phase: TODO"
- gen_action("next")
+ gen_action("done")
},
- next() {
+ done() {
goto_operations_phase()
}
}
@@ -162,9 +162,9 @@ states.operations_phase = {
inactive: "to do Operations Phase",
prompt() {
view.prompt = "Operations Phase: TODO"
- gen_action("next")
+ gen_action("done")
},
- next() {
+ done() {
goto_cleanup_phase()
}
}
@@ -178,9 +178,9 @@ states.cleanup_phase = {
inactive: "to do Cleanup Phase",
prompt() {
view.prompt = "Cleanup Phase: TODO"
- gen_action("next")
+ gen_action("done")
},
- next() {
+ done() {
end_cleanup_phase()
}
}