Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ui/src/components/OnboardingWizard.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { describe, expect, it } from "vitest";
import { COMPANY_NAME_FIELD_LABEL } from "./OnboardingWizard";

describe("OnboardingWizard", () => {
it("uses the concise company name field label", () => {
expect(COMPANY_NAME_FIELD_LABEL).toBe("Name");
});
});
4 changes: 3 additions & 1 deletion ui/src/components/OnboardingWizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ type Step = 0 | 1 | 2 | 3 | 4 | 5;
// wizard's registry-driven approach rather than a fixed union.
type AdapterType = string;

export const COMPANY_NAME_FIELD_LABEL = "Name";

const MISSION_PROMPT_CHIPS = [
"Build a SaaS product",
"Scale a content business",
Expand Down Expand Up @@ -988,7 +990,7 @@ export function OnboardingWizard() {
: "text-muted-foreground group-focus-within:text-foreground"
)}
>
Company name
{COMPANY_NAME_FIELD_LABEL}
</label>
<input
className="w-full rounded-md border border-border bg-transparent px-3 py-2 text-sm outline-none focus:ring-1 focus:ring-ring placeholder:text-muted-foreground/50"
Expand Down
Loading