The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
improve payouts enabled tooltip content
Steven Tey3af2d52209e8
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsxindex 423b4bd7d1..68ffb8472c 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsx@@ -323,6 +323,11 @@ function PayoutDetailsSheetContent({ payout }: PayoutDetailsSheetProps) {<Buttontype="button"text="Confirm payout"+ disabledTooltip={+ !payout.partner.payoutsEnabledAt+ ? "This partner has not [connected a bank account](https://dub.co/help/article/receiving-payouts) to receive payouts yet, which means they won't be able to receive payouts from your program."+ : undefined+ }onClick={() => {queryParams({set: {diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-table.tsxindex f69fbecf46..715f57bcb5 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-table.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-table.tsx@@ -348,7 +348,7 @@ function AmountRowItem({if (payout.mode === "internal" && !payout.partner?.payoutsEnabledAt) {return (- <Tooltip content="This partner does not have payouts enabled, which means they will not be able to receive any payouts from this program.">+ <Tooltip content="This partner has not [connected a bank account](https://dub.co/help/article/receiving-payouts) to receive payouts yet, which means they won't be able to receive payouts from your program."><span className="cursor-help truncate text-neutral-400 underline decoration-dotted underline-offset-2">{display}</span>diff --git a/apps/web/ui/partners/partner-row-item.tsx b/apps/web/ui/partners/partner-row-item.tsxindex 7838b4b428..7cbb078122 100644--- a/apps/web/ui/partners/partner-row-item.tsx+++ b/apps/web/ui/partners/partner-row-item.tsx@@ -53,7 +53,7 @@ const PAYOUT_STATUS_CONFIG = {disabled: {title: "Payouts disabled",description:- "This partner does not have payouts enabled, which means they will not be able to receive any payouts from this program.",+ "This partner has not connected a bank account to receive payouts yet, which means they won't be able to receive payouts from your program.",icon: CircleMinus,iconClassName: "border-red-300 bg-red-200 text-red-800",indicatorColor: "bg-red-500",