Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.
TypeScript
fix(ui): let the primary action carry the fill
grim393e17962774
diff --git a/apps/app/app/(app)/companies/create-company-sheet.tsx b/apps/app/app/(app)/companies/create-company-sheet.tsxindex f9999692..600c4a30 100644--- a/apps/app/app/(app)/companies/create-company-sheet.tsx+++ b/apps/app/app/(app)/companies/create-company-sheet.tsx@@ -85,7 +85,7 @@ export function CreateCompanySheet() {return (<Sheet open={open} onOpenChange={(next) => setOpen(next || null)}><SheetTrigger asChild>- <Button size="sm">+ <Button><Icon icon={Add} data-icon="inline-start" />New company</Button>diff --git a/apps/app/app/(app)/contacts/create-contact-sheet.tsx b/apps/app/app/(app)/contacts/create-contact-sheet.tsxindex a8da8614..62002d9d 100644--- a/apps/app/app/(app)/contacts/create-contact-sheet.tsx+++ b/apps/app/app/(app)/contacts/create-contact-sheet.tsx@@ -84,7 +84,7 @@ export function CreateContactSheet({return (<Sheet open={open} onOpenChange={(next) => setOpen(next || null)}><SheetTrigger asChild>- <Button size="sm">+ <Button><Icon icon={Add} data-icon="inline-start" />New contact</Button>diff --git a/apps/app/app/(app)/deals/create-deal-sheet.tsx b/apps/app/app/(app)/deals/create-deal-sheet.tsxindex a45132ab..1fa3a52f 100644--- a/apps/app/app/(app)/deals/create-deal-sheet.tsx+++ b/apps/app/app/(app)/deals/create-deal-sheet.tsx@@ -94,7 +94,7 @@ export function CreateDealSheet({return (<Sheet open={open} onOpenChange={(next) => setOpen(next || null)}><SheetTrigger asChild>- <Button size="sm">+ <Button><Icon icon={Add} data-icon="inline-start" />New deal</Button>diff --git a/apps/app/components/crm/enrichment-actions.tsx b/apps/app/components/crm/enrichment-actions.tsxindex 5f808b91..bcb106a3 100644--- a/apps/app/components/crm/enrichment-actions.tsx+++ b/apps/app/components/crm/enrichment-actions.tsx@@ -72,8 +72,9 @@ export function EnrichmentActions({<span className="hidden sm:inline">Re-enrich</span></Button>+ {/* Research is the action on this record, so it takes the fill.+ * Re-enrich beside it is the quieter "do that again". */}<Button- variant="outline"size="sm"disabled={!hasDomain || research.isPending}onClick={() => research.mutate({ id: companyId })}diff --git a/packages/ui/src/components/table-pagination.tsx b/packages/ui/src/components/table-pagination.tsxindex 75a7f3ea..001b80dd 100644--- a/packages/ui/src/components/table-pagination.tsx+++ b/packages/ui/src/components/table-pagination.tsx@@ -42,7 +42,7 @@ export function TablePagination({{totalPages > 1 && (<div className="flex items-center gap-2"><Button- variant="outline"+ variant="ghost"size="sm"disabled={page <= 1}onClick={() => onPageChange(Math.max(1, page - 1))}@@ -53,8 +53,10 @@ export function TablePagination({<span className="text-muted-foreground text-xs tabular-nums">{page} / {totalPages}</span>+ {/* Next carries the weight: it is the one you press to move+ * through a list, and Previous is the way back. */}<Button- variant="outline"+ variant="contrast"size="sm"disabled={page >= totalPages}onClick={() => onPageChange(page + 1)}