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.

refactor: rename item name to short description

Brad Barbinaf5a80437861
diff --git a/apps/carbon/app/modules/items/ui/Consumables/ConsumableForm.tsx b/apps/carbon/app/modules/items/ui/Consumables/ConsumableForm.tsx
index 48118ad4a0..8d6914c623 100644
--- a/apps/carbon/app/modules/items/ui/Consumables/ConsumableForm.tsx
+++ b/apps/carbon/app/modules/items/ui/Consumables/ConsumableForm.tsx
@@ -123,14 +123,14 @@ const ConsumableForm = ({
/>
)}
- <Input name="name" label="Name" />
+ <Input name="name" label="Short Description" />
<Select
name="itemTrackingType"
label="Tracking Type"
options={itemTrackingTypeOptions}
/>
{isEditing && (
- <TextArea name="description" label="Description" />
+ <TextArea name="description" label="Long Description" />
)}
<DefaultMethodType
diff --git a/apps/carbon/app/modules/items/ui/Fixtures/FixtureForm.tsx b/apps/carbon/app/modules/items/ui/Fixtures/FixtureForm.tsx
index d32028e3b8..2b2dce61a4 100644
--- a/apps/carbon/app/modules/items/ui/Fixtures/FixtureForm.tsx
+++ b/apps/carbon/app/modules/items/ui/Fixtures/FixtureForm.tsx
@@ -136,14 +136,14 @@ const FixtureForm = ({
/>
)}
- <Input name="name" label="Name" />
+ <Input name="name" label="Short Description" />
<Select
name="itemTrackingType"
label="Tracking Type"
options={itemTrackingTypeOptions}
/>
{isEditing && (
- <TextArea name="description" label="Description" />
+ <TextArea name="description" label="Long Description" />
)}
<Select
name="replenishmentSystem"
diff --git a/apps/carbon/app/modules/items/ui/Materials/MaterialForm.tsx b/apps/carbon/app/modules/items/ui/Materials/MaterialForm.tsx
index 94da6ce919..37b14db487 100644
--- a/apps/carbon/app/modules/items/ui/Materials/MaterialForm.tsx
+++ b/apps/carbon/app/modules/items/ui/Materials/MaterialForm.tsx
@@ -132,14 +132,14 @@ const MaterialForm = ({
/>
)}
- <Input name="name" label="Name" />
+ <Input name="name" label="Short Description" />
<Combobox
name="materialSubstanceId"
label="Substance"
options={substances}
/>
{isEditing && (
- <TextArea name="description" label="Description" />
+ <TextArea name="description" label="Long Description" />
)}
<Combobox name="materialFormId" label="Form" options={forms} />
<Input name="finish" label="Finish" />
diff --git a/apps/carbon/app/modules/items/ui/Parts/PartForm.tsx b/apps/carbon/app/modules/items/ui/Parts/PartForm.tsx
index bd25ef7405..01ac0a0a41 100644
--- a/apps/carbon/app/modules/items/ui/Parts/PartForm.tsx
+++ b/apps/carbon/app/modules/items/ui/Parts/PartForm.tsx
@@ -130,14 +130,14 @@ const PartForm = ({ initialValues, type = "card", onClose }: PartFormProps) => {
/>
)}
- <Input name="name" label="Name" />
+ <Input name="name" label="Short Description" />
<Select
name="itemTrackingType"
label="Tracking Type"
options={itemTrackingTypeOptions}
/>
{isEditing && (
- <TextArea name="description" label="Description" />
+ <TextArea name="description" label="Long Description" />
)}
<Select
diff --git a/apps/carbon/app/modules/items/ui/Services/ServiceForm.tsx b/apps/carbon/app/modules/items/ui/Services/ServiceForm.tsx
index 5e49aed217..e54b9f7ecd 100644
--- a/apps/carbon/app/modules/items/ui/Services/ServiceForm.tsx
+++ b/apps/carbon/app/modules/items/ui/Services/ServiceForm.tsx
@@ -80,13 +80,15 @@ const ServiceForm = ({ initialValues }: ServiceFormProps) => {
autoFocus
/>
)}
- <Input name="name" label="Name" />
+ <Input name="name" label="Short Description" />
<Select
name="serviceType"
label="Service Type"
options={serviceTypeOptions}
/>
- {isEditing && <TextArea name="description" label="Description" />}
+ {isEditing && (
+ <TextArea name="description" label="Long Description" />
+ )}
<Boolean name="active" label="Active" />
<CustomFormFields table="service" />
diff --git a/apps/carbon/app/modules/items/ui/Tools/ToolForm.tsx b/apps/carbon/app/modules/items/ui/Tools/ToolForm.tsx
index a40e09a5e0..a70207ff5b 100644
--- a/apps/carbon/app/modules/items/ui/Tools/ToolForm.tsx
+++ b/apps/carbon/app/modules/items/ui/Tools/ToolForm.tsx
@@ -119,14 +119,14 @@ const ToolForm = ({ initialValues, type = "card", onClose }: ToolFormProps) => {
/>
)}
- <Input name="name" label="Name" />
+ <Input name="name" label="Short Description" />
<Select
name="itemTrackingType"
label="Tracking Type"
options={itemTrackingTypeOptions}
/>
{isEditing && (
- <TextArea name="description" label="Description" />
+ <TextArea name="description" label="Long Description" />
)}
<DefaultMethodType