From 731f3959c799a76e7fa6c126859372320730f720 Mon Sep 17 00:00:00 2001 From: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com> Date: Mon, 1 May 2023 09:14:30 +1200 Subject: [PATCH] fix(UI): update application deploy/update messages EE-4005 (#8819) --- .../views/applications/create/createApplicationController.js | 4 ++-- app/kubernetes/views/deploy/deployController.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/kubernetes/views/applications/create/createApplicationController.js b/app/kubernetes/views/applications/create/createApplicationController.js index 8fcff5d04..9046348d7 100644 --- a/app/kubernetes/views/applications/create/createApplicationController.js +++ b/app/kubernetes/views/applications/create/createApplicationController.js @@ -1044,7 +1044,7 @@ class KubernetesCreateApplicationController { this.formValues.ApplicationOwner = this.Authentication.getUserDetails().username; _.remove(this.formValues.Configurations, (item) => item.SelectedConfiguration === undefined); await this.KubernetesApplicationService.create(this.formValues); - this.Notifications.success('Application successfully deployed', this.formValues.Name); + this.Notifications.success('Request to deploy application successfully submitted', this.formValues.Name); this.$state.go('kubernetes.applications'); } catch (err) { this.Notifications.error('Failure', err, 'Unable to create application'); @@ -1066,7 +1066,7 @@ class KubernetesCreateApplicationController { try { this.state.actionInProgress = true; await this.KubernetesApplicationService.patch(this.savedFormValues, this.formValues); - this.Notifications.success('Success', 'Application successfully updated'); + this.Notifications.success('Success', 'Request to update application successfully submitted'); this.$state.go('kubernetes.applications.application', { name: this.application.Name, namespace: this.application.ResourcePool }); } catch (err) { this.Notifications.error('Failure', err, 'Unable to update application'); diff --git a/app/kubernetes/views/deploy/deployController.js b/app/kubernetes/views/deploy/deployController.js index 9ffcb1e11..894c6d406 100644 --- a/app/kubernetes/views/deploy/deployController.js +++ b/app/kubernetes/views/deploy/deployController.js @@ -281,7 +281,7 @@ class KubernetesDeployController { await this.StackService.kubernetesDeploy(this.endpoint.Id, method, payload); - this.Notifications.success('Success', 'Manifest successfully deployed'); + this.Notifications.success('Success', 'Request to deploy manifest successfully submitted'); this.state.isEditorDirty = false; if (this.$state.params.referrer) {