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: use colored icons in headers
Brad Barbinc1b5b114aad8
diff --git a/apps/carbon/app/modules/inventory/ui/useInventorySubmodules.tsx b/apps/carbon/app/modules/inventory/ui/useInventorySubmodules.tsxindex 9f2ac40f1f..2f05afdb3e 100644--- a/apps/carbon/app/modules/inventory/ui/useInventorySubmodules.tsx+++ b/apps/carbon/app/modules/inventory/ui/useInventorySubmodules.tsx@@ -1,3 +1,4 @@+import { LuBox } from "react-icons/lu";import { usePermissions } from "~/hooks";import type { AuthenticatedRouteGroup } from "~/types";import { path } from "~/utils/path";@@ -10,6 +11,7 @@ const inventoryRoutes: AuthenticatedRouteGroup[] = [name: "Inventory",to: path.to.inventory,role: "employee",+ icon: <LuBox />,},// {// name: "Receipts",diff --git a/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsx b/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsxindex 92eece131e..a6b734354e 100644--- a/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsx@@ -23,7 +23,7 @@ const ConsumableHeader = () => {<HStack><Link to={path.to.consumableDetails(itemId)}><Heading size="h2" className="flex items-center gap-1">- <MethodItemTypeIcon type="Consumable" />+ <MethodItemTypeIcon type="Consumable" className="text-primary" /><span>{routeData?.consumableSummary?.id}</span></Heading></Link>diff --git a/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsx b/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsxindex 57e2174f86..4f03fec0e9 100644--- a/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsx@@ -23,7 +23,7 @@ const FixtureHeader = () => {<HStack><Link to={path.to.fixtureDetails(itemId)}><Heading size="h2" className="flex items-center gap-1">- <MethodItemTypeIcon type="Fixture" />+ <MethodItemTypeIcon type="Fixture" className="text-primary" /><span>{routeData?.fixtureSummary?.id}</span></Heading></Link>diff --git a/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsx b/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsxindex 92f7d60cc9..0387df5694 100644--- a/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsx@@ -23,7 +23,7 @@ const MaterialHeader = () => {<HStack><Link to={path.to.materialDetails(itemId)}><Heading size="h2" className="flex items-center gap-1">- <MethodItemTypeIcon type="Material" />+ <MethodItemTypeIcon type="Material" className="text-primary" /><span>{routeData?.materialSummary?.id}</span></Heading></Link>diff --git a/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsx b/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsxindex 0c3d8fe79a..b638e258ce 100644--- a/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsx@@ -23,7 +23,7 @@ const PartHeader = () => {<HStack><Link to={path.to.partDetails(itemId)}><Heading size="h2" className="flex items-center gap-1">- <MethodItemTypeIcon type="Part" />+ <MethodItemTypeIcon type="Part" className="text-primary" /><span>{routeData?.partSummary?.id}</span></Heading></Link>diff --git a/apps/carbon/app/modules/items/ui/Services/ServiceHeader.tsx b/apps/carbon/app/modules/items/ui/Services/ServiceHeader.tsxindex 2d6af72c57..b928304ed6 100644--- a/apps/carbon/app/modules/items/ui/Services/ServiceHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Services/ServiceHeader.tsx@@ -24,7 +24,7 @@ const ServiceHeader = () => {<HStack><Link to={path.to.serviceDetails(itemId)}><Heading size="h2" className="flex items-center gap-1">- <MethodItemTypeIcon type="Service" />+ <MethodItemTypeIcon type="Service" className="text-primary" /><span>{routeData?.service?.id}</span></Heading></Link>diff --git a/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsx b/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsxindex 5f43ac5d24..e31d0baf5d 100644--- a/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsx@@ -21,7 +21,7 @@ const ToolHeader = () => {<HStack><Link to={path.to.toolDetails(itemId)}><Heading size="h2" className="flex items-center gap-1">- <MethodItemTypeIcon type="Tool" />+ <MethodItemTypeIcon type="Tool" className="text-primary" /><span>{routeData?.toolSummary?.id}</span></Heading></Link>diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsxindex dd12ee2ed0..e677134ba6 100644--- a/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsx+++ b/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsx@@ -76,7 +76,7 @@ const JobHeader = () => {<HStack><Link to={path.to.jobDetails(jobId)}><Heading size="h2" className="flex items-center gap-1">- <LuHardHat />+ <LuHardHat className="text-primary" /><span>{routeData?.job?.jobId}</span></Heading></Link>diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsxindex ecaa53495c..b4ddadc8d2 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsx@@ -51,7 +51,7 @@ const QuoteHeader = () => {<HStack><Link to={path.to.quoteDetails(quoteId)}><Heading size="h2" className="flex items-center gap-1">- <RiProgress4Line />+ <RiProgress4Line className="text-primary" /><span>{routeData?.quote?.quoteId}</span></Heading></Link>diff --git a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsxindex 687490d67e..b266c77d27 100644--- a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx@@ -43,7 +43,7 @@ const SalesOrderHeader = () => {<HStack><Link to={path.to.salesOrderDetails(orderId)}><Heading size="h2" className="flex items-center gap-1">- <RiProgress8Line />+ <RiProgress8Line className="text-primary" /><span>{routeData?.salesOrder?.salesOrderId}</span></Heading></Link>diff --git a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsxindex 0755c010fb..bc2a018628 100644--- a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx@@ -59,7 +59,7 @@ const SalesRFQHeader = () => {<HStack><Link to={path.to.salesRfqDetails(rfqId)}><Heading size="h2" className="flex items-center gap-1">- <RiProgress2Line />+ <RiProgress2Line className="text-primary" /><span>{routeData?.rfqSummary?.rfqId}</span></Heading></Link>diff --git a/apps/developers/app/components/Form/index.ts b/apps/developers/app/components/Form/index.tsdeleted file mode 100644index b306504641..0000000000--- a/apps/developers/app/components/Form/index.ts+++ /dev/null@@ -1,51 +0,0 @@-import {- Array,- ArrayNumeric,- Boolean,- Combobox,- ComboboxControlled,- CreatableCombobox,- CreatableMultiSelect,- DatePicker,- Hidden,- Input,- InputControlled,- MultiSelect,- Number,- NumberControlled,- Password,- PhoneInput,- Radios,- Select,- SelectControlled,- Submit,- TextArea,- TimePicker,- Timezone,-} from "@carbon/form";--export {- Array,- ArrayNumeric,- Boolean,- Combobox,- ComboboxControlled,- CreatableCombobox,- CreatableMultiSelect,- DatePicker,- Hidden,- Input,- InputControlled,- MultiSelect,- Number,- NumberControlled,- Password,- PhoneInput,- Radios,- Select,- SelectControlled,- Submit,- TextArea,- TimePicker,- Timezone,-};diff --git a/apps/developers/app/root.tsx b/apps/developers/app/root.tsxindex 370fcb98ba..93182ba7e1 100644--- a/apps/developers/app/root.tsx+++ b/apps/developers/app/root.tsx@@ -42,7 +42,7 @@ export function links() {export const meta: MetaFunction = () => {return [{- title: "CarbonOS Developers",+ title: "CarbonOS | Developers",},];};diff --git a/apps/developers/app/routes/_public+/forgot-password.tsx b/apps/developers/app/routes/_public+/forgot-password.tsxindex 2fbcd45bd3..865f5a6680 100644--- a/apps/developers/app/routes/_public+/forgot-password.tsx+++ b/apps/developers/app/routes/_public+/forgot-password.tsx@@ -1,4 +1,10 @@-import { ValidatedForm, validationError, validator } from "@carbon/form";+import {+ Input,+ Submit,+ ValidatedForm,+ validationError,+ validator,+} from "@carbon/form";import {Alert,AlertDescription,@@ -15,7 +21,6 @@ import type {import { json, redirect } from "@vercel/remix";import { LuAlertCircle, LuCheckCircle } from "react-icons/lu";-import { Input, Submit } from "~/components/Form";import { forgotPasswordValidator } from "~/services/auth";import { getUserByEmail, sendMagicLink } from "~/services/auth/auth.server";import { getAuthSession } from "~/services/session.server";diff --git a/apps/developers/app/routes/_public+/login.tsx b/apps/developers/app/routes/_public+/login.tsxindex 01651b7a5b..329ecd0429 100644--- a/apps/developers/app/routes/_public+/login.tsx+++ b/apps/developers/app/routes/_public+/login.tsx@@ -1,4 +1,12 @@-import { ValidatedForm, validationError, validator } from "@carbon/form";+import {+ Hidden,+ Input,+ Password,+ Submit,+ ValidatedForm,+ validationError,+ validator,+} from "@carbon/form";import { Alert, AlertTitle, Button, VStack } from "@carbon/react";import { Link, useActionData, useSearchParams } from "@remix-run/react";import type {@@ -10,7 +18,6 @@ import { json, redirect } from "@vercel/remix";import posthog from "posthog-js";import { LuAlertCircle } from "react-icons/lu";-import { Hidden, Input, Password, Submit } from "~/components/Form";import { loginValidator } from "~/services/auth";import {signInWithEmail,