From 2df9f6095d7b1293c369ef7d21c7724c7a7abb6b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sun, 6 Oct 2019 17:24:29 +0200 Subject: [PATCH] Improving errors on screen --- FloatingSpace/StrategyPart.js | 3 ++- FloatingSpace/StrategyPartConstructor.js | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/FloatingSpace/StrategyPart.js b/FloatingSpace/StrategyPart.js index fb700c195..22fb46a38 100644 --- a/FloatingSpace/StrategyPart.js +++ b/FloatingSpace/StrategyPart.js @@ -566,7 +566,7 @@ function newStrategyPart () { if (message !== undefined) { errorMessage = message hasError = true - errorMessageCounter = 30 + errorMessageCounter = 100 } } @@ -1132,3 +1132,4 @@ function newStrategyPart () { } } } + diff --git a/FloatingSpace/StrategyPartConstructor.js b/FloatingSpace/StrategyPartConstructor.js index 8fb172f92..6d0344e41 100644 --- a/FloatingSpace/StrategyPartConstructor.js +++ b/FloatingSpace/StrategyPartConstructor.js @@ -863,7 +863,7 @@ function newStrategyPartConstructor () { action: 'Run Session', actionFunction: payload.onMenuItemClick, label: 'Run', - workingLabel: 'Runing...', + workingLabel: 'Run Request Sent', workDoneLabel: 'Session Running', workFailedLabel: 'Session Cannot be Run', secondaryAction: 'Stop Session', @@ -920,7 +920,7 @@ function newStrategyPartConstructor () { action: 'Run Session', actionFunction: payload.onMenuItemClick, label: 'Run', - workingLabel: 'Stop', + workingLabel: 'Run Request Sent', workDoneLabel: 'Session Running', workFailedLabel: 'Session Cannot be Run', secondaryAction: 'Stop Session', @@ -977,7 +977,7 @@ function newStrategyPartConstructor () { action: 'Run Session', actionFunction: payload.onMenuItemClick, label: 'Run', - workingLabel: 'Stop', + workingLabel: 'Run Request Sent', workDoneLabel: 'Session Running', workFailedLabel: 'Session Cannot be Run', secondaryAction: 'Stop Session', @@ -1034,7 +1034,7 @@ function newStrategyPartConstructor () { action: 'Run Session', actionFunction: payload.onMenuItemClick, label: 'Run', - workingLabel: 'Stop', + workingLabel: 'Run Request Sent', workDoneLabel: 'Session Running', workFailedLabel: 'Session Cannot be Run', secondaryAction: 'Stop Session',