From 11fc56be31d828621679a001ac240bd47320b187 Mon Sep 17 00:00:00 2001 From: Matthew Fuller Date: Fri, 11 Dec 2020 22:51:53 +0000 Subject: [PATCH] Add missing error messages Adds missing validation error messages to various config components for more helpful feedback to user. Change-Id: I68da65193971cf66488bda4efc855ce31e40707f --- .../config-encryption.component.html | 12 ++++++++++++ .../config-management.component.html | 6 ++++++ .../config-manifest/config-manifest.component.html | 12 ++++++++++++ .../repository/repository.component.html | 9 +++++++++ 4 files changed, 39 insertions(+) diff --git a/client/src/app/ctl/config/config-encryption/config-encryption.component.html b/client/src/app/ctl/config/config-encryption/config-encryption.component.html index 6e82803..f53bf4b 100644 --- a/client/src/app/ctl/config/config-encryption/config-encryption.component.html +++ b/client/src/app/ctl/config/config-encryption/config-encryption.component.html @@ -9,20 +9,32 @@ EncryptionKeyPath + + EncryptionKeyPath path is required + DecryptionKeyPath + + DecryptionKeyPath is required +
KeySecretName + + KeySecretName is required + KeySecretNamespace + + KeySecretNamespace is required +
diff --git a/client/src/app/ctl/config/config-management/config-management.component.html b/client/src/app/ctl/config/config-management/config-management.component.html index 7994969..d45a488 100644 --- a/client/src/app/ctl/config/config-management/config-management.component.html +++ b/client/src/app/ctl/config/config-management/config-management.component.html @@ -11,10 +11,16 @@ System Action Retries + + Value must be a number +
System Reboot Delay + + Value must be a number +
Type diff --git a/client/src/app/ctl/config/config-manifest/config-manifest.component.html b/client/src/app/ctl/config/config-manifest/config-manifest.component.html index ad81d10..d454c13 100644 --- a/client/src/app/ctl/config/config-manifest/config-manifest.component.html +++ b/client/src/app/ctl/config/config-manifest/config-manifest.component.html @@ -8,10 +8,16 @@ Target Path + + Target Path is required + Metadata Path + + Metadata Path is required +
Repositories
@@ -24,10 +30,16 @@ URL + + URL is required + {{repo.controls.checkoutLabel.value}} + + {{repo.controls.checkoutLabel.value}} is required +

Force diff --git a/client/src/app/ctl/config/config-manifest/repository/repository.component.html b/client/src/app/ctl/config/config-manifest/repository/repository.component.html index 5f1d185..af5c900 100644 --- a/client/src/app/ctl/config/config-manifest/repository/repository.component.html +++ b/client/src/app/ctl/config/config-manifest/repository/repository.component.html @@ -3,10 +3,16 @@ Repository Name + + Repository Name is required + URL + + URL is required + @@ -15,6 +21,9 @@ + + {{checkoutType}} is required +

Force