Skip to content

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.

fix(items): show tool description in Bill of Process step tools dropdown (#1441)

Brad Barbindd8f587e2c22
diff --git a/apps/erp/app/components/StepLinkEditor.tsx b/apps/erp/app/components/StepLinkEditor.tsx
index 407c77060b..bb6f0fcedd 100644
--- a/apps/erp/app/components/StepLinkEditor.tsx
+++ b/apps/erp/app/components/StepLinkEditor.tsx
@@ -104,9 +104,14 @@ export function StepLinkEditor({
onSelect={() => onAdd(item.id)}
className="flex items-center justify-between gap-4"
>
- <span className="min-w-0 flex-1 truncate">
- {item.name}
- </span>
+ <div className="flex min-w-0 flex-1 flex-col">
+ <span className="truncate">{item.name}</span>
+ {item.secondary && (
+ <span className="truncate text-xs text-muted-foreground">
+ {item.secondary}
+ </span>
+ )}
+ </div>
<span className="shrink-0 text-xs text-muted-foreground">
×{item.quantity}
</span>