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 link to testing docs

Steven Teya9fe7acf0943
diff --git a/apps/web/lib/sandbox/components/test-payout-badge.tsx b/apps/web/lib/sandbox/components/test-payout-badge.tsx
index f44828bac4..ee27e672aa 100644
--- a/apps/web/lib/sandbox/components/test-payout-badge.tsx
+++ b/apps/web/lib/sandbox/components/test-payout-badge.tsx
@@ -12,7 +12,9 @@ export function TestPayoutBadge({
}
return (
- <Tooltip content="This is a test payout. No real money was sent.">
+ <Tooltip
+ content={`This is a test payout sent from a ${environment} program. No real money was sent. [Learn more](https://dub.co/docs/testing).`}
+ >
<Badge
variant={isStagingEnvironment(environment) ? "amber" : "blueGradient"}
className="cursor-help"
diff --git a/apps/web/lib/sandbox/components/workspace-environment.tsx b/apps/web/lib/sandbox/components/workspace-environment.tsx
index 978681670d..9f0944be66 100644
--- a/apps/web/lib/sandbox/components/workspace-environment.tsx
+++ b/apps/web/lib/sandbox/components/workspace-environment.tsx
@@ -88,7 +88,7 @@ export function WorkspaceEnvironmentBanner() {
<p className="hidden min-w-0 flex-1 text-center text-sm font-medium sm:block">
No real money or payouts in {currentWorkspace.environment}.{" "}
<a
- href="https://dub.co/docs"
+ href="https://dub.co/docs/testing"
target="_blank"
rel="noopener noreferrer"
className="underline underline-offset-2"