From 152262242776a161eea1b9447a03bfb4fdbfa8fb Mon Sep 17 00:00:00 2001 From: Luke Mino-Altherr Date: Thu, 11 Dec 2025 10:52:10 -0800 Subject: [PATCH] fix: remove incorrect tooltip on remaining credit balance (#7383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Removed incorrect tooltip displayed on the remaining credit balance in the subscription panel. ## Changes - **What**: Removed unused `refreshTooltip` destructure and i18n translation key - **Breaking**: None Fixes #6694 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7383-fix-remove-incorrect-tooltip-on-remaining-credit-balance-2c66d73d3650814eaee0f3c9006b7bd6) by [Unito](https://www.unito.io) --------- Co-authored-by: Claude --- src/locales/en/main.json | 3 +- .../components/SubscriptionPanel.vue | 14 ------- .../composables/useSubscriptionActions.ts | 18 +-------- .../components/SubscriptionPanel.test.ts | 1 - .../useSubscriptionActions.test.ts | 39 +------------------ 5 files changed, 4 insertions(+), 71 deletions(-) diff --git a/src/locales/en/main.json b/src/locales/en/main.json index 76d9cc399..ca16d5399 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -1895,7 +1895,6 @@ "perMonth": "/ month", "usdPerMonth": "USD / month", "renewsDate": "Renews {date}", - "refreshesOn": "Refreshes to ${monthlyCreditBonusUsd} on {date}", "expiresDate": "Expires {date}", "manageSubscription": "Manage subscription", "partnerNodesBalance": "\"Partner Nodes\" Credit Balance", @@ -1908,7 +1907,7 @@ "monthlyBonusDescription": "Monthly credit bonus", "prepaidDescription": "Pre-paid credits", "prepaidCreditsInfo": "Pre-paid credits expire after 1 year from purchase date.", - "creditsRemainingThisMonth": "Credits remaining for this month", + "creditsRemainingThisMonth": "Credits remaining this month", "creditsYouveAdded": "Credits you've added", "monthlyCreditsInfo": "These credits refresh monthly and don't roll over", "viewMoreDetailsPlans": "View more details about plans & pricing", diff --git a/src/platform/cloud/subscription/components/SubscriptionPanel.vue b/src/platform/cloud/subscription/components/SubscriptionPanel.vue index ba5369c01..433589450 100644 --- a/src/platform/cloud/subscription/components/SubscriptionPanel.vue +++ b/src/platform/cloud/subscription/components/SubscriptionPanel.vue @@ -138,19 +138,6 @@ > {{ $t('subscription.creditsRemainingThisMonth') }} -