mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: rename organization 'name' to organization 'slug' (#14835)
This commit is contained in:
@ -131,7 +131,7 @@ export const CreateOrganizationPageView: FC<
|
||||
onChange={onChangeTrimmed(form)}
|
||||
autoFocus
|
||||
fullWidth
|
||||
label="Name"
|
||||
label="Slug"
|
||||
/>
|
||||
<TextField
|
||||
{...getFieldHelpers("display_name")}
|
||||
|
@ -60,7 +60,7 @@ describe("OrganizationSettingsPage", () => {
|
||||
);
|
||||
await renderPage();
|
||||
const form = screen.getByTestId("org-settings-form");
|
||||
expect(within(form).getByRole("textbox", { name: "Name" })).toHaveValue(
|
||||
expect(within(form).getByRole("textbox", { name: "Slug" })).toHaveValue(
|
||||
MockDefaultOrganization.name,
|
||||
);
|
||||
});
|
||||
@ -82,7 +82,7 @@ describe("OrganizationSettingsPage", () => {
|
||||
);
|
||||
await renderPage();
|
||||
const form = screen.getByTestId("org-settings-form");
|
||||
expect(within(form).getByRole("textbox", { name: "Name" })).toHaveValue(
|
||||
expect(within(form).getByRole("textbox", { name: "Slug" })).toHaveValue(
|
||||
MockOrganization2.name,
|
||||
);
|
||||
});
|
||||
|
@ -92,7 +92,7 @@ export const OrganizationSettingsPageView: FC<
|
||||
onChange={onChangeTrimmed(form)}
|
||||
autoFocus
|
||||
fullWidth
|
||||
label="Name"
|
||||
label="Slug"
|
||||
/>
|
||||
<TextField
|
||||
{...getFieldHelpers("display_name")}
|
||||
|
Reference in New Issue
Block a user