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.

Company selector card grid; Studio as an opt-in crbn up app (#1872)

Brad Barbin214a4e6002e1
diff --git a/apps/erp/app/routes/select-company+/_index.tsx b/apps/erp/app/routes/select-company+/_index.tsx
index aefeddee86..39e379413e 100644
--- a/apps/erp/app/routes/select-company+/_index.tsx
+++ b/apps/erp/app/routes/select-company+/_index.tsx
@@ -5,14 +5,28 @@
import { CONTROLLED_ENVIRONMENT, error } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import { flash } from "@carbon/auth/session.server";
-import { Avatar, cn, ScrollArea, useMode } from "@carbon/react";
+import {
+ Avatar,
+ Badge,
+ Button,
+ cn,
+ Heading,
+ Input,
+ InputGroup,
+ InputLeftElement,
+ useMode
+} from "@carbon/react";
import { redirect } from "@carbon/utils";
import { Trans, useLingui } from "@lingui/react/macro";
-import { useMemo } from "react";
-import { LuChevronRight, LuLoaderCircle } from "react-icons/lu";
+import { useMemo, useState } from "react";
+import {
+ LuArrowRight,
+ LuLoaderCircle,
+ LuLogOut,
+ LuSearch
+} from "react-icons/lu";
import type { LoaderFunctionArgs } from "react-router";
import { Form, useLoaderData, useNavigation } from "react-router";
-import type { Company } from "~/modules/settings";
import { getEmployeeCompanies } from "~/modules/settings";
import { path } from "~/utils/path";
@@ -47,43 +61,41 @@ export default function SelectCompany() {
const navigation = useNavigation();
const { companies, redirectTo } = useLoaderData<typeof loader>();
const isBusy = navigation.state !== "idle";
+ const [query, setQuery] = useState("");
- const companiesLabel = t`Companies`;
-
- const groups = useMemo(() => {
- // Group by company group, then fold any single-company group into the
- // generic "Companies" bucket — mirrors the top-bar CompanySwitcher.
- const byGroup = new Map<string, { name: string; companies: Company[] }>();
+ // A group name only tells the companies apart when more than one of the
+ // user's companies shares it — mirrors the top-bar CompanySwitcher.
+ const sharedGroupNames = useMemo(() => {
+ const counts = new Map<string, number>();
for (const c of companies) {
- const name = c.companyGroupName ?? companiesLabel;
- const existing = byGroup.get(name);
- if (existing) existing.companies.push(c);
- else byGroup.set(name, { name, companies: [c] });
- }
-
- const result = new Map<string, { name: string; companies: Company[] }>();
- for (const [name, group] of byGroup) {
- const target =
- group.companies.length === 1 && name !== companiesLabel
- ? companiesLabel
- : name;
- const existing = result.get(target);
- if (existing) existing.companies.push(...group.companies);
- else
- result.set(target, { name: target, companies: [...group.companies] });
+ if (!c.companyGroupName) continue;
+ counts.set(c.companyGroupName, (counts.get(c.companyGroupName) ?? 0) + 1);
}
+ return new Set(
+ Array.from(counts)
+ .filter(([, count]) => count > 1)
+ .map(([name]) => name)
+ );
+ }, [companies]);
- return Array.from(result.values());
- }, [companies, companiesLabel]);
+ const filtered = useMemo(() => {
+ const q = query.trim().toLowerCase();
+ if (!q) return companies;
+ return companies.filter((c) =>
+ [c.name, c.companyGroupName, c.employeeType].some((value) =>
+ value?.toLowerCase().includes(q)
+ )
+ );
+ }, [companies, query]);
return (
- <div className="w-full max-w-[26rem] overflow-hidden rounded-lg bg-card text-card-foreground shadow-lg ring-1 ring-black/5 antialiased dark:ring-white/10">
- <div className="flex flex-col items-center gap-4 px-8 pb-6 pt-9">
+ <div className="flex min-h-screen w-full flex-col">
+ <header className="flex h-[49px] shrink-0 items-center justify-between border-b border-border px-4">
<img
src={CONTROLLED_ENVIRONMENT ? "/flag.png" : "/carbon-mark-light.svg"}
alt="Carbon Logo"
className={cn(
- "w-10 dark:hidden",
+ "w-6 dark:hidden",
CONTROLLED_ENVIRONMENT && "grayscale"
)}
/>
@@ -91,101 +103,111 @@ export default function SelectCompany() {
src={CONTROLLED_ENVIRONMENT ? "/flag.png" : "/carbon-mark-dark.svg"}
alt="Carbon Logo"
className={cn(
- "hidden w-10 dark:block",
+ "hidden w-6 dark:block",
CONTROLLED_ENVIRONMENT && "grayscale"
)}
/>
- <div className="flex flex-col items-center gap-1 text-center">
- <h1 className="text-lg font-semibold tracking-tight">
- <Trans>Choose a company</Trans>
- </h1>
+ <Form method="post" action={path.to.logout}>
+ <Button
+ type="submit"
+ variant="ghost"
+ leftIcon={<LuLogOut />}
+ isDisabled={navigation.state !== "idle"}
+ isLoading={navigation.formAction === path.to.logout}
+ >
+ <Trans>Sign Out</Trans>
+ </Button>
+ </Form>
+ </header>
+
+ <main className="mx-auto flex w-full max-w-5xl flex-col gap-6 px-6 py-10 sm:py-14">
+ <div className="flex flex-col gap-1">
+ <Heading as="h1" size="h3">
+ <Trans>Companies</Trans>
+ </Heading>
<p className="text-pretty text-sm text-muted-foreground">
<Trans>
You belong to more than one company. Pick where to work.
</Trans>
</p>
</div>
- </div>
- <ScrollArea className="max-h-[24rem] px-3">
- <div className="flex flex-col gap-1 pb-2">
- {groups.map((group, index) => {
- const showLabel =
- group.name !== companiesLabel && group.companies.length > 1;
- return (
- <div
- key={group.name}
- className={cn("flex flex-col", index > 0 && "pt-2")}
- >
- {showLabel && (
- <div className="px-3 pb-1 pt-1 text-xs font-medium uppercase tracking-wider text-muted-foreground">
- {group.name}
- </div>
- )}
- {group.companies.map((c) => {
- const logo =
- mode === "dark" ? c.logoDarkIcon : c.logoLightIcon;
- const switchAction = path.to.companySwitch(c.companyId!);
- const isSubmitting =
- isBusy && navigation.formAction === switchAction;
- return (
- <Form key={c.companyId} method="post" action={switchAction}>
- {redirectTo && (
- <input
- type="hidden"
- name="redirectTo"
- value={redirectTo}
- />
- )}
- <button
- type="submit"
- disabled={isBusy}
- className="group flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-left hover:bg-accent focus-visible:bg-accent focus-visible:outline-none disabled:pointer-events-none disabled:opacity-60"
- >
- <Avatar
- size="md"
- name={c.name ?? undefined}
- src={logo ?? undefined}
- className="shrink-0 outline-1 -outline-offset-1 outline-black/5 dark:outline-white/10"
- />
- <div className="flex min-w-0 flex-1 flex-col">
- <p className="truncate text-sm font-medium">
- {c.name}
- </p>
- {c.employeeType && (
- <p className="truncate text-xs text-muted-foreground">
- {c.employeeType}
- </p>
- )}
- </div>
- {isSubmitting ? (
- <LuLoaderCircle className="size-4 shrink-0 animate-spin text-muted-foreground" />
- ) : (
- <LuChevronRight className="size-4 shrink-0 text-muted-foreground/60 transition-transform group-hover:translate-x-0.5" />
- )}
- </button>
- </Form>
- );
- })}
- </div>
- );
- })}
- </div>
- </ScrollArea>
+ <InputGroup className="w-full sm:w-72">
+ <InputLeftElement>
+ <LuSearch className="h-3.5 w-3.5 text-muted-foreground" />
+ </InputLeftElement>
+ <Input
+ value={query}
+ onChange={(e) => setQuery(e.target.value)}
+ placeholder={t`Search for a company`}
+ aria-label={t`Search for a company`}
+ className="text-sm"
+ />
+ </InputGroup>
- <div className="border-t border-black/5 px-8 py-4 dark:border-white/10">
- <Form method="post" action={path.to.logout}>
- <p className="text-center text-xs text-muted-foreground">
- <Trans>Not you?</Trans>{" "}
- <button
- type="submit"
- className="font-medium text-foreground hover:underline"
- >
- <Trans>Sign Out</Trans>
- </button>
- </p>
- </Form>
- </div>
+ {filtered.length === 0 ? (
+ <div className="flex flex-col items-center gap-1 rounded-lg border border-dashed border-border px-6 py-12 text-center">
+ <p className="text-sm font-medium">
+ <Trans>No companies match "{query}"</Trans>
+ </p>
+ <p className="text-sm text-muted-foreground">
+ <Trans>Try a different name.</Trans>
+ </p>
+ </div>
+ ) : (
+ <div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
+ {filtered.map((c) => {
+ const logo = mode === "dark" ? c.logoDarkIcon : c.logoLightIcon;
+ const switchAction = path.to.companySwitch(c.companyId!);
+ const isSubmitting =
+ isBusy && navigation.formAction === switchAction;
+ const groupName =
+ c.companyGroupName && sharedGroupNames.has(c.companyGroupName)
+ ? c.companyGroupName
+ : null;
+ return (
+ <Form key={c.companyId} method="post" action={switchAction}>
+ {redirectTo && (
+ <input type="hidden" name="redirectTo" value={redirectTo} />
+ )}
+ <button
+ type="submit"
+ disabled={isBusy}
+ className="group flex h-full min-h-40 w-full flex-col gap-4 rounded-lg border border-border bg-card p-5 text-left text-card-foreground shadow-sm transition-colors hover:border-foreground/20 hover:bg-accent/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-60"
+ >
+ <div className="flex w-full items-start justify-between gap-3">
+ <Avatar
+ size="md"
+ name={c.name ?? undefined}
+ src={logo ?? undefined}
+ className="shrink-0 outline-1 -outline-offset-1 outline-black/5 dark:outline-white/10"
+ />
+ {isSubmitting ? (
+ <LuLoaderCircle className="size-4 shrink-0 animate-spin text-muted-foreground" />
+ ) : (
+ <LuArrowRight className="size-4 shrink-0 text-muted-foreground/60 transition-transform group-hover:translate-x-0.5 group-hover:text-foreground" />
+ )}
+ </div>
+ <div className="flex min-w-0 flex-col gap-0.5">
+ <p className="truncate text-sm font-medium">{c.name}</p>
+ {c.employeeType && (
+ <p className="truncate text-sm text-muted-foreground">
+ {c.employeeType}
+ </p>
+ )}
+ </div>
+ {groupName && (
+ <div className="mt-auto flex">
+ <Badge variant="secondary">{groupName}</Badge>
+ </div>
+ )}
+ </button>
+ </Form>
+ );
+ })}
+ </div>
+ )}
+ </main>
</div>
);
}
diff --git a/apps/erp/app/routes/select-company+/_layout.tsx b/apps/erp/app/routes/select-company+/_layout.tsx
index db043ecf5b..ce2d3a64bf 100644
--- a/apps/erp/app/routes/select-company+/_layout.tsx
+++ b/apps/erp/app/routes/select-company+/_layout.tsx
@@ -24,7 +24,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
export default function SelectCompanyLayout() {
return (
<TooltipProvider>
- <div className="flex h-screen w-screen items-center justify-center bg-background p-4">
+ <div className="min-h-screen w-full bg-card">
<Outlet />
</div>
</TooltipProvider>
diff --git a/packages/dev/AGENTS.md b/packages/dev/AGENTS.md
index a79dc91de5..a1ee773058 100644
--- a/packages/dev/AGENTS.md
+++ b/packages/dev/AGENTS.md
@@ -35,7 +35,7 @@ pnpm --filter @carbon/dev smoke # real containers: slots, fresh migrate, u
- **Restore** (`commands/restore.ts`): `crbn restore <file>` wraps `scripts/restore-database.sh` (the SQL is deliberately NOT ported) and adds worktree/`PORT_DB` resolution, a confirmation gate, and the trailing `applyMigrations` + `db:types`. The script truncates the local `supabase_migrations` ledger before restoring so the dump's own ledger lands — the ledger must travel WITH the schema, else the dump's older schema pairs with the local newer ledger and the trailing migrate step silently no-ops (leaving weeks of migrations missing while the ledger claims them applied). It deliberately does NOT boot a partial stack the way `crbn migrate` does — a restore rewrites `auth`/`storage`, whose schemas GoTrue and Storage build via their own migrations, so it requires a fully booted stack (`serviceSchemasReady` probes for GoTrue's `auth.users.email_confirmed_at`, `storage.objects`/`storage.buckets` AND Realtime's `realtime.messages` — the restore script's `to_regclass` guards mean a missing Storage schema would otherwise let the restore finish with no buckets seeded) and refuses otherwise — the backup carries the SOURCE schema, which is usually behind the branch. **`--scrub-emails` defaults ON here, inverting the script's opt-in default**, so a restore cannot drop real customer addresses into a local DB unless asked. By default the script truncates `storage.objects` (kept rows would point at files that live only in the source environment's backend, so downloads 404); pass `--keep-storage-objects` to retain them and the dump's buckets when you need realistic storage metadata, e.g. profiling storage RLS.
- **Stack boot** (`commands/up.ts`): Docker Compose → wait Postgres → wait service schemas → migrations → regen types → spawn apps → portless aliases
- **Migrations need three services, not just Postgres**: they write into `storage.buckets`, GoTrue's `auth` columns and `realtime.messages`, which Storage, GoTrue and Realtime build on first boot. `waitForServiceSchemas` gates every migrate on a fresh volume; standalone `crbn migrate` boots `postgres` + `gotrue` + `storage` + `realtime` for the same reason. A from-zero migrate takes about 5 s once they are up, so there is nothing to gain from caching a migrated volume.
-- **Stack size** (`StackSize` / `profileArgs` in `services/compose.ts`): `crbn up` starts the eight services the apps need (Inbucket included, for login emails). `--full` adds Studio, Postgres-Meta, the edge runtime and imgproxy (compose profile `full`). Nothing in the apps calls the first three, and they were ~40% of a stack's memory; imgproxy only converts HEIC and images the wasm pipeline refuses, and a transform attempted without it logs `imageTransformErrorMessage` (`@carbon/files`), which says to run `crbn reload imgproxy`. `--minimal` also drops Inbucket (profile `mail`). `crbn reload studio` starts Studio on a running stack. `generate:swagger` reads PostgREST through Kong with the anon key (byte-identical to what Studio served), so it works at every size.
+- **Stack size** (`StackSize` / `profileArgs` in `services/compose.ts`): `crbn up` starts the eight services the apps need (Inbucket included, for login emails). `--full` adds Studio, Postgres-Meta, the edge runtime and imgproxy (compose profile `full`). Nothing in the apps calls the first three, and they were ~40% of a stack's memory; imgproxy only converts HEIC and images the wasm pipeline refuses, and a transform attempted without it logs `imageTransformErrorMessage` (`@carbon/files`), which says to run `crbn reload imgproxy`. `--minimal` also drops Inbucket (profile `mail`). Picking **Studio** in the `crbn up` app picker (or `studio` in `CARBON_DEV_APPS`) enables profile `studio` instead, which holds only Studio and Postgres-Meta; it is a compose service, so a pick of Studio alone is still services-only mode. `crbn reload studio` starts Studio on a running stack. `generate:swagger` reads PostgREST through Kong with the anon key (byte-identical to what Studio served), so it works at every size.
- **Provision** (`commands/init.ts`): `crbn init` provisions an already-created worktree (canonical slug + env sync + skills) to match a `crbn checkout`; shared by `new`, the bash `checkout` post-create hook, and Conductor's `setup` (`.conductor/settings.toml`). It does NOT boot the stack — `crbn up` still mints ports/`.env.local`.
- **Worktree** (`worktree.ts`): `resolveSlug()`, `canonicalSlug()` (branch-derived `<repoBase>-<branch>`), `getWorktreeRoot()`, `projectName()`, `ensureSlugAvailable()`
- **Services**: `compose.ts` (Docker), `migrations.ts` (Postgres/Supabase), `portless.ts` (`.dev` URLs), `apps.ts` (dev servers)
diff --git a/packages/dev/README.md b/packages/dev/README.md
index 6b6241873c..7fb5e94d06 100644
--- a/packages/dev/README.md
+++ b/packages/dev/README.md
@@ -32,8 +32,8 @@ source ./setup.sh # adds crbn to PATH + installs shell wrapper
| Command | Description |
|---|---|
-| `crbn up` | Boot compose stack + apps. Picker includes opt-in apps: Assembler, Email previews (react-email server for every email template at `email.<branch>.dev`). |
-| `crbn up --all` | Launch all apps without the picker (ERP, MES, email previews; assembler when its OCCT build exists). |
+| `crbn up` | Boot compose stack + apps. Picker includes opt-in apps: Assembler, Email previews (react-email server for every email template at `email.<branch>.dev`), Studio (the Supabase dashboard at `studio.<branch>.dev`, with the Postgres-Meta it reads through). |
+| `crbn up --all` | Launch all apps without the picker (ERP, MES, email previews, Studio; assembler when its OCCT build exists). |
| `crbn up --no-portless` | Localhost mode: fixed ports (API `:54321`, ERP `:3000`, MES `:3001`). |
| `crbn up --borrow` | Reuse another worktree's running containers (DB, API, etc). |
| `crbn up --no-apps` | Services only (postgres, kong, supabase, inngest, mail). |
@@ -49,7 +49,7 @@ source ./setup.sh # adds crbn to PATH + installs shell wrapper
| `crbn migrate` | Apply DB migrations against the running stack. |
`CARBON_DEV_APPS` skips the picker: `CARBON_DEV_APPS=erp,mes,email crbn up`.
-Comma-separated, from `erp`, `mes`, `assembler`, `email` — unrecognized names
+Comma-separated, from `erp`, `mes`, `assembler`, `email`, `studio` — unrecognized names
are dropped silently. Shell-level only; it is not read from `.env.local`.
### Files
diff --git a/packages/dev/docker/docker-compose.dev.yml b/packages/dev/docker/docker-compose.dev.yml
index e7bc32fe02..29d6e13357 100644
--- a/packages/dev/docker/docker-compose.dev.yml
+++ b/packages/dev/docker/docker-compose.dev.yml
@@ -264,7 +264,7 @@ services:
limits:
memory: ${MEM_META:-128m}
cpus: ${CPU_META:-0.25}
- profiles: ["full"]
+ profiles: ["full", "studio"]
depends_on:
postgres:
condition: service_healthy
@@ -284,7 +284,7 @@ services:
limits:
memory: ${MEM_STUDIO:-384m}
cpus: ${CPU_STUDIO:-0.5}
- profiles: ["full"]
+ profiles: ["full", "studio"]
depends_on:
meta:
condition: service_started
diff --git a/packages/dev/src/commands/up.ts b/packages/dev/src/commands/up.ts
index 094cd2231d..b186cb625c 100644
--- a/packages/dev/src/commands/up.ts
+++ b/packages/dev/src/commands/up.ts
@@ -136,7 +136,6 @@ export async function up(opts: UpOpts = {}) {
const shouldRegen = shouldMigrate && (opts.regen ?? true);
const shouldBorrow = opts.borrow === true;
const minimal = opts.minimal ?? false;
- const size = { minimal, full: !minimal && opts.full === true };
// Services-only mode: boot compose stack + portless aliases (api/studio/
// mail/inngest URLs still useful), skip spawnApps + auto-`down` on Ctrl+C.
// Triggered by --no-apps OR by deselecting everything in the picker.
@@ -202,6 +201,11 @@ export async function up(opts: UpOpts = {}) {
// Fail before booting anything heavy (docker, migrations) if the assembler is
// selected without its one-time OCCT build.
if (selectedApps.includes("assembler")) assertAssemblerDepsBuilt();
+ const size: StackSize = {
+ minimal,
+ full: !minimal && opts.full === true,
+ studio: selectedApps.includes("studio")
+ };
const slug = resolveSlug(root);
// Resolve borrowed slot before ensureSlugAvailable (borrowing doesn't start
@@ -270,7 +274,7 @@ export async function up(opts: UpOpts = {}) {
ctx.ports,
selectedApps,
portless ? ctx.branchPrefix : undefined,
- size.full
+ size.full || size.studio
);
// `box()` derives its padding from `process.stdout.columns`; some
// non-interactive terminals (e.g. Conductor's run pane) report a width of 0,
@@ -305,7 +309,8 @@ export async function up(opts: UpOpts = {}) {
return;
}
- if (selectedApps.length === 0) {
+ // Studio is a compose service, not a process: it alone is still services-only.
+ if (selectedApps.every((id) => id === "studio")) {
// Services-only: the stack stays up after crbn exits, so let the stripe
// listener outlive us too (apps mode kills it on teardown instead).
stripeChild?.unref();
@@ -587,7 +592,9 @@ async function bootDockerStack(ctx: Ctx, size: StackSize) {
? "Boot docker compose stack (minimal — no inbucket)"
: size.full
? "Boot docker compose stack (full — with studio/meta/edge-runtime/imgproxy)"
- : "Boot docker compose stack";
+ : size.studio
+ ? "Boot docker compose stack (with studio/meta)"
+ : "Boot docker compose stack";
await tasks([
{
title: label,
@@ -784,7 +791,9 @@ async function ensureHostsFile() {
}
function reactRouterApps(selectedApps: AppId[]): AppId[] {
- return selectedApps.filter((id) => id !== "assembler" && id !== "email");
+ return selectedApps.filter(
+ (id) => id !== "assembler" && id !== "email" && id !== "studio"
+ );
}
async function runAppsThenTeardown(
diff --git a/packages/dev/src/constants.ts b/packages/dev/src/constants.ts
index 8b716105d4..c7dc998ead 100644
--- a/packages/dev/src/constants.ts
+++ b/packages/dev/src/constants.ts
@@ -25,6 +25,11 @@ export const APP_CHOICES = [
value: "email",
label: "Email previews",
hint: "react-email server for every email template"
+ },
+ {
+ value: "studio",
+ label: "Studio",
+ hint: "Supabase dashboard for the local database"
}
] as const;
export type AppId = (typeof APP_CHOICES)[number]["value"];
diff --git a/packages/dev/src/prompts.ts b/packages/dev/src/prompts.ts
index 932fb8cb11..ded5e2579a 100644
--- a/packages/dev/src/prompts.ts
+++ b/packages/dev/src/prompts.ts
@@ -75,7 +75,7 @@ export async function pickApps(): Promise<AppId[]> {
.map((s) => s.trim())
.filter((s): s is AppId => APP_CHOICES.some((c) => c.value === s));
}
- const optInApps: readonly AppId[] = ["assembler", "email"];
+ const optInApps: readonly AppId[] = ["assembler", "email", "studio"];
const defaultApps = APP_CHOICES.filter(
(c) => !optInApps.includes(c.value)
).map((c) => c.value);
diff --git a/packages/dev/src/services/compose.test.ts b/packages/dev/src/services/compose.test.ts
index efe0201d3a..d4765ff08d 100644
--- a/packages/dev/src/services/compose.test.ts
+++ b/packages/dev/src/services/compose.test.ts
@@ -26,6 +26,7 @@ describe("buildDownArgs", () => {
const bootable = new Set([
...profilesIn(buildUpArgs(ROOT, SLUG)),
...profilesIn(buildUpArgs(ROOT, SLUG, { full: true })),
+ ...profilesIn(buildUpArgs(ROOT, SLUG, { studio: true })),
...profilesIn(buildUpArgs(ROOT, SLUG, { minimal: true }))
]);
const tearable = new Set(profilesIn(buildDownArgs(ROOT, SLUG, false)));
@@ -91,6 +92,19 @@ describe("buildUpArgs", () => {
]);
});
+ it("adds only the studio profile when Studio is picked", () => {
+ expect(profilesIn(buildUpArgs(ROOT, SLUG, { studio: true }))).toEqual([
+ "studio",
+ "mail"
+ ]);
+ });
+
+ it("lets --full cover Studio without a second profile", () => {
+ expect(
+ profilesIn(buildUpArgs(ROOT, SLUG, { full: true, studio: true }))
+ ).toEqual(["full", "mail"]);
+ });
+
it("enables no profile under --minimal", () => {
expect(profilesIn(buildUpArgs(ROOT, SLUG, { minimal: true }))).toEqual([]);
});
diff --git a/packages/dev/src/services/compose.ts b/packages/dev/src/services/compose.ts
index 137dc61a75..968cafc5ec 100644
--- a/packages/dev/src/services/compose.ts
+++ b/packages/dev/src/services/compose.ts
@@ -60,20 +60,22 @@ export type Container = {
// Every profile `bootStack` can enable. Compose treats profile-gated services
// as "not enabled" rather than orphans, so a `down` missing one silently
// leaves those containers running. `stopStack`'s sweep backstops drift here.
-const COMPOSE_PROFILES = ["full", "mail"] as const;
+const COMPOSE_PROFILES = ["full", "studio", "mail"] as const;
// Which services a boot starts. Default: the stack the apps need plus Inbucket
// (login emails). `full` adds Studio, Postgres-Meta, the edge runtime and
// imgproxy — nothing in the apps calls the first three (~40% of a stack's
-// memory) and imgproxy only converts HEIC. `minimal` drops Inbucket too
-// (headless runs sign in by bypass).
-export type StackSize = { minimal?: boolean; full?: boolean };
+// memory) and imgproxy only converts HEIC. `studio` adds just Studio and the
+// Postgres-Meta it reads through (picked as an app in `crbn up`). `minimal`
+// drops Inbucket too (headless runs sign in by bypass).
+export type StackSize = { minimal?: boolean; full?: boolean; studio?: boolean };
function profileArgs(opts?: StackSize): string[] {
- if (opts?.minimal) return [];
- return opts?.full
- ? ["--profile", "full", "--profile", "mail"]
- : ["--profile", "mail"];
+ const profiles: string[] = [];
+ if (opts?.full) profiles.push("full");
+ else if (opts?.studio) profiles.push("studio");
+ if (!opts?.minimal) profiles.push("mail");
+ return profiles.flatMap((profile) => ["--profile", profile]);
}
// Exported for tests: the `docker compose … up -d` argv.
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 7cb3d3ac1e..f15be6167e 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Wählen Sie eine Chargennummer"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Wählen Sie ein losfähiges Verfahren, um die Arbeitsgänge anzuzeigen, die zusammen laufen können."
-msgid "Choose a company"
-msgstr "Wählen Sie ein Unternehmen"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Wählen Sie ein Teil aus, das {itemReadableId} ersetzt. Die Regel wird auf diesem Teil mit {itemReadableId} als Nachfolger gespeichert."
@@ -13211,6 +13208,9 @@ msgstr "Kein kollisionsfreier Pfad"
msgid "No comments yet. Be the first to add a comment."
msgstr "Noch keine Kommentare. Seien Sie der Erste, der einen Kommentar hinzufügt."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Keine fertiggestellten Fertigungsaufträge im Bereich"
@@ -13836,9 +13836,6 @@ msgstr "Arbeitet heute nicht"
msgid "Not yet"
msgstr "Noch nicht"
-msgid "Not you?"
-msgstr "Nicht du?"
-
msgid "Note"
msgstr "Notiz"
@@ -18154,6 +18151,9 @@ msgstr "Ereignisse durchsuchen…"
msgid "Search fields..."
msgstr "Felder durchsuchen..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Suchen Sie nach einem vorhandenen oder erstellen Sie einen neuen"
@@ -22142,6 +22142,9 @@ msgstr "Ausgelöst von"
msgid "Triggers"
msgstr "Auslöser"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Dienstag"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 5e8ba0f241..7e89028d01 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Choose a batch number"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Choose a batchable process to see the operations that can run together."
-msgid "Choose a company"
-msgstr "Choose a company"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
@@ -13211,6 +13208,9 @@ msgstr "No collision-free path"
msgid "No comments yet. Be the first to add a comment."
msgstr "No comments yet. Be the first to add a comment."
+msgid "No companies match \"{query}\""
+msgstr "No companies match \"{query}\""
+
msgid "No completed jobs within range"
msgstr "No completed jobs within range"
@@ -13836,9 +13836,6 @@ msgstr "Not working today"
msgid "Not yet"
msgstr "Not yet"
-msgid "Not you?"
-msgstr "Not you?"
-
msgid "Note"
msgstr "Note"
@@ -18154,6 +18151,9 @@ msgstr "Search events…"
msgid "Search fields..."
msgstr "Search fields..."
+msgid "Search for a company"
+msgstr "Search for a company"
+
msgid "Search for existing or create a new one"
msgstr "Search for existing or create a new one"
@@ -22142,6 +22142,9 @@ msgstr "Triggered by"
msgid "Triggers"
msgstr "Triggers"
+msgid "Try a different name."
+msgstr "Try a different name."
+
msgid "Tuesday"
msgstr "Tuesday"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 9c6ff92688..a8b42cac11 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Elige un número de lote"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Elija un proceso agrupable para ver las operaciones que pueden ejecutarse juntas."
-msgid "Choose a company"
-msgstr "Elige una empresa"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Selecciona una pieza que {itemReadableId} reemplaza. La regla se guarda en esa pieza con {itemReadableId} como su sucesor."
@@ -13211,6 +13208,9 @@ msgstr "Sin ruta libre de colisiones"
msgid "No comments yet. Be the first to add a comment."
msgstr "No hay comentarios aún. Sé el primero en agregar un comentario."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "No hay órdenes de trabajo completadas dentro del rango"
@@ -13836,9 +13836,6 @@ msgstr "No trabaja hoy"
msgid "Not yet"
msgstr "Aún no"
-msgid "Not you?"
-msgstr "¿No eres tú?"
-
msgid "Note"
msgstr "Nota"
@@ -18154,6 +18151,9 @@ msgstr "Buscar eventos…"
msgid "Search fields..."
msgstr "Buscar campos..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Buscar uno existente o crear uno nuevo"
@@ -22142,6 +22142,9 @@ msgstr "Activado por"
msgid "Triggers"
msgstr "Disparadores"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Martes"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index 0dc879e7fb..479789b103 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Choisir un numéro de lot"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Choisissez un processus regroupable pour voir les opérations qui peuvent s'exécuter ensemble."
-msgid "Choose a company"
-msgstr "Choisir une société"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Choisissez une pièce que {itemReadableId} remplace. La règle est enregistrée sur cette pièce avec {itemReadableId} comme successeur."
@@ -13211,6 +13208,9 @@ msgstr "Pas de chemin sans collision"
msgid "No comments yet. Be the first to add a comment."
msgstr "Aucun commentaire pour le moment. Soyez le premier à ajouter un commentaire."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Aucun ordre de fabrication terminé dans cette plage"
@@ -13836,9 +13836,6 @@ msgstr "Ne travaille pas aujourd'hui"
msgid "Not yet"
msgstr "Pas encore"
-msgid "Not you?"
-msgstr "Ce n'est pas vous ?"
-
msgid "Note"
msgstr "Note"
@@ -18154,6 +18151,9 @@ msgstr "Rechercher les événements…"
msgid "Search fields..."
msgstr "Rechercher des champs..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Rechercher un existant ou en créer un nouveau"
@@ -22142,6 +22142,9 @@ msgstr "Déclenché par"
msgid "Triggers"
msgstr "Déclencheurs"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Mardi"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index e88a4a6f4a..1336852fb6 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -4383,9 +4383,6 @@ msgstr "एक बैच नंबर चुनें"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "एक साथ चल सकने वाले ऑपरेशन देखने के लिए एक बैच योग्य प्रक्रिया चुनें।"
-msgid "Choose a company"
-msgstr "कंपनी चुनें"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "एक पार्ट चुनें जिसे {itemReadableId} प्रतिस्थापित करता है। नियम उस पार्ट पर सहेजा जाता है जिसमें {itemReadableId} उत्तराधिकारी है।"
@@ -13211,6 +13208,9 @@ msgstr "कोई टकराव-मुक्त पथ नहीं"
msgid "No comments yet. Be the first to add a comment."
msgstr "अभी कोई टिप्पणी नहीं है। पहली टिप्पणी जोड़ने वाले बनें।"
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "रेंज में कोई पूर्ण जॉब नहीं"
@@ -13836,9 +13836,6 @@ msgstr "आज काम नहीं"
msgid "Not yet"
msgstr "अभी नहीं"
-msgid "Not you?"
-msgstr "क्या आप नहीं हैं?"
-
msgid "Note"
msgstr "नोट"
@@ -18154,6 +18151,9 @@ msgstr "घटनाओं को खोजें…"
msgid "Search fields..."
msgstr "फ़ील्ड खोजें..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "मौजूदा को खोजें या नया बनाएं"
@@ -22142,6 +22142,9 @@ msgstr "ट्रिगर किया गया"
msgid "Triggers"
msgstr "ट्रिगर"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "मंगलवार"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index cf12ead5d6..0ec032cd90 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Scegli un numero di lotto"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Scegli un processo raggruppabile per vedere le operazioni che possono essere eseguite insieme."
-msgid "Choose a company"
-msgstr "Scegli un'azienda"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Scegli un componente che {itemReadableId} sostituisce. La regola è salvata su quel componente con {itemReadableId} come suo successore."
@@ -13211,6 +13208,9 @@ msgstr "Nessun percorso libero da collisioni"
msgid "No comments yet. Be the first to add a comment."
msgstr "Nessun commento ancora. Sii il primo ad aggiungere un commento."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Nessun ordine di produzione completato entro l'intervallo"
@@ -13836,9 +13836,6 @@ msgstr "Non lavora oggi"
msgid "Not yet"
msgstr "Non ancora"
-msgid "Not you?"
-msgstr "Non sei tu?"
-
msgid "Note"
msgstr "Nota"
@@ -18154,6 +18151,9 @@ msgstr "Cerca eventi..."
msgid "Search fields..."
msgstr "Cerca campi..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Cerca uno esistente o creane uno nuovo"
@@ -22142,6 +22142,9 @@ msgstr "Attivato da"
msgid "Triggers"
msgstr "Trigger"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Martedì"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 27f4ed6ada..bf85f5f6fd 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -4383,9 +4383,6 @@ msgstr "バッチ番号を選択"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "バッチ可能な工法を選択して、一緒に実行できる工程を確認してください。"
-msgid "Choose a company"
-msgstr "会社を選択"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "{itemReadableId}が置き換える部品を選択してください。そのルールはその部品に{itemReadableId}を後継品目として保存されます。"
@@ -13211,6 +13208,9 @@ msgstr "衝突のない経路がない"
msgid "No comments yet. Be the first to add a comment."
msgstr "まだコメントがありません。最初のコメントを追加してください。"
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "範囲内に完了した製造指図がありません"
@@ -13836,9 +13836,6 @@ msgstr "今日は勤務していません"
msgid "Not yet"
msgstr "まだ"
-msgid "Not you?"
-msgstr "違いますか?"
-
msgid "Note"
msgstr "メモ"
@@ -18154,6 +18151,9 @@ msgstr "イベントを検索…"
msgid "Search fields..."
msgstr "フィールドを検索..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "既存のものを検索するか、新しいものを作成してください"
@@ -22142,6 +22142,9 @@ msgstr "トリガー元"
msgid "Triggers"
msgstr "トリガー"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "火曜日"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index d659e9e47e..88bb85e7ee 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -4383,9 +4383,6 @@ msgstr "배치 번호를 선택하세요"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "함께 실행할 수 있는 작업을 보려면 배치 가능한 공정을 선택하세요."
-msgid "Choose a company"
-msgstr "회사를 선택하세요"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "{itemReadableId}가 대체하는 부품을 선택하세요. 규칙은 해당 부품에 저장되며 {itemReadableId}가 후속 품목으로 지정됩니다."
@@ -13211,6 +13208,9 @@ msgstr "충돌 없는 경로 없음"
msgid "No comments yet. Be the first to add a comment."
msgstr "아직 댓글이 없습니다. 첫 번째 댓글을 추가하세요."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "범위 내에 완료된 작업 지시가 없습니다"
@@ -13836,9 +13836,6 @@ msgstr "오늘 근무하지 않음"
msgid "Not yet"
msgstr "아직 아님"
-msgid "Not you?"
-msgstr "본인이 아니신가요?"
-
msgid "Note"
msgstr "메모"
@@ -18154,6 +18151,9 @@ msgstr "이벤트 검색…"
msgid "Search fields..."
msgstr "필드 검색..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "기존 항목을 검색하거나 새로 생성하세요"
@@ -22142,6 +22142,9 @@ msgstr "트리거된 사람/것"
msgid "Triggers"
msgstr "트리거"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "화요일"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index 1363db23ae..b8e0762f3c 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Wybierz numer partii"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Wybierz proces wsadowy, aby zobaczyć operacje, które mogą działać razem."
-msgid "Choose a company"
-msgstr "Wybierz firmę"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Wybierz część, którą zastępuje {itemReadableId}. Reguła jest zapisana na tej części z {itemReadableId} jako jej następnik."
@@ -13211,6 +13208,9 @@ msgstr "Brak ścieżki wolnej od kolizji"
msgid "No comments yet. Be the first to add a comment."
msgstr "Brak komentarzy. Bądź pierwszy i dodaj komentarz."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Nie znaleziono zakończonych zleceń produkcyjnych w danym zakresie"
@@ -13836,9 +13836,6 @@ msgstr "Nie pracuje dzisiaj"
msgid "Not yet"
msgstr "Jeszcze nie"
-msgid "Not you?"
-msgstr "To nie ty?"
-
msgid "Note"
msgstr "Notatka"
@@ -18154,6 +18151,9 @@ msgstr "Szukaj zdarzeń…"
msgid "Search fields..."
msgstr "Wyszukaj pola..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Wyszukaj istniejący lub utwórz nowy"
@@ -22142,6 +22142,9 @@ msgstr "Wyzwolone przez"
msgid "Triggers"
msgstr "Wyzwalacze"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Wtorek"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index f5be7d0465..69d61bcbf4 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Escolha um número de lote"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Escolha um processo em lote para ver as operações que podem ser executadas juntas."
-msgid "Choose a company"
-msgstr "Escolha uma empresa"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Escolha uma peça que {itemReadableId} substitui. A regra é salva nessa peça com {itemReadableId} como seu sucessor."
@@ -13211,6 +13208,9 @@ msgstr "Nenhum caminho livre de colisão"
msgid "No comments yet. Be the first to add a comment."
msgstr "Sem comentários ainda. Seja o primeiro a adicionar um comentário."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Nenhuma ordem de produção concluída dentro do intervalo"
@@ -13836,9 +13836,6 @@ msgstr "Não está trabalhando hoje"
msgid "Not yet"
msgstr "Ainda não"
-msgid "Not you?"
-msgstr "Não é você?"
-
msgid "Note"
msgstr "Observação"
@@ -18154,6 +18151,9 @@ msgstr "Pesquisar eventos…"
msgid "Search fields..."
msgstr "Pesquisar campos..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Pesquisar um existente ou criar um novo"
@@ -22142,6 +22142,9 @@ msgstr "Acionado por"
msgid "Triggers"
msgstr "Acionadores"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Terça-feira"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index 467596963f..cab256f636 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Выберите номер партии"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Выберите пакетируемый процесс, чтобы увидеть операции, которые могут выполняться вместе."
-msgid "Choose a company"
-msgstr "Выберите организацию"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "Выберите деталь, которую заменяет {itemReadableId}. Правило сохраняется на этой детали с {itemReadableId} в качестве преемника."
@@ -13211,6 +13208,9 @@ msgstr "Нет пути без столкновений"
msgid "No comments yet. Be the first to add a comment."
msgstr "Нет комментариев. Будьте первым, кто добавит комментарий."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Нет завершенных производственных заказов в диапазоне"
@@ -13836,9 +13836,6 @@ msgstr "Не работает сегодня"
msgid "Not yet"
msgstr "Еще нет"
-msgid "Not you?"
-msgstr "Это не вы?"
-
msgid "Note"
msgstr "Примечание"
@@ -18154,6 +18151,9 @@ msgstr "Поиск событий…"
msgid "Search fields..."
msgstr "Поиск полей..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Поиск существующей или создание новой"
@@ -22142,6 +22142,9 @@ msgstr "Инициировано"
msgid "Triggers"
msgstr "Триггеры"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Вторник"
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index b00430a9bb..a2db38142f 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -4383,9 +4383,6 @@ msgstr "Bir parti numarası seçin"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "Birlikte çalışabilecek operasyonları görmek için toplu işlenebilir bir işlem seçin."
-msgid "Choose a company"
-msgstr "Bir şirket seçin"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "{itemReadableId}'nin yerine geçen bir parça seçin. Kural seçilen parçaya {itemReadableId} ardıl olarak kaydedilir."
@@ -13211,6 +13208,9 @@ msgstr "Çarpışmasız bir yol yok"
msgid "No comments yet. Be the first to add a comment."
msgstr "Henüz yorum yok. İlk yorumu ekleyin."
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "Aralıkta tamamlanmış İş emri yok"
@@ -13836,9 +13836,6 @@ msgstr "Bugün çalışmıyor"
msgid "Not yet"
msgstr "Henüz değil"
-msgid "Not you?"
-msgstr "Sen siz misiniz?"
-
msgid "Note"
msgstr "Not"
@@ -18154,6 +18151,9 @@ msgstr "Olayları ara…"
msgid "Search fields..."
msgstr "Alanları ara..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "Mevcut birini arayın veya yeni bir tane oluşturun"
@@ -22142,6 +22142,9 @@ msgstr "Tarafından tetiklendi"
msgid "Triggers"
msgstr "Tetikleyiciler"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "Salı"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 9e08b02a01..e01b3c01e1 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -4383,9 +4383,6 @@ msgstr "选择批号"
msgid "Choose a batchable process to see the operations that can run together."
msgstr "选择可批处理的工序以查看可以一起运行的操作。"
-msgid "Choose a company"
-msgstr "选择公司"
-
msgid "Choose a part that {itemReadableId} replaces. The rule is saved on that part with {itemReadableId} as its successor."
msgstr "选择{itemReadableId}所替代的零件。该规则将保存在该零件上,将{itemReadableId}作为其后继物料。"
@@ -13211,6 +13208,9 @@ msgstr "没有无碰撞路径"
msgid "No comments yet. Be the first to add a comment."
msgstr "还没有评论。成为第一个添加评论的人。"
+msgid "No companies match \"{query}\""
+msgstr ""
+
msgid "No completed jobs within range"
msgstr "范围内没有已完成的工单"
@@ -13836,9 +13836,6 @@ msgstr "今天不工作"
msgid "Not yet"
msgstr "还未"
-msgid "Not you?"
-msgstr "不是你?"
-
msgid "Note"
msgstr "备注"
@@ -18154,6 +18151,9 @@ msgstr "搜索事件…"
msgid "Search fields..."
msgstr "搜索字段..."
+msgid "Search for a company"
+msgstr ""
+
msgid "Search for existing or create a new one"
msgstr "搜索现有问题或创建新问题"
@@ -22142,6 +22142,9 @@ msgstr "触发者"
msgid "Triggers"
msgstr "触发器"
+msgid "Try a different name."
+msgstr ""
+
msgid "Tuesday"
msgstr "星期二"