The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 11:30 UTC
fix(web): show machine icons in the environment picker (#9668)
Theo Browne committed
Sep 4, 2026 at 06:32 UTC
082cab224624eb3a6cd494df3719c59014fb0c99
1 file changed
+4
-1
apps/web/src/components/CommandPalette.tsx
+4
-1
@@ -30,6 +30,7 @@ import {
30
import {
31
type DesktopWslState,
32
type EnvironmentId,
33
+ type EnvironmentMachineKind,
34
type FilesystemBrowseResult,
35
type ProjectId,
36
type SourceControlDiscoveryResult,
@@ -206,6 +207,7 @@ function getEnvironmentBrowsePlatform(os: string | null | undefined): string {
207
interface AddProjectEnvironmentOption {
208
readonly environmentId: EnvironmentId;
209
readonly label: string;
210
+ readonly machine: EnvironmentMachineKind;
211
readonly isPrimary: boolean;
212
readonly isConnected: boolean;
213
readonly status: string;
@@ -833,6 +835,7 @@ function OpenCommandPaletteDialog(props: {
835
runtimeLabel: environment.label,
836
}),
837
isPrimary,
838
+ machine: resolveEnvironmentMachineKind(environment.serverConfig),
839
isConnected: canCreateProjectInEnvironment(environment.connection.phase),
840
status: connectionStatusText(environment.connection),
841
};
@@ -1478,7 +1481,7 @@ function OpenCommandPaletteDialog(props: {
1481
: option.environmentId
1482
: option.status,
1483
disabled: !option.isConnected,
1481
- icon: <FolderPlusIcon className={ITEM_ICON_CLASS} />,
1484
+ icon: <EnvironmentMachineIcon kind={option.machine} className={ITEM_ICON_CLASS} />,
1485
keepOpen: true,
1486
run: async () => {
1487
startAddProjectSourceSelection(option.environmentId);