Skip to content

Commit 292aefb

Browse files
authored
[dashboard] remove vscode SSH warning (#18654)
1 parent 71912f7 commit 292aefb

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

components/dashboard/src/workspaces/CreateWorkspacePage.tsx

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import { useDirtyState } from "../hooks/use-dirty-state";
4040
import { LinkButton } from "../components/LinkButton";
4141
import { InputField } from "../components/forms/InputField";
4242
import Alert from "../components/Alert";
43-
import { useFeatureFlag } from "../data/featureflag-query";
4443

4544
export function CreateWorkspacePage() {
4645
const { user, setUser } = useContext(UserContext);
@@ -419,7 +418,6 @@ export function CreateWorkspacePage() {
419418
</Button>
420419
</div>
421420

422-
{selectedIde === "code-desktop" && <LocalSSHWarning className="mx-6 mt-3 rounded-lg overflow-hidden" />}
423421
{workspaceContext.data && (
424422
<RememberOptions
425423
disabled={workspaceContext.isLoading || createWorkspaceMutation.isStarting}
@@ -448,40 +446,6 @@ export function CreateWorkspacePage() {
448446
);
449447
}
450448

451-
function LocalSSHWarning(props: { className: string }) {
452-
const isLocalSSHProxyEnabled = useFeatureFlag("gitpod_desktop_use_local_ssh_proxy");
453-
454-
if (!isLocalSSHProxyEnabled) {
455-
return null;
456-
}
457-
458-
return (
459-
<div className={props.className}>
460-
<Alert light className="bg-gray-100 dark:bg-gray-800" type="info">
461-
Choosing VS Code for Desktop will add a single entry to your local SSH configuration. Gitpod won't
462-
interfere with your existing SSH configurations.&nbsp;
463-
<a
464-
className="gp-link"
465-
href="https://www.gitpod.io/docs/references/ides-and-editors/vscode#connecting-to-vs-code-desktop"
466-
target="_blank"
467-
rel="noreferrer"
468-
>
469-
Learn more
470-
</a>
471-
&nbsp;&middot;&nbsp;
472-
<a
473-
className="gp-link"
474-
href="https://github.com/gitpod-io/gitpod/issues/18109"
475-
target="_blank"
476-
rel="noreferrer"
477-
>
478-
Send feedback
479-
</a>
480-
</Alert>
481-
</div>
482-
);
483-
}
484-
485449
function RememberOptions(params: { disabled?: boolean; checked: boolean; onChange: (checked: boolean) => void }) {
486450
const { disabled, checked, onChange } = params;
487451

0 commit comments

Comments
 (0)