Skip to content

Commit 4f0417c

Browse files
authored
Revert "feat: Add portforward to the UI (#3812)" (#4048)
This reverts commit 0552c36.
1 parent 0f8c2f5 commit 4f0417c

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
import useTheme from "@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
<SSHButton workspaceName={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
const environmentPlugin = new EnvironmentPlugin({
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy