From 41308d570d71de96e6984f23715bcd510155f019 Mon Sep 17 00:00:00 2001 From: Maxime Bajeux Date: Mon, 25 Jan 2021 02:14:35 +0100 Subject: [PATCH] feat(configurations): Review UI/UX configurations (#4691) * feat(configurations): Review UI/UX configurations * feat(configurations): fix binary secret value * fix(frontend): populate data between simple and advanced modes (#4503) * fix(configuration): parseYaml before create configuration * fix(configurations): change c to C in ConfigurationOwner * fix(application): change configuration index to configuration key in the view * fix(configuration): resolve problem in application create with configuration not overriden. * fix(configuration): fix bad import in helper Co-authored-by: Simon Meng --- .../kubernetesConfigurationData.html | 15 +++-- .../kubernetesConfigurationData.js | 1 + .../kubernetesConfigurationDataController.js | 36 +++++++++-- app/kubernetes/converters/configMap.js | 50 ++++++++++----- app/kubernetes/converters/configuration.js | 9 ++- app/kubernetes/converters/secret.js | 62 ++++++++++++++----- app/kubernetes/helpers/configurationHelper.js | 31 ++++++++++ app/kubernetes/models/config-map/models.js | 2 +- app/kubernetes/models/config-map/payloads.js | 2 + .../models/configuration/formvalues.js | 10 ++- app/kubernetes/models/configuration/models.js | 1 + app/kubernetes/models/secret/models.js | 2 +- app/kubernetes/models/secret/payloads.js | 2 + .../create/createConfiguration.html | 8 ++- .../create/createConfigurationController.js | 8 ++- .../configurations/edit/configuration.html | 7 ++- .../edit/configurationController.js | 34 +++++----- package.json | 4 ++ yarn.lock | 35 +++++++++++ 19 files changed, 246 insertions(+), 73 deletions(-) diff --git a/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html b/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html index baf86f9e7..432b524ee 100644 --- a/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html +++ b/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html @@ -3,13 +3,13 @@ Data -
+ -
+