@@ -40,7 +40,6 @@ import { useDirtyState } from "../hooks/use-dirty-state";
40
40
import { LinkButton } from "../components/LinkButton" ;
41
41
import { InputField } from "../components/forms/InputField" ;
42
42
import Alert from "../components/Alert" ;
43
- import { useFeatureFlag } from "../data/featureflag-query" ;
44
43
45
44
export function CreateWorkspacePage ( ) {
46
45
const { user, setUser } = useContext ( UserContext ) ;
@@ -419,7 +418,6 @@ export function CreateWorkspacePage() {
419
418
</ Button >
420
419
</ div >
421
420
422
- { selectedIde === "code-desktop" && < LocalSSHWarning className = "mx-6 mt-3 rounded-lg overflow-hidden" /> }
423
421
{ workspaceContext . data && (
424
422
< RememberOptions
425
423
disabled = { workspaceContext . isLoading || createWorkspaceMutation . isStarting }
@@ -448,40 +446,6 @@ export function CreateWorkspacePage() {
448
446
) ;
449
447
}
450
448
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.
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
- ·
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
-
485
449
function RememberOptions ( params : { disabled ?: boolean ; checked : boolean ; onChange : ( checked : boolean ) => void } ) {
486
450
const { disabled, checked, onChange } = params ;
487
451
0 commit comments