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
wip: cleanup
Brad Barbin9be2792e00a4
diff --git a/apps/carbon/app/components/CreateableCombobox.tsx b/apps/carbon/app/components/CreateableCombobox.tsxindex dca8fa0678..871e2370bc 100644--- a/apps/carbon/app/components/CreateableCombobox.tsx+++ b/apps/carbon/app/components/CreateableCombobox.tsx@@ -102,11 +102,12 @@ const CreatableCombobox = forwardRef<HTMLButtonElement, CreatableComboboxProps>(</CommandItem>);})}- {!isExactMatch && !!search && (+ {!isExactMatch && search.trim() !== "" && (<CommandItemonSelect={() => {props.onCreateOption?.(search);}}+ value={search}><span>Create</span><span className="ml-1 font-bold">{search}</span>diff --git a/apps/carbon/app/modules/sales/sales.models.ts b/apps/carbon/app/modules/sales/sales.models.tsindex dbde21873b..b2b03d5b25 100644--- a/apps/carbon/app/modules/sales/sales.models.ts+++ b/apps/carbon/app/modules/sales/sales.models.ts@@ -133,9 +133,9 @@ export const quotationLineValidator = withZod(replenishmentSystem: z.enum(["Buy", "Make"]),customerPartId: zfd.text(z.string().optional()),customerPartRevision: zfd.text(z.string().optional()),- unitOfMeasureCode: z- .string()- .min(1, { message: "Unit of measure is required" }),+ unitOfMeasureCode: zfd.text(+ z.string().min(1, { message: "Unit of measure is required" })+ ),}));diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.tsindex 87f529726d..619ddc51d1 100644--- a/packages/utils/src/themes.ts+++ b/packages/utils/src/themes.ts@@ -295,7 +295,7 @@ export const themes = [foreground: "0 0% 95%",popover: "0 0% 9%","popover-foreground": "0 0% 95%",- card: "24 9.8% 9%",+ card: "0 0% 9%","card-foreground": "0 0% 95%",primary: "142.1 87.6% 63.3%","primary-foreground": "144.9 80.4% 10%",diff --git a/www/pages/develop/core-concepts/realtime.mdx b/www/pages/develop/core-concepts/realtime.mdxindex 6a34656da0..3ed5564cb4 100644--- a/www/pages/develop/core-concepts/realtime.mdx+++ b/www/pages/develop/core-concepts/realtime.mdx@@ -21,7 +21,7 @@ This can be done easily with the `useRealtime` hook:useRealtime("receipt");```-A smaller subset of the table can be listened to by passing a second argument. Here we listen for the rows with an `id` of `1`, `2`, or `3`:+In practice, however, this approach is too heavy-handed. A better idea is to listen to smaller subset of the table can be listened to by passing a second argument. Here we listen for the rows with an `id` of `1`, `2`, or `3`:```tsxuseRealtime("receipt", "id=in.(1,2,3)");diff --git a/www/pages/develop/getting-started.mdx b/www/pages/develop/getting-started.mdxindex 1130df9ba7..1d031a282c 100644--- a/www/pages/develop/getting-started.mdx+++ b/www/pages/develop/getting-started.mdx@@ -35,7 +35,7 @@ Copy the environment variables from the initialization script to an `.env` file:cp ./.env.example ./.env```-After you've set the enviroment variables to the output of `npm run db:start` you can run+After you've set the environment variables to the output of `npm run db:start` you can run```bashnpm run db:build # run db migrations and seed script