Skip to content

fix(web): part drawings render in new threads before the first message - #224

Merged
AadiJo merged 2 commits into
mainfrom
draft-part-drawings
Nov 8, 2026
Merged

AadiJo merged 2 commits into
mainfrom
draft-part-drawings

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Part drawings never rendered in a new thread before its first message. Picking "Make part drawing" switched the right panel to an empty "Part drawing" page. #214 let a draft load its project's CAD by sending the project id, but the drawing panel was still limited to server threads and asked for the model without that id, so the server had no project to serve.

The drawing panel now sends the project id with its model request, the same way the CAD viewer does, and shows on drafts too. The server still uses a thread's own project once it exists and rejects a mismatch. The title block's "Drawn" cell also reads "Cadsense" now, not "CADsense".

local-cad-project-e2e.ts gains a draft-part-drawing step that opens a drawing from the parts list on a draft and waits for a sheet. It times out without this fix and passes with it.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cadsense Skipped Skipped Nov 8, 2026 9:05pm UTC

@AadiJo
AadiJo merged commit 691608d into main Nov 8, 2026
12 checks passed
@AadiJo
AadiJo deleted the draft-part-drawings branch November 26, 2026 19:49

This branch was previously deployed

1 inactive deployment
Preview — 1d29f2a9 Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant