Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f7d9bb

Browse files
authored
fix: remove unimplemented account pages (#1411)
It appears unclear as of now when/if these will be implemented so Iopted to remove them (as opposed to commenting them out) to avoid havingthem rot (they are easily added back anyway).Closes#1232.
1 parentbbb8f83 commit6f7d9bb

File tree

4 files changed

+0
-31
lines changed

4 files changed

+0
-31
lines changed

‎site/src/AppRouter.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import { HealthzPage } from "./pages/HealthzPage/HealthzPage"
1010
import{LoginPage}from"./pages/LoginPage/LoginPage"
1111
import{OrgsPage}from"./pages/OrgsPage/OrgsPage"
1212
import{AccountPage}from"./pages/PreferencesPages/AccountPage/AccountPage"
13-
import{LinkedAccountsPage}from"./pages/PreferencesPages/LinkedAccountsPage/LinkedAccountsPage"
14-
import{SecurityPage}from"./pages/PreferencesPages/SecurityPage/SecurityPage"
1513
import{SSHKeysPage}from"./pages/PreferencesPages/SSHKeysPage/SSHKeysPage"
1614
import{SettingsPage}from"./pages/SettingsPage/SettingsPage"
1715
import{CreateWorkspacePage}from"./pages/TemplatesPages/OrganizationPage/TemplatePage/CreateWorkspacePage"
@@ -124,9 +122,7 @@ export const AppRouter: React.FC = () => (
124122

125123
<Routepath="preferences"element={<PreferencesLayout/>}>
126124
<Routepath="account"element={<AccountPage/>}/>
127-
<Routepath="security"element={<SecurityPage/>}/>
128125
<Routepath="ssh-keys"element={<SSHKeysPage/>}/>
129-
<Routepath="linked-accounts"element={<LinkedAccountsPage/>}/>
130126
</Route>
131127

132128
<Routepath=":username">

‎site/src/components/PreferencesLayout/PreferencesLayout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@ import { TabPanel } from "../TabPanel/TabPanel"
77

88
exportconstLanguage={
99
accountLabel:"Account",
10-
securityLabel:"Security",
1110
sshKeysLabel:"SSH Keys",
12-
linkedAccountsLabel:"Linked Accounts",
1311
preferencesLabel:"Preferences",
1412
}
1513

1614
constmenuItems=[
1715
{label:Language.accountLabel,path:"/preferences/account"},
18-
{label:Language.securityLabel,path:"/preferences/security"},
1916
{label:Language.sshKeysLabel,path:"/preferences/ssh-keys"},
20-
{label:Language.linkedAccountsLabel,path:"/preferences/linked-accounts"},
2117
]
2218

2319
exportconstPreferencesLayout:React.FC=()=>{

‎site/src/pages/PreferencesPages/LinkedAccountsPage/LinkedAccountsPage.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎site/src/pages/PreferencesPages/SecurityPage/SecurityPage.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp