You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update credit purchase terminology in billing section (#7705)
# Update Credit Balance Section UI
This PR updates the UI text in the credit balance section to improve clarity:
- Changed "Top Up Credits" to "Credits" in the section header
- Updated tooltip text from "Only team owners can top up credits" to "Only team owners can purchase credits"
- Changed button text from "Top Up With Crypto" to "Buy Credits"
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Style**
* Updated text labels in the credit balance section for improved clarity, including changes to headings, tooltips, and button text.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on updating the terminology related to credit purchases in the `CreditBalanceSection` component, making it clearer for users. The changes enhance the user experience by refining the language used in the interface.
### Detailed summary
- Changed heading from `Top Up Credits` to `Credits`.
- Updated tooltip message from `Only team owners can top up credits.` to `Only team owners can purchase credits.`.
- Renamed button text from `Top Up With Crypto` to `Buy Credits`.
- Modified summary label from `Top-up amount:` to `Added credits:` in multiple places.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
Copy file name to clipboardExpand all lines: apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/billing/components/credit-balance-section.client.tsx
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ export function CreditBalanceSection({
68
68
69
69
<Separator/>
70
70
<divclassName="space-y-2">
71
-
<h3className="font-medium text-lg">Top Up Credits</h3>
71
+
<h3className="font-medium text-lg">Credits</h3>
72
72
<pclassName="text-muted-foreground text-sm">
73
73
Add credits to your account for future billing cycles. Credits are
74
74
non-refundable and do not expire.
@@ -152,7 +152,7 @@ export function CreditBalanceSection({
152
152
153
153
<ToolTipLabel
154
154
label={
155
-
isOwnerAccount ? null : "Only team owners can top up credits."
155
+
isOwnerAccount ? null : "Only team owners can purchase credits."
156
156
}
157
157
>
158
158
<div>
@@ -168,7 +168,7 @@ export function CreditBalanceSection({
0 commit comments