From 134936b185b0ccdfe2f5d62aac439716aa140b49 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sat, 28 Oct 2023 23:47:03 +0200 Subject: minimum workflow --- rules.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'rules.js') 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() } } -- cgit v1.2.3