Skip to content

fix(web): highlight the cad sync button while the panel asks you to press it - #218

Merged
AadiJo merged 1 commit into
mainfrom
cad-sync-highlight
Nov 8, 2026
Merged

AadiJo merged 1 commit into
mainfrom
cad-sync-highlight

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

A new Onshape project opens to an empty CAD panel that says "Press Sync to download it from Onshape", but the Sync button is a small muted icon in the header that is easy to miss.

While that message shows, the button now carries a "Sync" label on a soft accent fill. After the first download it goes back to the muted icon. The panel computes one flag that drives both the message and the highlight, so they can't drift apart. Local CAD projects show their file prompt instead and are unaffected.

Never synced After a download
Accent Sync chip next to the model name while the panel says to press Sync Muted sync icon once CAD has been downloaded

Proof: ran the app against an isolated backend with a seeded, never-synced Onshape project and saw the accent "Sync" chip next to the model name; after seeding a downloaded root, the button was the muted icon again. Web typecheck, the CadSyncButton and CadPanel tests, lint, and format pass.

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 7:51pm UTC

@AadiJo
AadiJo merged commit 6a378a3 into main Nov 8, 2026
8 checks passed
@AadiJo
AadiJo deleted the cad-sync-highlight branch November 26, 2026 19:49

This branch was previously deployed

1 inactive deployment
Preview — ebbae1d2 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