diff --git a/app/ide-desktop/lib/assets/play2.svg b/app/ide-desktop/lib/assets/play2.svg new file mode 100644 index 0000000000..539972e99e --- /dev/null +++ b/app/ide-desktop/lib/assets/play2.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/backend.ts b/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/backend.ts index 703a037ee3..9868a9055d 100644 --- a/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/backend.ts +++ b/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/backend.ts @@ -603,6 +603,7 @@ export interface ProjectUpdateRequestBody { /** HTTP request body for the "open project" endpoint. */ export interface OpenProjectRequestBody { forceCreate: boolean + executeAsync: boolean } /** HTTP request body for the "create secret" endpoint. */ diff --git a/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/components/assetContextMenu.tsx b/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/components/assetContextMenu.tsx index 25832be101..8b01c420ba 100644 --- a/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/components/assetContextMenu.tsx +++ b/app/ide-desktop/lib/dashboard/src/authentication/src/dashboard/components/assetContextMenu.tsx @@ -110,6 +110,23 @@ export default function AssetContextMenu(props: AssetContextMenuProps) { type: assetEventModule.AssetEventType.openProject, id: asset.id, shouldAutomaticallySwitchPage: true, + runInBackground: false, + }) + }} + /> + )} + {asset.type === backendModule.AssetType.project && + backend.type === backendModule.BackendType.remote && ( +