Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(desktop): render and annotate a remote dev server in the desktop app by proxying #27879

Closedpgassmann(GitHub profile, opens in a new tab)wants to merge 13 commits intomain fromrefs/pull/27879/headopened View on GitHub

Showing 39 changed files with 108 additions and 2 deletions (loading 36).

x
0 of 39 viewed, 39 left
4 additions and 0 deletionsapps/desktop/src/app/DesktopApp.test.tsModified
View file
@@ -70,6 +70,7 @@
import * as ElectronWindow from "../electron/ElectronWindow.ts";
import * as MacPermissions from "../permissions/MacPermissions.ts";
import * as PreviewManager from "../preview/Manager.ts";
+import * as RemotePreviewProxy from "../preview/RemotePreviewProxy.ts";
​
it.effect.each([false, true])(
"stops backends together before flushing history and cancels Linux registration, stop defect=%s",
@@ -239,6 +240,9 @@
}),
FileSystem.layerNoop({}),
Layer.mock(NetService.NetService, {}),
+ Layer.mock(RemotePreviewProxy.RemotePreviewProxy, {
+ embeddedCredentialForPort: () => null,
+ }),
Path.layer,
Layer.succeed(
HttpClient.HttpClient,
93 additions and 2 deletionsapps/desktop/src/ipc/methods/preview.tsModified
View file
@@ -22,6 +22,10 @@
DesktopPreviewCreateTabInputSchema,
DesktopPreviewTabInputSchema,
DesktopPreviewWebviewConfigSchema,
+ DesktopRemotePreviewExternalAccessSchema,
+ DesktopRemotePreviewProxyConfigureInputSchema,
+ DesktopRemotePreviewProxyEnvironmentInputSchema,