Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: add descriptions to the different files components
Brad Barbina91f90db7879
diff --git a/apps/erp/app/components/Documents.tsx b/apps/erp/app/components/Documents.tsxindex 10e510bc3e..fe6fdaed5a 100644--- a/apps/erp/app/components/Documents.tsx+++ b/apps/erp/app/components/Documents.tsx@@ -3,6 +3,7 @@ import {Card,CardAction,CardContent,+ CardDescription,CardHeader,CardTitle,DropdownMenu,@@ -221,6 +222,9 @@ const Documents = ({<HStack className="justify-between items-start"><CardHeader><CardTitle>Files</CardTitle>+ <CardDescription>+ Files related to the {sourceDocument.toLowerCase()}.+ </CardDescription></CardHeader><CardAction><Filediff --git a/apps/erp/app/modules/items/ui/Item/ItemDocuments.tsx b/apps/erp/app/modules/items/ui/Item/ItemDocuments.tsxindex 7a8ff884f2..bc3c108f92 100644--- a/apps/erp/app/modules/items/ui/Item/ItemDocuments.tsx+++ b/apps/erp/app/modules/items/ui/Item/ItemDocuments.tsx@@ -3,6 +3,7 @@ import {Card,CardAction,CardContent,+ CardDescription,CardHeader,CardTitle,DropdownMenu,@@ -90,6 +91,10 @@ const ItemDocuments = ({<HStack className="justify-between items-start"><CardHeader><CardTitle>Files</CardTitle>+ <CardDescription>+ Files related to the {type.toLowerCase()}. These are not shown on+ jobs by default.+ </CardDescription></CardHeader><CardAction><ItemDocumentForm type={type} itemId={itemId} />diff --git a/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionDocuments.tsx b/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionDocuments.tsxindex 418b8366b4..419bba7cc8 100644--- a/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionDocuments.tsx+++ b/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionDocuments.tsx@@ -3,6 +3,7 @@ import {Card,CardAction,CardContent,+ CardDescription,CardHeader,CardTitle,DropdownMenu,@@ -71,6 +72,9 @@ const SupplierInteractionDocuments = ({<HStack className="justify-between items-start"><CardHeader><CardTitle>Files</CardTitle>+ <CardDescription>+ Files related to the supplier interaction.+ </CardDescription></CardHeader><CardAction><SupplierInteractionDocumentFormdiff --git a/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionLineDocuments.tsx b/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionLineDocuments.tsxindex c4484fe3b4..48be2c8c04 100644--- a/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionLineDocuments.tsx+++ b/apps/erp/app/modules/purchasing/ui/SupplierInteraction/SupplierInteractionLineDocuments.tsx@@ -2,6 +2,7 @@ import {Card,CardAction,CardContent,+ CardDescription,CardHeader,CardTitle,DropdownMenu,@@ -231,6 +232,9 @@ const SupplierInteractionLineDocuments = ({<HStack className="justify-between items-start"><CardHeader><CardTitle>Files</CardTitle>+ <CardDescription>+ Files related to the supplier interaction line.+ </CardDescription></CardHeader><CardAction><SupplierInteractionLineDocumentFormdiff --git a/apps/erp/app/modules/sales/ui/Opportunity/OpportunityDocuments.tsx b/apps/erp/app/modules/sales/ui/Opportunity/OpportunityDocuments.tsxindex 4e060cb809..10a2e3b0f1 100644--- a/apps/erp/app/modules/sales/ui/Opportunity/OpportunityDocuments.tsx+++ b/apps/erp/app/modules/sales/ui/Opportunity/OpportunityDocuments.tsx@@ -4,6 +4,7 @@ import {Card,CardAction,CardContent,+ CardDescription,CardHeader,CardTitle,DropdownMenu,@@ -97,6 +98,7 @@ const OpportunityDocuments = ({<HStack className="justify-between items-start"><CardHeader><CardTitle>Files</CardTitle>+ <CardDescription>Files related to the opportunity</CardDescription></CardHeader><CardAction><OpportunityDocumentFormdiff --git a/apps/erp/app/modules/sales/ui/Opportunity/OpportunityLineDocuments.tsx b/apps/erp/app/modules/sales/ui/Opportunity/OpportunityLineDocuments.tsxindex 41594f2e14..59af7f1955 100644--- a/apps/erp/app/modules/sales/ui/Opportunity/OpportunityLineDocuments.tsx+++ b/apps/erp/app/modules/sales/ui/Opportunity/OpportunityLineDocuments.tsx@@ -2,6 +2,7 @@ import {Card,CardAction,CardContent,+ CardDescription,CardHeader,CardTitle,DropdownMenu,@@ -316,6 +317,9 @@ const OpportunityLineDocuments = ({<HStack className="justify-between items-start"><CardHeader><CardTitle>Files</CardTitle>+ <CardDescription>+ Files related to the opportunity line.+ </CardDescription></CardHeader><CardAction><OpportunityLineDocumentForm id={id} type={type} lineId={lineId} />diff --git a/apps/mes/app/components/JobOperation.tsx b/apps/mes/app/components/JobOperation.tsxindex d09aaff27f..f5d8fcebbf 100644--- a/apps/mes/app/components/JobOperation.tsx+++ b/apps/mes/app/components/JobOperation.tsx@@ -515,6 +515,9 @@ export const JobOperation = ({<div className="flex flex-col items-start justify-between w-full"><div className="flex flex-col gap-4 p-4 w-full"><Heading size="h3">Files</Heading>+ <p className="text-muted-foreground text-sm -mt-2">+ Files related to the job and the opportunity line.+ </p><Suspense key={operationId} fallback={<TableSkeleton />}><Await resolve={files}>{(resolvedFiles) => (