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: update bill of material and bill of process to match configurator style
Brad Barbine79ba826693a
diff --git a/apps/carbon/app/components/SortableList.tsx b/apps/carbon/app/components/SortableList.tsxindex 7269cb747b..823536c8ba 100644--- a/apps/carbon/app/components/SortableList.tsx+++ b/apps/carbon/app/components/SortableList.tsx@@ -67,9 +67,8 @@ function SortableListItem<T>({value={item}className={cn("relative z-auto grow",- "h-full rounded-md bg-card",- "border border-border shadow-sm",- "dark:border-0 dark:shadow-[0px_1px_0px_0px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_rgba(0,0,0,.1),0px_2px_2px_0px_rgba(0,0,0,.1),0px_4px_4px_0px_rgba(0,0,0,.1),0px_8px_8px_0px_rgba(0,0,0,.1)]",+ "h-full rounded-md bg-muted/30 py-2",+ "border border-border rounded-lg",item.checked ? "cursor-not-allowed" : "cursor-grab",item.checked && !isDragging ? "w-7/10" : "w-full")}diff --git a/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx b/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsxindex 65c3729aa7..9909127ad1 100644--- a/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx+++ b/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx@@ -95,9 +95,7 @@ function makeItem(id: material.id!,title: (<VStack spacing={0} className="py-2.5">- <h4 className="flex text-xs font-bold uppercase tracking-tighter md:text-sm truncate">- {material.itemReadableId}- </h4>+ <h3 className="font-semibold truncate">{material.itemReadableId}</h3>{material?.description && (<span className="text-xs text-muted-foreground">{material.description}{" "}diff --git a/apps/carbon/app/modules/items/ui/Item/BillOfProcess.tsx b/apps/carbon/app/modules/items/ui/Item/BillOfProcess.tsxindex 59d7c1e9b9..65b486cd71 100644--- a/apps/carbon/app/modules/items/ui/Item/BillOfProcess.tsx+++ b/apps/carbon/app/modules/items/ui/Item/BillOfProcess.tsx@@ -118,11 +118,7 @@ function makeItems(operations: Operation[]): ItemWithData[] {function makeItem(operation: Operation): ItemWithData {return {id: operation.id!,- title: (- <h4 className="flex text-xs font-bold uppercase tracking-tighter md:text-sm truncate">- {operation.description}- </h4>- ),+ title: <h3 className="font-semibold truncate">{operation.description}</h3>,checked: false,order: operation.operationOrder,details: (diff --git a/apps/carbon/app/modules/items/ui/Parts/ConfigurationParameters.tsx b/apps/carbon/app/modules/items/ui/Parts/ConfigurationParameters.tsxindex 79d3314b09..0202d8e944 100644--- a/apps/carbon/app/modules/items/ui/Parts/ConfigurationParameters.tsx+++ b/apps/carbon/app/modules/items/ui/Parts/ConfigurationParameters.tsx@@ -181,7 +181,7 @@ export default function ConfigurationParametersForm({<><Card isCollapsible><CardHeader>- <CardTitle>Parameters</CardTitle>+ <CardTitle>Configuration Parameters</CardTitle></CardHeader><CardContent>@@ -787,7 +787,7 @@ function ConfigurableParameter({disclosure.onClose();submitted.current = false;}- }, [fetcher.state]);+ }, [disclosure, fetcher.state]);const isUpdated = parameter.updatedBy !== null;const person = isUpdated ? parameter.updatedBy : parameter.createdBy;diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsxindex c73f94d236..6d7b747d82 100644--- a/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx+++ b/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx@@ -94,9 +94,7 @@ function makeItem(id: material.id!,title: (<VStack spacing={0} className="py-2.5">- <h4 className="flex text-xs font-bold uppercase tracking-tighter md:text-sm truncate">- {material.itemReadableId}- </h4>+ <h3 className="font-semibold truncate">{material.itemReadableId}</h3>{material?.description && (<span className="text-xs text-muted-foreground">{material.description}{" "}diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobBillOfProcess.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobBillOfProcess.tsxindex bb79ed12cf..13364382fd 100644--- a/apps/carbon/app/modules/production/ui/Jobs/JobBillOfProcess.tsx+++ b/apps/carbon/app/modules/production/ui/Jobs/JobBillOfProcess.tsx@@ -114,9 +114,7 @@ function makeItem(operation: Operation): ItemWithData {id: operation.id!,title: (<HStack>- <h4 className="flex text-xs font-bold uppercase tracking-tighter md:text-sm truncate">- {operation.description}- </h4>+ <h3 className="font-semibold truncate">{operation.description}</h3><OperationStatusIcon status={operation.status} /></HStack>),diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsxindex 4e7a7f042e..477201dfc8 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx@@ -94,9 +94,7 @@ function makeItem(id: material.id!,title: (<VStack spacing={0} className="py-2.5">- <h4 className="flex text-xs font-bold uppercase tracking-tighter md:text-sm truncate">- {material.itemReadableId}- </h4>+ <h3 className="font-semibold truncate">{material.itemReadableId}</h3>{material?.description && (<span className="text-xs text-muted-foreground">{material.description}{" "}diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsxindex 596479df47..513b7ca8ec 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx@@ -118,11 +118,7 @@ function makeItems(operations: Operation[]): ItemWithData[] {function makeItem(operation: Operation): ItemWithData {return {id: operation.id!,- title: (- <h4 className="flex text-xs font-bold uppercase tracking-tighter md:text-sm truncate">- {operation.description}- </h4>- ),+ title: <h3 className="font-semibold truncate">{operation.description}</h3>,checked: false,order: operation.operationOrder,details: (