Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add tooltip for merge accounts

Steven Teyd73386e16716
diff --git a/apps/web/scripts/partners/check-pending-paypal-payouts.ts b/apps/web/scripts/partners/check-pending-paypal-payouts.ts
index dfb32a1bb5..a48698fd61 100644
--- a/apps/web/scripts/partners/check-pending-paypal-payouts.ts
+++ b/apps/web/scripts/partners/check-pending-paypal-payouts.ts
@@ -23,6 +23,9 @@ async function main() {
gte: 10000,
},
partner: {
+ // payoutsEnabledAt: {
+ // not: null,
+ // },
country: {
in: PAYPAL_SUPPORTED_COUNTRIES,
},
@@ -39,6 +42,7 @@ async function main() {
.map((payout) => ({
program: payout.program.name,
partner: payout.partner.email,
+ status: payout.status,
country: payout.partner.country,
amount: payout.amount / 100,
}));
diff --git a/apps/web/ui/partners/merge-accounts/merge-partner-accounts-modal.tsx b/apps/web/ui/partners/merge-accounts/merge-partner-accounts-modal.tsx
index 4663323dd0..94d2c811c6 100644
--- a/apps/web/ui/partners/merge-accounts/merge-partner-accounts-modal.tsx
+++ b/apps/web/ui/partners/merge-accounts/merge-partner-accounts-modal.tsx
@@ -4,7 +4,7 @@ import { MergePartnerAccountsFormProvider } from "@/ui/partners/merge-accounts/f
import { MergeAccountForm } from "@/ui/partners/merge-accounts/merge-account-form";
import { SendVerificationCodeForm } from "@/ui/partners/merge-accounts/send-verification-code-form";
import { VerifyCodeForm } from "@/ui/partners/merge-accounts/verify-code-form";
-import { Modal } from "@dub/ui";
+import { InfoTooltip, Modal, SimpleTooltipContent } from "@dub/ui";
import { AnimatePresence, motion } from "framer-motion";
import {
Dispatch,
@@ -70,8 +70,17 @@ function MergePartnerAccountsModalInner({
return (
<div>
- <div className="border-b border-neutral-200 p-4 sm:p-6">
+ <div className="flex items-center gap-2 border-b border-neutral-200 p-4 sm:p-6">
<h3 className="text-lg font-medium leading-none">Merge accounts</h3>
+ <InfoTooltip
+ content={
+ <SimpleTooltipContent
+ title="Learn how to merge one of your partner accounts with another, to keep things organized and better managed."
+ cta="Learn more"
+ href="https://dub.co/help/article/merging-partner-accounts"
+ />
+ }
+ />
</div>
<div className="flex flex-col gap-2 bg-neutral-50 p-4 sm:p-6">