From 84747e90c91483594eccfa20bb3587e338b81f98 Mon Sep 17 00:00:00 2001 From: Varsha Kumari Date: Thu, 1 Oct 2026 21:09:07 +0530 Subject: [PATCH 1/3] removed credit detail while onboarding --- Changelog.md | 6 ++++++ src/components/stepper/OnboardingStepper.vue | 18 ++++++++++++++++++ .../stepper/StepCreateSSIService.vue | 13 ++++++++++++- src/store/mainStore.js | 2 +- .../components/ApproveCustomerOnboarding.vue | 9 +++------ 5 files changed, 40 insertions(+), 8 deletions(-) diff --git a/Changelog.md b/Changelog.md index e165763e..9cb89052 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,12 @@ # Changelog ## [Unreleased] +## [3.15.6] - 2026-10-1 + +### Changed + +- Added a retry action for failed workspace setup tasks using the onboarding approval API without a request body. +- Hid credit detail inputs on the Superadmin onboarding approval page. ## [3.15.5] - 2026-10-1 diff --git a/src/components/stepper/OnboardingStepper.vue b/src/components/stepper/OnboardingStepper.vue index bdff9970..926808bd 100644 --- a/src/components/stepper/OnboardingStepper.vue +++ b/src/components/stepper/OnboardingStepper.vue @@ -25,7 +25,9 @@ v-else-if="!isLoading && currentStep === 4" :company="company" :is-refreshing="isRefreshingStatus" + :is-retrying="isRetryingOnboarding" @refresh-status="refreshOnboardingStatus" + @retry-onboarding="retryOnboarding" /> @@ -112,6 +114,7 @@ export default { steps: [{ label: 'Organization' }, { label: 'Intended use' }], isProcessingCredit: false, isRefreshingStatus: false, + isRetryingOnboarding: false, creditErrorMessage: null, }; }, @@ -154,6 +157,7 @@ export default { }, populateCompanyFromOnboarding(data) { this.company = { + onboardingRecordId: data._id || data.id || '', name: data.companyName || '', logo: data.companyLogo || '', contact_email: data.customerEmail || '', domain: data.domain || '', type: data.type === 2 || data.type === 'COMMUNITY' ? 'COMMUNITY' : 'BUSINESS', @@ -213,6 +217,20 @@ export default { this.isRefreshingStatus = false; } }, + async retryOnboarding() { + if (this.isRetryingOnboarding || !this.company.onboardingRecordId) return; + this.isRetryingOnboarding = true; + try { + await this.$store.dispatch('mainStore/approveOnboardingRequest', { + recordId: this.company.onboardingRecordId, + }); + await this.refreshOnboardingStatus(); + } catch (error) { + console.error(error?.message || error); + } finally { + this.isRetryingOnboarding = false; + } + }, async processCreditRequest() { if (this.isProcessingCredit || this.hasSubmitted) return; this.isProcessingCredit = true; diff --git a/src/components/stepper/StepCreateSSIService.vue b/src/components/stepper/StepCreateSSIService.vue index 95e26e37..c1bcd623 100644 --- a/src/components/stepper/StepCreateSSIService.vue +++ b/src/components/stepper/StepCreateSSIService.vue @@ -51,7 +51,14 @@

{{ item.description }}

- {{ item.statusLabel }} + + {{ item.statusLabel }}
@@ -100,6 +107,7 @@ export default { props: { company: { type: Object, required: true }, isRefreshing: { type: Boolean, default: false }, + isRetrying: { type: Boolean, default: false }, }, computed: { supportMailto() { @@ -296,6 +304,9 @@ export default { .complete .status-label { background: #e3f8ed; color: #159a68; } .active .status-label { background: #e2e4e6; color: #5a6268; } .failed .status-label { background: #ffe1e1; color: #dc3c3c; } +.retry-button { border: 0; cursor: pointer; font: inherit; } +.retry-button:hover:not(:disabled) { background: #dc3c3c; color: #fff; } +.retry-button:disabled { cursor: wait; opacity: .65; } .failure-row { display: flex; gap: 12px; align-items: center; margin-top: 6px; } .failure-row > span { min-width: 0; flex: 1; padding: 7px 10px; border-radius: 4px; background: #fff0f0; color: #d74848; font-size: 11px; line-height: 1.35; } .status-footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 2px; } diff --git a/src/store/mainStore.js b/src/store/mainStore.js index 1796c987..dc658f31 100644 --- a/src/store/mainStore.js +++ b/src/store/mainStore.js @@ -598,7 +598,7 @@ const mainStore = { const url = `${apiServerBaseUrl}/customer-onboarding/${payload.recordId}/process`; const resp = await RequestHandler(url, 'POST', - payload, + {}, UtilsMixin.methods.getHeader(getters.getAuthToken), ) if (!resp || Array.isArray(resp.message)) { diff --git a/src/views/sa/components/ApproveCustomerOnboarding.vue b/src/views/sa/components/ApproveCustomerOnboarding.vue index ef10acbc..ba5cbe43 100644 --- a/src/views/sa/components/ApproveCustomerOnboarding.vue +++ b/src/views/sa/components/ApproveCustomerOnboarding.vue @@ -24,6 +24,7 @@ +
-

Review all credit details carefully before clicking approve.

Date: Thu, 1 Oct 2026 21:10:01 +0530 Subject: [PATCH 2/3] updated package json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80104b94..604ef83f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "entity-developer-dashboard", - "version": "3.15.5", + "version": "3.15.6", "private": true, "scripts": { "serve": "vue-cli-service serve --mode production", From efd5047bc3ddab32815ccbf154df559b3f6a700b Mon Sep 17 00:00:00 2001 From: Varsha Kumari Date: Thu, 1 Oct 2026 21:11:58 +0530 Subject: [PATCH 3/3] updated chnage log --- Changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 9cb89052..cba1ee59 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,7 +6,7 @@ ### Changed - Added a retry action for failed workspace setup tasks using the onboarding approval API without a request body. -- Hid credit detail inputs on the Superadmin onboarding approval page. +- Hide the credit detail inputs on the Superadmin onboarding approval page. ## [3.15.5] - 2026-10-1