The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Merge branch 'main' into project-to-workspace
Kiran K909248517620
diff --cc apps/web/ui/layout/project-select.tsxindex 6c097f6afd,f01395d208..b5cfd588b5--- a/apps/web/ui/layout/project-select.tsx+++ b/apps/web/ui/layout/project-select.tsx@@@ -138,8 -136,8 +136,8 @@@ function ProjectList(return (<div className="relative mt-1 max-h-72 w-full space-y-0.5 overflow-auto rounded-md bg-white p-2 text-base sm:w-60 sm:text-sm sm:shadow-lg">- <div className="p-2 text-xs text-gray-500">My Projects</div>+ <div className="p-2 text-xs text-gray-500">My Workspaces</div>- {projects.map(({ id, name, slug, logo, primaryDomain, metadata }) => {+ {projects.map(({ id, name, slug, logo }) => {return (<Linkkey={slug}diff --cc apps/web/ui/projects/project-card.tsxindex ee1d759e5d,06375b4dfb..72a9d248fe--- a/apps/web/ui/projects/project-card.tsx+++ b/apps/web/ui/projects/project-card.tsx@@@ -101,42 -96,49 +96,49 @@@ export default function ProjectCard(<h2 className="max-w-[200px] truncate text-lg font-medium text-gray-700">{name}</h2>- <div className="flex items-center">- <p className="text-gray-500">{primaryDomain?.slug}</p>- <Tooltip- content={- <DomainsTooltip- domains={domains}- title={- primaryDomain?.verified === false- ? "Please verify your domain to start adding links."- : "Here are all the domains for this workspace."- }- cta={- primaryDomain?.verified === false- ? "Verify Domain"- : `Manage Domain${domains.length > 1 ? "s" : ""}`- }- href={`/${slug}/domains`}- />- }- >- <div className="ml-1 flex items-center">- {domains.length > 1 ? (- <Badge- variant="gray"- className="border-gray-300 transition-all hover:bg-gray-200"- >- +{domains.length - 1}- </Badge>- ) : primaryDomain?.verified ? (- <CheckCircleFill className="h-5 w-5 text-blue-500" />- ) : primaryDomain?.verified === false ? (- <XCircleFill className="h-5 w-5 text-gray-300" />- ) : null}- </div>- </Tooltip>- </div>+ {loading ? (+ <div className="mt-1 flex items-center space-x-2">+ <div className="h-5 w-20 animate-pulse rounded-md bg-gray-200" />+ <div className="h-5 w-5 animate-pulse rounded-full bg-gray-200" />+ </div>+ ) : (+ <div className="flex items-center">+ <p className="text-gray-500">{primaryDomain}</p>+ <Tooltip+ content={+ <DomainsTooltip+ domains={domains}+ title={+ verified === false+ ? "Please verify your domain to start adding links."- : "Here are all the domains for this project."++ : "Here are all the domains for this workspace."+ }+ cta={+ verified === false+ ? "Verify Domain"+ : `Manage Domain${domains.length > 1 ? "s" : ""}`+ }+ href={`/${slug}/domains`}+ />+ }+ >+ <div className="ml-1 flex items-center">+ {domains.length > 1 ? (+ <Badge+ variant="gray"+ className="border-gray-300 transition-all hover:bg-gray-200"+ >+ +{domains.length - 1}+ </Badge>+ ) : verified ? (+ <CheckCircleFill className="h-5 w-5 text-blue-500" />+ ) : verified === false ? (+ <XCircleFill className="h-5 w-5 text-gray-300" />+ ) : null}+ </div>+ </Tooltip>+ </div>+ )}</div></div><PlanBadge plan={plan} />