feat: workbench is the base page — top-bar surfaces, warm engine sessions, live mid-run geometry - #39
Merged
Merged
Conversation
…e sessions, live mid-run geometry Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…oute Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three changes that make the Engineer workbench the project page:
1. Base page.
/overviewis now a pure redirect to/engineer, and every link that used to land on overview (project create, breadcrumb, shared-projects nav, file tree, folder browser, invite accept, unauthnext=) goes straight to the workbench. The create-flow AI kickoff (PipelineKickoffListener) moved from the overview page into the stage page, so "prompt → new project → copilot bootstraps it" still fires — now on the workbench:2. Top-bar surfaces instead of tab churn. Single-instance surfaces (Assembly, PCB, Checks, Repository, Ideate, Verify, Launch, Renders) are permanent buttons in the top bar — no open/close dance. Only multi-component surfaces (CAD, Schematic) remain closable tabs via
+. Fixed panes mount lazily on first visit and stay mounted (CSS visibility swap), so revisiting is instant.3. Faster viewport, live agent geometry.
CadViewportgains a warm-session pool: on clean unmount the connected Zoo WebRTC session (rtc + video element) is parked for 120s keyed ontoken|baseUrl|headless|scenery; the next viewport with the same options adopts it and only re-executes its script — skipping the multi-second WebRTC handshake that made reopening a CAD tab feel dead. Live viewports never share a session; only released ones are pooled.text_to_cadnow streams each part into the workspace the moment it generates (per-partmutateModel3dDocinsiderunJob) and emits a newsavedCAD-progress phase. The copilot provider reacts tosavedchunks by invalidating design/engineer queries mid-run, so open viewports render parts while the rest of the batch is still generating — no more waiting for the whole tool to finish. Refetch is debounced (200ms) so bursts coalesce, and the viewport keeps the last render on screen while re-executing.Behavior notes: old
/overviewbookmarks redirect;?view=deep links unchanged; mid-run saves reuse the existing locked read-modify-write so parallel parts can't clobber each other.Link to Devin session: https://app.devin.ai/sessions/f2de7850ec9640f7b7bdd99b34fc3348
Requested by: @alanshen27