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.

style: add title to tables

Brad Barbinc959d6e9dbc1
diff --git a/apps/carbon/app/components/Table/Table.tsx b/apps/carbon/app/components/Table/Table.tsx
index b44fe11d1b..385901d7c0 100644
--- a/apps/carbon/app/components/Table/Table.tsx
+++ b/apps/carbon/app/components/Table/Table.tsx
@@ -71,6 +71,7 @@ interface TableProps<T extends object> {
label: string;
}[];
primaryAction?: ReactNode;
+ title?: string;
withInlineEditing?: boolean;
withPagination?: boolean;
withSearch?: boolean;
@@ -91,6 +92,7 @@ const Table = <T extends object>({
editableComponents,
importCSV,
primaryAction,
+ title,
withInlineEditing = false,
withPagination = true,
withSearch = true,
@@ -565,10 +567,11 @@ const Table = <T extends object>({
importCSV={importCSV}
pagination={pagination}
primaryAction={primaryAction}
- selectedRows={selectedRows}
renderActions={renderActions}
+ selectedRows={selectedRows}
setColumnOrder={setColumnOrder}
setEditMode={setEditMode}
+ title={title}
withInlineEditing={withInlineEditing}
withPagination={withPagination}
withSearch={withSearch}
diff --git a/apps/carbon/app/components/Table/components/TableHeader.tsx b/apps/carbon/app/components/Table/components/TableHeader.tsx
index d2653a9c33..b8f781659f 100644
--- a/apps/carbon/app/components/Table/components/TableHeader.tsx
+++ b/apps/carbon/app/components/Table/components/TableHeader.tsx
@@ -8,6 +8,7 @@ import {
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuTrigger,
+ Heading,
HStack,
IconButton,
} from "@carbon/react";
@@ -43,6 +44,7 @@ type HeaderProps<T> = {
selectedRows: T[];
setColumnOrder: (newOrder: ColumnOrderState) => void;
setEditMode: (editMode: boolean) => void;
+ title?: string;
withInlineEditing: boolean;
withPagination: boolean;
withSearch: boolean;
@@ -62,6 +64,7 @@ const TableHeader = <T extends object>({
renderActions,
setColumnOrder,
setEditMode,
+ title,
withInlineEditing,
withPagination,
withSearch,
@@ -75,9 +78,46 @@ const TableHeader = <T extends object>({
return (
<>
- <HStack className="px-4 py-2 justify-between bg-card border-b border-border w-full">
+ <HStack className="px-4 py-2 justify-between bg-card border-b w-full">
<HStack>
<CollapsibleSidebarTrigger />
+ {title && <Heading size="h3">{title}</Heading>}
+ </HStack>
+ <HStack>
+ {/* <Button variant="secondary" leftIcon={<LuDownload />}>
+ Export
+ </Button> */}
+ <>{primaryAction}</>
+ {importCSV && (
+ <DropdownMenu>
+ <DropdownMenuTrigger asChild>
+ <IconButton
+ aria-label="Table actions"
+ variant="secondary"
+ icon={<BsThreeDotsVertical />}
+ />
+ </DropdownMenuTrigger>
+ <DropdownMenuContent align="end">
+ <DropdownMenuLabel>Bulk Import</DropdownMenuLabel>
+ <DropdownMenuSeparator />
+ {importCSV.map(({ table, label }) => (
+ <DropdownMenuItem
+ key={table}
+ onClick={() => {
+ setImportCSVTable(table);
+ }}
+ >
+ <DropdownMenuIcon icon={<LuImport />} />
+ Import {label} CSV
+ </DropdownMenuItem>
+ ))}
+ </DropdownMenuContent>
+ </DropdownMenu>
+ )}
+ </HStack>
+ </HStack>
+ <HStack className="px-4 py-2 justify-between bg-card border-b border-border w-full">
+ <HStack>
{withSearch && (
<SearchFilter param="search" size="sm" placeholder="Search" />
)}
@@ -134,33 +174,6 @@ const TableHeader = <T extends object>({
Edit
</Button>
))}
- <>{primaryAction}</>
- {importCSV && (
- <DropdownMenu>
- <DropdownMenuTrigger asChild>
- <IconButton
- aria-label="Table actions"
- variant="secondary"
- icon={<BsThreeDotsVertical />}
- />
- </DropdownMenuTrigger>
- <DropdownMenuContent align="end">
- <DropdownMenuLabel>Bulk Import</DropdownMenuLabel>
- <DropdownMenuSeparator />
- {importCSV.map(({ table, label }) => (
- <DropdownMenuItem
- key={table}
- onClick={() => {
- setImportCSVTable(table);
- }}
- >
- <DropdownMenuIcon icon={<LuImport />} />
- Import {label} CSV
- </DropdownMenuItem>
- ))}
- </DropdownMenuContent>
- </DropdownMenu>
- )}
</HStack>
</HStack>
{currentFilters.length > 0 && (
diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable.tsx
index 19e34bab9f..da9584f195 100644
--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable.tsx
+++ b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable.tsx
@@ -166,6 +166,7 @@ const AccountCategoriesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Account Categories"
/>
{selectedCategory && selectedCategory.id && (
diff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable.tsx b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable.tsx
index ed549afe85..4d88d709e9 100644
--- a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable.tsx
+++ b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable.tsx
@@ -81,6 +81,7 @@ const CurrenciesTable = memo(({ data, count }: CurrenciesTableProps) => {
columns={columns}
count={count}
renderContextMenu={renderContextMenu}
+ title="Currencies"
/>
);
});
diff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx
index c4fe7a64b7..8e68421fbd 100644
--- a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx
+++ b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx
@@ -127,6 +127,7 @@ const PaymentTermsTable = memo(({ data, count }: PaymentTermsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Payment Terms"
/>
);
});
diff --git a/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsTable.tsx b/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsTable.tsx
index f9aba4779d..6cb9a9a8e1 100644
--- a/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsTable.tsx
+++ b/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsTable.tsx
@@ -222,6 +222,7 @@ const InventoryPostingGroupsTable = ({
editableComponents={editableComponents}
withInlineEditing={canEdit}
withSearch={false}
+ title="Inventory Posting Groups"
/>
);
};
diff --git a/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsTable.tsx b/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsTable.tsx
index fe18fe63e0..93520487fa 100644
--- a/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsTable.tsx
+++ b/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsTable.tsx
@@ -151,6 +151,7 @@ const PurchasingPostingGroupsTable = ({
editableComponents={editableComponents}
withInlineEditing={canEdit}
withSearch={false}
+ title="Purchasing Posting Groups"
/>
);
};
diff --git a/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsTable.tsx b/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsTable.tsx
index 9b1807fb20..42a0ffa870 100644
--- a/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsTable.tsx
+++ b/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsTable.tsx
@@ -148,6 +148,7 @@ const SalesPostingGroupsTable = ({
editableComponents={editableComponents}
withInlineEditing={canEdit}
withSearch={false}
+ title="Sales Posting Groups"
/>
);
};
diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsx
index b66892e23d..41bc96df0c 100644
--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsx
+++ b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsx
@@ -466,6 +466,7 @@ const DocumentsTable = memo(
permissions.can("create", "documents") && <DocumentCreateForm />
}
renderContextMenu={renderContextMenu}
+ title="Documents"
/>
{selectedDocument && selectedDocument.id && (
diff --git a/apps/carbon/app/modules/inventory/ui/Inventory/InventoryTable.tsx b/apps/carbon/app/modules/inventory/ui/Inventory/InventoryTable.tsx
index 1d36512d25..9d8889e90a 100644
--- a/apps/carbon/app/modules/inventory/ui/Inventory/InventoryTable.tsx
+++ b/apps/carbon/app/modules/inventory/ui/Inventory/InventoryTable.tsx
@@ -279,6 +279,7 @@ const InventoryTable = memo(
className="w-64"
/>
}
+ title="Inventory"
/>
</>
)}
diff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx
index 2a4acf9fcd..355d08ca7a 100644
--- a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx
+++ b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable.tsx
@@ -323,6 +323,7 @@ const ReceiptsTable = memo(({ data, count, locations }: ReceiptsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Receipts"
/>
{selectedReceipt && selectedReceipt.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx
index f277b163e9..69745f1c7c 100644
--- a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx
+++ b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx
@@ -141,6 +141,7 @@ const ShippingMethodsTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Shipping Methods"
/>
);
}
diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx
index 6832b6cd3c..148e20267a 100644
--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx
+++ b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx
@@ -308,6 +308,7 @@ const PurchaseInvoicesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Purchase Invoices"
/>
{selectedPurchaseInvoice && selectedPurchaseInvoice.id && (
diff --git a/apps/carbon/app/modules/items/ui/Consumables/ConsumablesTable.tsx b/apps/carbon/app/modules/items/ui/Consumables/ConsumablesTable.tsx
index 648d630b81..18a57c8a2e 100644
--- a/apps/carbon/app/modules/items/ui/Consumables/ConsumablesTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Consumables/ConsumablesTable.tsx
@@ -412,6 +412,7 @@ const ConsumablesTable = memo(
renderActions={renderActions}
renderContextMenu={renderContextMenu}
withSelectableRows
+ title="Consumables"
/>
{selectedItem && selectedItem.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx b/apps/carbon/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
index 5c5312fe3e..da6cc712b6 100644
--- a/apps/carbon/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
@@ -102,6 +102,7 @@ const ItemPostingGroupsTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Item Posting Groups"
/>
);
}
diff --git a/apps/carbon/app/modules/items/ui/MaterialForms/MaterialShapesTable.tsx b/apps/carbon/app/modules/items/ui/MaterialForms/MaterialShapesTable.tsx
index 58069cd4f4..a3dabfa1e9 100644
--- a/apps/carbon/app/modules/items/ui/MaterialForms/MaterialShapesTable.tsx
+++ b/apps/carbon/app/modules/items/ui/MaterialForms/MaterialShapesTable.tsx
@@ -113,6 +113,7 @@ const MaterialShapesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Material Forms"
/>
);
}
diff --git a/apps/carbon/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx b/apps/carbon/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx
index 183a8fc77b..b0689f193c 100644
--- a/apps/carbon/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx
+++ b/apps/carbon/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx
@@ -115,6 +115,7 @@ const MaterialSubstancesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Material Substances"
/>
);
}
diff --git a/apps/carbon/app/modules/items/ui/Materials/MaterialsTable.tsx b/apps/carbon/app/modules/items/ui/Materials/MaterialsTable.tsx
index 7da860ac39..99d6f618e3 100644
--- a/apps/carbon/app/modules/items/ui/Materials/MaterialsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Materials/MaterialsTable.tsx
@@ -456,6 +456,7 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
}
renderActions={renderActions}
renderContextMenu={renderContextMenu}
+ title="Materials"
withSelectableRows
/>
{selectedItem && selectedItem.id && (
diff --git a/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx b/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx
index 203e2411d4..2cb87026b5 100644
--- a/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx
@@ -126,7 +126,12 @@ const MethodMaterialsTable = memo(
}, [items]);
return (
- <Table<MethodMaterial> count={count} columns={columns} data={data} />
+ <Table<MethodMaterial>
+ count={count}
+ columns={columns}
+ data={data}
+ title="Method Materials"
+ />
);
}
);
diff --git a/apps/carbon/app/modules/items/ui/Methods/MethodOperationsTable.tsx b/apps/carbon/app/modules/items/ui/Methods/MethodOperationsTable.tsx
index 7dd37e6daa..a07db39372 100644
--- a/apps/carbon/app/modules/items/ui/Methods/MethodOperationsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Methods/MethodOperationsTable.tsx
@@ -96,7 +96,12 @@ const MethodOperationsTable = memo(
}, [items]);
return (
- <Table<MethodOperation> count={count} columns={columns} data={data} />
+ <Table<MethodOperation>
+ count={count}
+ columns={columns}
+ data={data}
+ title="Method Operations"
+ />
);
}
);
diff --git a/apps/carbon/app/modules/items/ui/Parts/PartsTable.tsx b/apps/carbon/app/modules/items/ui/Parts/PartsTable.tsx
index bbbbbc44e2..b4b13f5ac5 100644
--- a/apps/carbon/app/modules/items/ui/Parts/PartsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Parts/PartsTable.tsx
@@ -429,6 +429,7 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
}
renderActions={renderActions}
renderContextMenu={renderContextMenu}
+ title="Parts"
withSelectableRows
/>
{selectedItem && selectedItem.id && (
diff --git a/apps/carbon/app/modules/items/ui/Tools/ToolsTable.tsx b/apps/carbon/app/modules/items/ui/Tools/ToolsTable.tsx
index 13e6cf9991..fa8b345777 100644
--- a/apps/carbon/app/modules/items/ui/Tools/ToolsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Tools/ToolsTable.tsx
@@ -425,6 +425,7 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
}
renderActions={renderActions}
renderContextMenu={renderContextMenu}
+ title="Tools"
withSelectableRows
/>
{selectedItem && selectedItem.id && (
diff --git a/apps/carbon/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx b/apps/carbon/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx
index 42a4cd50a3..7a5d8643d7 100644
--- a/apps/carbon/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx
+++ b/apps/carbon/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx
@@ -93,6 +93,7 @@ const UnitOfMeasuresTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Unit of Measures"
/>
);
}
diff --git a/apps/carbon/app/modules/people/ui/Attributes/AttributeCategoriesTable.tsx b/apps/carbon/app/modules/people/ui/Attributes/AttributeCategoriesTable.tsx
index b2f9f1dd67..c65a1d248d 100644
--- a/apps/carbon/app/modules/people/ui/Attributes/AttributeCategoriesTable.tsx
+++ b/apps/carbon/app/modules/people/ui/Attributes/AttributeCategoriesTable.tsx
@@ -160,6 +160,7 @@ const AttributeCategoriesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Attribute Categories"
/>
{selectedCategory && selectedCategory.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/people/ui/Departments/DepartmentsTable.tsx b/apps/carbon/app/modules/people/ui/Departments/DepartmentsTable.tsx
index 0c92aae024..b798b177e7 100644
--- a/apps/carbon/app/modules/people/ui/Departments/DepartmentsTable.tsx
+++ b/apps/carbon/app/modules/people/ui/Departments/DepartmentsTable.tsx
@@ -103,6 +103,7 @@ const DepartmentsTable = memo(({ data, count }: DepartmentsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Departments"
/>
);
});
diff --git a/apps/carbon/app/modules/people/ui/Holidays/HolidaysTable.tsx b/apps/carbon/app/modules/people/ui/Holidays/HolidaysTable.tsx
index 23e5b9d153..3f5b518d4b 100644
--- a/apps/carbon/app/modules/people/ui/Holidays/HolidaysTable.tsx
+++ b/apps/carbon/app/modules/people/ui/Holidays/HolidaysTable.tsx
@@ -105,6 +105,7 @@ const HolidaysTable = memo(({ data, count, years }: HolidaysTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Holidays"
/>
);
});
diff --git a/apps/carbon/app/modules/people/ui/People/PeopleTable.tsx b/apps/carbon/app/modules/people/ui/People/PeopleTable.tsx
index b05ec18877..7099eaced3 100644
--- a/apps/carbon/app/modules/people/ui/People/PeopleTable.tsx
+++ b/apps/carbon/app/modules/people/ui/People/PeopleTable.tsx
@@ -232,6 +232,7 @@ const PeopleTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Employees"
/>
</>
);
diff --git a/apps/carbon/app/modules/people/ui/Shifts/ShiftsTable.tsx b/apps/carbon/app/modules/people/ui/Shifts/ShiftsTable.tsx
index a03c542d37..ce52d69ce0 100644
--- a/apps/carbon/app/modules/people/ui/Shifts/ShiftsTable.tsx
+++ b/apps/carbon/app/modules/people/ui/Shifts/ShiftsTable.tsx
@@ -145,6 +145,7 @@ const ShiftsTable = memo(({ data, count, locations }: ShiftsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Shifts"
/>
);
});
diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobMaterialsTable.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobMaterialsTable.tsx
index 802d72158b..39e41dce26 100644
--- a/apps/carbon/app/modules/production/ui/Jobs/JobMaterialsTable.tsx
+++ b/apps/carbon/app/modules/production/ui/Jobs/JobMaterialsTable.tsx
@@ -273,6 +273,7 @@ const JobMaterialsTable = memo(({ data, count }: JobMaterialsTableProps) => {
) : undefined
}
editableComponents={editableComponents}
+ title="Materials"
withInlineEditing={permissions.can("update", "production")}
/>
);
diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobOperationsTable.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobOperationsTable.tsx
index aea9c102f8..2140e11780 100644
--- a/apps/carbon/app/modules/production/ui/Jobs/JobOperationsTable.tsx
+++ b/apps/carbon/app/modules/production/ui/Jobs/JobOperationsTable.tsx
@@ -253,6 +253,7 @@ const JobOperationsTable = memo(({ data, count }: JobOperationsTableProps) => {
) : undefined
}
editableComponents={editableComponents}
+ title="Operations"
withInlineEditing={permissions.can("update", "production")}
/>
);
diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobsTable.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobsTable.tsx
index de74980820..810f77a419 100644
--- a/apps/carbon/app/modules/production/ui/Jobs/JobsTable.tsx
+++ b/apps/carbon/app/modules/production/ui/Jobs/JobsTable.tsx
@@ -426,6 +426,7 @@ const JobsTable = memo(({ data, count, tags }: JobsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Jobs"
/>
{selectedJob && selectedJob.id && (
diff --git a/apps/carbon/app/modules/production/ui/Jobs/ProductionEventsTable.tsx b/apps/carbon/app/modules/production/ui/Jobs/ProductionEventsTable.tsx
index 52594f785f..f14a64e434 100644
--- a/apps/carbon/app/modules/production/ui/Jobs/ProductionEventsTable.tsx
+++ b/apps/carbon/app/modules/production/ui/Jobs/ProductionEventsTable.tsx
@@ -214,6 +214,7 @@ const ProductionEventsTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Production Events"
/>
{deleteModal.isOpen && selectedEvent && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx b/apps/carbon/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
index c5f884ab7e..d7a6cbb7ec 100644
--- a/apps/carbon/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
+++ b/apps/carbon/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
@@ -198,6 +198,7 @@ const ProductionQuantitiesTable = memo(
columns={columns}
data={data}
renderContextMenu={renderContextMenu}
+ title="Production Quantities"
/>
{deleteModal.isOpen && selectedEvent && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx b/apps/carbon/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx
index 75df4e5c65..b2665c84a1 100644
--- a/apps/carbon/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx
+++ b/apps/carbon/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx
@@ -85,6 +85,7 @@ const ScrapReasonsTable = memo(({ data, count }: ScrapReasonsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Scrap Reasons"
/>
);
});
diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx
index f58eac336b..f7e1c49d7b 100644
--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx
+++ b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx
@@ -355,6 +355,7 @@ const PurchaseOrdersTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Purchase Orders"
/>
{selectedPurchaseOrder && selectedPurchaseOrder.id && (
diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx
index e06373ac01..3c523b3abe 100644
--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx
+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx
@@ -279,6 +279,7 @@ const SuppliersTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Suppliers"
/>
</>
);
diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx
index 5d01ddf6ff..5803cbeedc 100644
--- a/apps/carbon/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx
+++ b/apps/carbon/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx
@@ -257,6 +257,7 @@ const SupplierQuotesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Supplier Quotes"
/>
{selectedSupplierQuote && selectedSupplierQuote.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierStatuses/SupplierStatusesTable.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierStatuses/SupplierStatusesTable.tsx
index b1bcb4b541..166f944a80 100644
--- a/apps/carbon/app/modules/purchasing/ui/SupplierStatuses/SupplierStatusesTable.tsx
+++ b/apps/carbon/app/modules/purchasing/ui/SupplierStatuses/SupplierStatusesTable.tsx
@@ -99,6 +99,7 @@ const SupplierStatusesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Supplier Statuses"
/>
);
}
diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx
index c2aaff29b0..75a8f60c5e 100644
--- a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx
+++ b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx
@@ -95,6 +95,7 @@ const SupplierTypesTable = memo(({ data, count }: SupplierTypesTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Supplier Types"
/>
);
});
diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsx
index 3ddabdf169..aa18d22cba 100644
--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsx
@@ -135,6 +135,7 @@ const AbilitiesTable = memo(({ data, count }: AbilitiesTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Abilities"
/>
);
});
diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
index ed97de12e1..0c1586b0dc 100644
--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
@@ -139,6 +139,7 @@ const AbilityEmployeesTable = ({
renderContextMenu={renderContextMenu}
withPagination={false}
withSearch={false}
+ title="Ability Employees"
/>
);
};
diff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable.tsx b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable.tsx
index 81ceccde99..dd1bf43221 100644
--- a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable.tsx
@@ -153,6 +153,7 @@ const ContractorsTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Contractors"
/>
);
}
diff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationsTable.tsx b/apps/carbon/app/modules/resources/ui/Locations/LocationsTable.tsx
index 0d2029cec7..511c7df7c6 100644
--- a/apps/carbon/app/modules/resources/ui/Locations/LocationsTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Locations/LocationsTable.tsx
@@ -169,6 +169,7 @@ const LocationsTable = memo(({ data, count }: LocationsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Locations"
/>
);
});
diff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnersTable.tsx b/apps/carbon/app/modules/resources/ui/Partners/PartnersTable.tsx
index c119be08ae..f33e98884e 100644
--- a/apps/carbon/app/modules/resources/ui/Partners/PartnersTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Partners/PartnersTable.tsx
@@ -129,6 +129,7 @@ const PartnersTable = memo(({ data, count, abilities }: PartnersTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Partners"
/>
);
});
diff --git a/apps/carbon/app/modules/resources/ui/Processes/ProcessesTable.tsx b/apps/carbon/app/modules/resources/ui/Processes/ProcessesTable.tsx
index 320b424c76..9d08c0c76e 100644
--- a/apps/carbon/app/modules/resources/ui/Processes/ProcessesTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Processes/ProcessesTable.tsx
@@ -222,6 +222,7 @@ const ProcessesTable = memo(({ data, count }: ProcessesTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Processes"
/>
);
});
diff --git a/apps/carbon/app/modules/resources/ui/WorkCenters/WorkCentersTable.tsx b/apps/carbon/app/modules/resources/ui/WorkCenters/WorkCentersTable.tsx
index 8aeeb43c44..b3f230a00b 100644
--- a/apps/carbon/app/modules/resources/ui/WorkCenters/WorkCentersTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/WorkCenters/WorkCentersTable.tsx
@@ -249,6 +249,7 @@ const WorkCentersTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Work Centers"
/>
{selectedWorkCenter && selectedWorkCenter.id && (
diff --git a/apps/carbon/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx b/apps/carbon/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx
index f66e9ccecd..19b59d88c7 100644
--- a/apps/carbon/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx
+++ b/apps/carbon/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx
@@ -97,6 +97,7 @@ const CustomerStatusesTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Customer Statuses"
/>
);
}
diff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx
index 1af765b58a..6e0332062a 100644
--- a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx
+++ b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx
@@ -95,6 +95,7 @@ const CustomerTypesTable = memo(({ data, count }: CustomerTypesTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Customer Types"
/>
);
});
diff --git a/apps/carbon/app/modules/sales/ui/Customers/CustomersTable.tsx b/apps/carbon/app/modules/sales/ui/Customers/CustomersTable.tsx
index 60132e5c98..9ff2f9ad1d 100644
--- a/apps/carbon/app/modules/sales/ui/Customers/CustomersTable.tsx
+++ b/apps/carbon/app/modules/sales/ui/Customers/CustomersTable.tsx
@@ -274,6 +274,7 @@ const CustomersTable = memo(
)
}
renderContextMenu={renderContextMenu}
+ title="Customers"
/>
{selectedCustomer && selectedCustomer.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuotesTable.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuotesTable.tsx
index 216be1c943..c7742bc070 100644
--- a/apps/carbon/app/modules/sales/ui/Quotes/QuotesTable.tsx
+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuotesTable.tsx
@@ -313,6 +313,7 @@ const QuotesTable = memo(({ data, count }: QuotesTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Quotes"
/>
{selectedQuotation && selectedQuotation.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrdersTable.tsx b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrdersTable.tsx
index 44aa75f306..c2c78f8dcf 100644
--- a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrdersTable.tsx
+++ b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrdersTable.tsx
@@ -401,6 +401,7 @@ const SalesOrdersTable = memo(({ data, count }: SalesOrdersTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Sales Orders"
/>
{selectedSalesOrder && selectedSalesOrder.id && (
diff --git a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx
index 5b61e26ed6..48a2f5a2cb 100644
--- a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx
+++ b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx
@@ -259,6 +259,7 @@ const SalesRFQsTable = memo(({ data, count }: SalesRFQsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="RFQs"
/>
{selectedSalesRFQ && selectedSalesRFQ.id && (
<ConfirmDelete
diff --git a/apps/carbon/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx b/apps/carbon/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx
index b0996650a4..a6ecab865f 100644
--- a/apps/carbon/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx
+++ b/apps/carbon/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx
@@ -123,6 +123,7 @@ const ApiKeysTable = memo(({ data, count }: ApiKeysTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="API Keys"
/>
<Outlet />
</>
diff --git a/apps/carbon/app/modules/settings/ui/Sequences/SequencesTable.tsx b/apps/carbon/app/modules/settings/ui/Sequences/SequencesTable.tsx
index ff0e35f641..1d28dc4976 100644
--- a/apps/carbon/app/modules/settings/ui/Sequences/SequencesTable.tsx
+++ b/apps/carbon/app/modules/settings/ui/Sequences/SequencesTable.tsx
@@ -108,6 +108,7 @@ const SequencesTable = memo(({ data, count }: SequencesTableProps) => {
columns={columns}
count={count}
renderContextMenu={renderContextMenu}
+ title="Sequences"
/>
);
});
diff --git a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable.tsx b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable.tsx
index 4065abae55..ae294f5f4f 100644
--- a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable.tsx
+++ b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable.tsx
@@ -291,6 +291,7 @@ const CustomerAccountsTable = memo(
}
renderActions={renderActions}
renderContextMenu={renderContextMenu}
+ title="Customer Accounts"
withSelectableRows={canEdit}
/>
diff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.tsx b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.tsx
index b990c61267..64aee7cb0a 100644
--- a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.tsx
+++ b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.tsx
@@ -97,6 +97,7 @@ const EmployeeTypesTable = memo(({ data, count }: EmployeeTypesTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Employee Types"
/>
);
});
diff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeesTable.tsx b/apps/carbon/app/modules/users/ui/Employees/EmployeesTable.tsx
index 57f52bc1a0..108aed6aee 100644
--- a/apps/carbon/app/modules/users/ui/Employees/EmployeesTable.tsx
+++ b/apps/carbon/app/modules/users/ui/Employees/EmployeesTable.tsx
@@ -302,6 +302,7 @@ const EmployeesTable = memo(
}
renderActions={renderActions}
renderContextMenu={renderContextMenu}
+ title="Employees"
withSelectableRows={canEdit}
/>
{bulkEditDrawer.isOpen && (
diff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsTable.tsx b/apps/carbon/app/modules/users/ui/Groups/GroupsTable.tsx
index d4ce21614a..285aace1c4 100644
--- a/apps/carbon/app/modules/users/ui/Groups/GroupsTable.tsx
+++ b/apps/carbon/app/modules/users/ui/Groups/GroupsTable.tsx
@@ -130,6 +130,7 @@ const GroupsTable = memo(({ data, count }: GroupsTableProps) => {
)
}
renderContextMenu={renderContextMenu}
+ title="Groups"
/>
);
});
diff --git a/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx b/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx
index a3ca9aca75..f8005756fa 100644
--- a/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx
+++ b/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx
@@ -287,6 +287,7 @@ const SupplierAccountsTable = memo(
}
renderActions={renderActions}
renderContextMenu={renderContextMenu}
+ title="Supplier Accounts"
withSelectableRows={canEdit}
/>