The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
final changes
Steven Tey654513112538
diff --git a/apps/web/ui/customers/customer-table/customer-table.tsx b/apps/web/ui/customers/customer-table/customer-table.tsxindex 22d32ad2a2..33fa1f923d 100644--- a/apps/web/ui/customers/customer-table/customer-table.tsx+++ b/apps/web/ui/customers/customer-table/customer-table.tsx@@ -360,8 +360,9 @@ export function CustomerTable() {: "No customers have been recorded for your workspace yet. Learn how to track your first customer."}{...(!isFiltered && {- learnMoreHref: "https://dub.co/help/article/customer-insights",- learnMoreText: "Read the guide",+ learnMoreHref: `/${workspaceSlug}/guides`,+ learnMoreTarget: "_self",+ learnMoreText: "Read the guides",})}cardContent={() => (<>diff --git a/apps/web/ui/guides/guide-list.tsx b/apps/web/ui/guides/guide-list.tsxindex 64ee7041b7..93843753de 100644--- a/apps/web/ui/guides/guide-list.tsx+++ b/apps/web/ui/guides/guide-list.tsx@@ -46,7 +46,9 @@ export function GuideList() {value={currentStep}onValueChange={(value) => {queryParams({- ...(value ? { set: { step: value } } : { del: "step" }),+ set: {+ step: value || "none",+ },scroll: false,});}}@@ -118,7 +120,7 @@ export function GuideList() {router.push(showConnectLaterButton? `/${workspaceSlug}/program/new/overview`- : `/${workspaceSlug}/events`,+ : `/${workspaceSlug}/customers`,);return;}diff --git a/apps/web/ui/guides/integrations.ts b/apps/web/ui/guides/integrations.tsindex 0c4f935bf6..283751afb4 100644--- a/apps/web/ui/guides/integrations.ts+++ b/apps/web/ui/guides/integrations.ts@@ -67,6 +67,13 @@ export const guides: IntegrationGuide[] = [icon: Framer,url: "https://dub.co/docs/sdks/client-side/installation-guides/framer",},+ {+ type: "client-sdk",+ key: "shopify",+ title: "Shopify",+ icon: Shopify,+ url: "https://dub.co/docs/sdks/client-side/installation-guides/shopify",+ },{type: "client-sdk",key: "wordpress",@@ -81,13 +88,6 @@ export const guides: IntegrationGuide[] = [icon: Webflow,url: "https://dub.co/docs/sdks/client-side/installation-guides/webflow",},- {- type: "client-sdk",- key: "shopify",- title: "Shopify",- icon: Shopify,- url: "https://dub.co/docs/sdks/client-side/installation-guides/shopify",- },{type: "client-sdk",key: "manual-client-sdk",diff --git a/apps/web/ui/shared/animated-empty-state.tsx b/apps/web/ui/shared/animated-empty-state.tsxindex 5e682775d4..0020f32a5f 100644--- a/apps/web/ui/shared/animated-empty-state.tsx+++ b/apps/web/ui/shared/animated-empty-state.tsx@@ -12,6 +12,7 @@ export function AnimatedEmptyState({addButton,pillContent,learnMoreHref,+ learnMoreTarget = "_blank",learnMoreClassName,learnMoreText,className,@@ -22,6 +23,7 @@ export function AnimatedEmptyState({addButton?: ReactNode;pillContent?: string;learnMoreHref?: string;+ learnMoreTarget?: string;learnMoreClassName?: string;learnMoreText?: string;className?: string;@@ -59,7 +61,7 @@ export function AnimatedEmptyState({{learnMoreHref && (<Linkhref={learnMoreHref}- target="_blank"+ target={learnMoreTarget}className={cn(buttonVariants({ variant: addButton ? "secondary" : "primary" }),"flex h-9 items-center whitespace-nowrap rounded-lg border px-4 text-sm",