The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
some more tweaks
Steven Tey93f2974e2596
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsxindex 329a087db8..9aebbace94 100644--- a/apps/web/ui/analytics/events/events-table.tsx+++ b/apps/web/ui/analytics/events/events-table.tsx@@ -71,7 +71,7 @@ const FilterButton = ({ set }: { set: Record<string, any> }) => {};export default function EventsTable() {- const { id: workspaceId } = useWorkspace();+ const { slug: workspaceSlug } = useWorkspace();const { searchParams, queryParams } = useRouterStuff();const { setExportQueryString } = useContext(EventsContext);const { selectedTab: tab } = useContext(AnalyticsContext);@@ -436,7 +436,12 @@ export default function EventsTable() {title="Real-time Events Stream"description={`Want more data on your ${tab === "clicks" ? "link clicks & QR code scans" : tab}? Upgrade to our Business Plan to get a detailed, real-time stream of events in your workspace.`}buttonText="Upgrade to Business"- buttonLink={`/${workspaceId}/settings/billing?upgrade=business`}+ buttonLink={queryParams({+ set: {+ upgrade: "business",+ },+ getNewPath: true,+ })}/></div><div className="h-[400px]" />diff --git a/apps/web/ui/shared/empty-state.tsx b/apps/web/ui/shared/empty-state.tsxindex aff1f859a4..1cb66997dd 100644--- a/apps/web/ui/shared/empty-state.tsx+++ b/apps/web/ui/shared/empty-state.tsx@@ -29,7 +29,7 @@ export default function EmptyState({{buttonText && buttonLink && (<Linkhref={buttonLink}- target="_blank"+ {...(buttonLink.startsWith("http") ? { target: "_blank" } : {})}className={cn(buttonVariants({ variant: "secondary" }),"flex h-8 items-center justify-center gap-2 rounded-md border px-4 text-sm",diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsxindex 4ede793e52..e90b667d11 100644--- a/packages/utils/src/constants/pricing.tsx+++ b/packages/utils/src/constants/pricing.tsx@@ -58,11 +58,12 @@ const BUSINESS_PLAN_MODIFIER = ({{ text: `${domains} custom domains` },{ text: `${users} users` },{- text: `${nFormatter(tags, { full: true })} tags`,+ text: "Real-time events stream",footnote: {- title: "Organize your links with tags.",+ title:+ "Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta: "Learn more.",- href: "https://dub.co/help/article/how-to-use-tags",+ href: "https://dub.co/help/category/analytics",},},{