Skip to content

fix: remove unimplemented account links #1411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2022
Merged
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
4 changes: 0 additions & 4 deletions site/src/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { HealthzPage } from "./pages/HealthzPage/HealthzPage"
import { LoginPage } from "./pages/LoginPage/LoginPage"
import { OrgsPage } from "./pages/OrgsPage/OrgsPage"
import { AccountPage } from "./pages/PreferencesPages/AccountPage/AccountPage"
import { LinkedAccountsPage } from "./pages/PreferencesPages/LinkedAccountsPage/LinkedAccountsPage"
import { SecurityPage } from "./pages/PreferencesPages/SecurityPage/SecurityPage"
import { SSHKeysPage } from "./pages/PreferencesPages/SSHKeysPage/SSHKeysPage"
import { SettingsPage } from "./pages/SettingsPage/SettingsPage"
import { CreateWorkspacePage } from "./pages/TemplatesPages/OrganizationPage/TemplatePage/CreateWorkspacePage"
Expand Down Expand Up @@ -124,9 +122,7 @@ export const AppRouter: React.FC = () => (

<Route path="preferences" element={<PreferencesLayout />}>
<Route path="account" element={<AccountPage />} />
<Route path="security" element={<SecurityPage />} />
<Route path="ssh-keys" element={<SSHKeysPage />} />
<Route path="linked-accounts" element={<LinkedAccountsPage />} />
</Route>

<Route path=":username">
Expand Down
4 changes: 0 additions & 4 deletions site/src/components/PreferencesLayout/PreferencesLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ import { TabPanel } from "../TabPanel/TabPanel"

export const Language = {
accountLabel: "Account",
securityLabel: "Security",
sshKeysLabel: "SSH Keys",
linkedAccountsLabel: "Linked Accounts",
preferencesLabel: "Preferences",
}

const menuItems = [
{ label: Language.accountLabel, path: "/preferences/account" },
{ label: Language.securityLabel, path: "/preferences/security" },
{ label: Language.sshKeysLabel, path: "/preferences/ssh-keys" },
{ label: Language.linkedAccountsLabel, path: "/preferences/linked-accounts" },
]

export const PreferencesLayout: React.FC = () => {
Expand Down

This file was deleted.

11 changes: 0 additions & 11 deletions site/src/pages/PreferencesPages/SecurityPage/SecurityPage.tsx

This file was deleted.