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

Commit4f0417c

Browse files
authored
Revert "feat: Add portforward to the UI (#3812)" (#4048)
This reverts commit0552c36.
1 parent0f8c2f5 commit4f0417c

File tree

5 files changed

+1
-168
lines changed

5 files changed

+1
-168
lines changed

‎site/src/components/PortForwardButton/PortForwardButton.stories.tsx

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

‎site/src/components/PortForwardButton/PortForwardButton.tsx

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

‎site/src/components/Resources/Resources.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Skeleton } from "@material-ui/lab"
1010
importuseThemefrom"@material-ui/styles/useTheme"
1111
import{CloseDropdown,OpenDropdown}from"components/DropdownArrows/DropdownArrows"
1212
import{ErrorSummary}from"components/ErrorSummary/ErrorSummary"
13-
import{PortForwardButton}from"components/PortForwardButton/PortForwardButton"
1413
import{TableCellDataPrimary}from"components/TableCellData/TableCellData"
1514
import{FC,useState}from"react"
1615
import{getDisplayAgentStatus,getDisplayVersionStatus}from"util/workspace"
@@ -151,11 +150,6 @@ export const Resources: FC<React.PropsWithChildren<ResourcesProps>> = ({
151150
{canUpdateWorkspace&&agent.status==="connected"&&(
152151
<>
153152
<SSHButtonworkspaceName={workspace.name}agentName={agent.name}/>
154-
<PortForwardButton
155-
username={workspace.owner_name}
156-
workspaceName={workspace.name}
157-
agentName={agent.name}
158-
/>
159153
<TerminalLink
160154
workspaceName={workspace.name}
161155
agentName={agent.name}

‎site/src/components/Tooltips/HelpTooltip/HelpTooltip.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,8 @@ const useStyles = makeStyles((theme) => ({
226226
},
227227

228228
link:{
229-
display:"inline-flex",
229+
display:"flex",
230230
alignItems:"center",
231-
width:"fit-content",
232231
},
233232

234233
linkIcon:{

‎site/webpack.common.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ import { Configuration, EnvironmentPlugin } from "webpack"
1414
constenvironmentPlugin=newEnvironmentPlugin({
1515
INSPECT_XSTATE:"",
1616
CODER_VERSION:"main",
17-
CODER_ENABLE_WILDCARD_APPS:"",
1817
})
1918
console.info(`--- Setting INSPECT_XSTATE to '${process.env.INSPECT_XSTATE||""}'`)
2019
console.info(`--- Setting CODER_VERSION to '${process.env.CODER_VERSION||"main"}'`)
21-
console.info(
22-
`--- Setting CODER_ENABLE_WILDCARD_APPS to '${process.env.CODER_ENABLE_WILDCARD_APPS??""}'`,
23-
)
2420
console.info(`--- Setting NODE_ENV to '${process.env.NODE_ENV||""}'`)
2521

2622
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp