= ({
- {isLoading ? "" : Language.updatePreferences}
+ {isLoading ? "" : Language.updateSettings}
diff --git a/site/src/components/PreferencesLayout/PreferencesLayout.tsx b/site/src/components/SettingsLayout/SettingsLayout.tsx
similarity index 65%
rename from site/src/components/PreferencesLayout/PreferencesLayout.tsx
rename to site/src/components/SettingsLayout/SettingsLayout.tsx
index e30bf8d0453d4..d02b48a696d5a 100644
--- a/site/src/components/PreferencesLayout/PreferencesLayout.tsx
+++ b/site/src/components/SettingsLayout/SettingsLayout.tsx
@@ -8,20 +8,20 @@ import { TabPanel } from "../TabPanel/TabPanel"
export const Language = {
accountLabel: "Account",
sshKeysLabel: "SSH Keys",
- preferencesLabel: "Preferences",
+ settingsLabel: "Settings",
}
const menuItems = [
- { label: Language.accountLabel, path: "/preferences/account" },
- { label: Language.sshKeysLabel, path: "/preferences/ssh-keys" },
+ { label: Language.accountLabel, path: "/settings/account" },
+ { label: Language.sshKeysLabel, path: "/settings/ssh-keys" },
]
-export const PreferencesLayout: React.FC = () => {
+export const SettingsLayout: React.FC = () => {
return (
-
+
diff --git a/site/src/components/UserDropdown/UserDropdown.test.tsx b/site/src/components/UserDropdown/UserDropdown.test.tsx
index c0e7e16f86226..3a71246eaa9e4 100644
--- a/site/src/components/UserDropdown/UserDropdown.test.tsx
+++ b/site/src/components/UserDropdown/UserDropdown.test.tsx
@@ -63,6 +63,6 @@ describe("UserDropdown", () => {
throw new Error("Anchor tag not found for the account menu item")
}
- expect(link.getAttribute("href")).toBe("/preferences/account")
+ expect(link.getAttribute("href")).toBe("/settings/account")
})
})
diff --git a/site/src/components/UserDropdown/UsersDropdown.tsx b/site/src/components/UserDropdown/UsersDropdown.tsx
index fad788b95c03f..dc61cd6215302 100644
--- a/site/src/components/UserDropdown/UsersDropdown.tsx
+++ b/site/src/components/UserDropdown/UsersDropdown.tsx
@@ -68,7 +68,7 @@ export const UserDropdown: React.FC = ({ user, onSignOut }: U
-
+