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.

remove beta tags

Steven Tey0af833a58190
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index bb067ab3c2..0bad4f1620 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -408,7 +408,7 @@ export const LinkSchema = z
trackConversion: z
.boolean()
.default(false)
- .describe("[BETA] Whether to track conversions for the short link."),
+ .describe("Whether to track conversions for the short link."),
externalId: z
.string()
.nullable()
@@ -566,16 +566,16 @@ export const LinkSchema = z
leads: z
.number()
.default(0)
- .describe("[BETA]: The number of leads the short links has generated."),
+ .describe("The number of leads the short links has generated."),
sales: z
.number()
.default(0)
- .describe("[BETA]: The number of sales the short links has generated."),
+ .describe("The number of sales the short links has generated."),
saleAmount: z
.number()
.default(0)
.describe(
- "[BETA]: The total dollar amount of sales the short links has generated (in cents).",
+ "The total dollar amount of sales the short links has generated (in cents).",
),
createdAt: z
.string()
diff --git a/apps/web/lib/zod/schemas/workspaces.ts b/apps/web/lib/zod/schemas/workspaces.ts
index 105dbaa674..0bbde40333 100644
--- a/apps/web/lib/zod/schemas/workspaces.ts
+++ b/apps/web/lib/zod/schemas/workspaces.ts
@@ -41,9 +41,7 @@ export const WorkspaceSchema = z
stripeConnectId: z
.string()
.nullable()
- .describe(
- "[BETA – Dub Conversions]: The Stripe Connect ID of the workspace.",
- ),
+ .describe("The Stripe Connect ID of the workspace."),
payoutMethodId: z
.string()
.nullable()
diff --git a/apps/web/ui/links/link-details-column.tsx b/apps/web/ui/links/link-details-column.tsx
index e4eedd391e..e80dfeda7f 100644
--- a/apps/web/ui/links/link-details-column.tsx
+++ b/apps/web/ui/links/link-details-column.tsx
@@ -154,25 +154,20 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
: (value) => pluralize("click", value),
iconClassName: "data-[active=true]:text-blue-500",
},
- // TODO: Remove this once Dub Conversions goes GA
- ...(link.leads > 0 || link.saleAmount > 0
- ? [
- {
- id: "leads",
- icon: UserCheck,
- value: link.leads,
- className: "hidden sm:flex",
- iconClassName: "data-[active=true]:text-purple-500",
- },
- {
- id: "sales",
- icon: InvoiceDollar,
- value: link.saleAmount,
- className: "hidden sm:flex",
- iconClassName: "data-[active=true]:text-teal-500",
- },
- ]
- : []),
+ {
+ id: "leads",
+ icon: UserCheck,
+ value: link.leads,
+ className: "hidden sm:flex",
+ iconClassName: "data-[active=true]:text-purple-500",
+ },
+ {
+ id: "sales",
+ icon: InvoiceDollar,
+ value: link.saleAmount,
+ className: "hidden sm:flex",
+ iconClassName: "data-[active=true]:text-teal-500",
+ },
],
[link],
);