M27: VS Code blocks (an editor on any pane's machine) #42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on: #41
Blocks: #43 (for "Open here")
Swarm track: editors. A VS Code you can open in any pane's directory, on that pane's machine, drawn as a block.
illogical edit [path]start the server chosen by S17 on the pane's machine (this host, another host, or a wisp sandbox), in the pane's cwd, and show it as a browser block (M6a);editor, its project and its active file (M23);crates/control/src/auth.rson geek takes under 3 s once the server is warm;Done: merged as
455b264(Merge M27). PLAN.md: M27 section.editorblock: VS Code (code-server 4.140.0, pinned with SHA-256s, downloaded on first use) on a pane's machine (this host over a 0600 Unix socket, or a wisp VM), served through the block-site proxy, owner only. One server per machine, stopped when idle.illogical edit PATH[:LINE] [--machine]. It shows in the swarm askind: editorwith its file; hover shows the lines around the cursor.Tests: crates/daemon/tests/editors.rs (stand-in code-server) and web/e2e/editors.spec.ts with the real code-server: file to line in 1.4 s on desktop and 1.9 s on a phone-sized page. editors-vm.spec.ts passes against wisp. CI green on both runners (706, 707).
Not covered: real reboot, a real phone (both on #55 Needs Jake), running on a Mac, cursor following inside a VM. Filed #61 and #62.