From 76ff8bdd3588bf0ae4e6da573a5bc5ca5d9f7ac7 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Fri, 31 Oct 2025 14:17:25 +0530 Subject: [PATCH] chore: Update cancel sub modal --- .../dashboard/i18n/locale/en/settings.json | 3 +- .../components/CancelSubscriptionModal.vue | 116 ++++++++---------- .../billing-v2/components/PricingPlans.vue | 29 +++-- 3 files changed, 64 insertions(+), 84 deletions(-) diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json index f3c58bb7e..648f058ac 100644 --- a/app/javascript/dashboard/i18n/locale/en/settings.json +++ b/app/javascript/dashboard/i18n/locale/en/settings.json @@ -493,8 +493,7 @@ "TITLE": "Cancel Subscription", "WARNING_TITLE": "Are you sure?", "WARNING_MESSAGE": "Cancelling your subscription will stop monthly credit renewals. Any remaining credits will still be available until used.", - "REASON_LABEL": "Reason for cancellation", - "OPTIONAL": "(optional)", + "REASON_LABEL": "Reason for cancellation (optional)", "REASON_PLACEHOLDER": "Help us improve by sharing why you're cancelling...", "INFO": "You can resubscribe anytime to continue receiving monthly credits.", "KEEP_SUBSCRIPTION": "Keep Subscription", diff --git a/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CancelSubscriptionModal.vue b/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CancelSubscriptionModal.vue index 40af4d072..c713924fe 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CancelSubscriptionModal.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CancelSubscriptionModal.vue @@ -1,94 +1,76 @@