From 33d8d87ca2c2522cde634ca03a5c32ecdd73ca23 Mon Sep 17 00:00:00 2001
From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
Date: Fri, 30 Oct 2026 21:06:55 +0800
Subject: [PATCH] feat(welcome): add Remote Development to the empty welcome
page (#460)
The empty-state landing offered only Open and Clone Repository; the
Remote Development action was reachable only once recent projects existed.
---
src/features/welcome/ProjectsPage.tsx | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/features/welcome/ProjectsPage.tsx b/src/features/welcome/ProjectsPage.tsx
index 5e29e9e9..b879aab6 100644
--- a/src/features/welcome/ProjectsPage.tsx
+++ b/src/features/welcome/ProjectsPage.tsx
@@ -54,6 +54,7 @@ function HeaderButtons() {
/** Shown when there are no recent projects (IntelliJ's empty welcome). */
function Landing() {
const canClone = useActions((s) => s.actions.has("vcs.clone"));
+ const canRemote = useActions((s) => s.actions.has("remote.connect"));
const opening = useProject((s) => s.opening);
const shortcut = shortcutLabel("file.openProject");
return (
@@ -88,6 +89,19 @@ function Landing() {