Skip to content

feat(web): solidworks projects show the solidworks logo in the sidebar - #226

Merged
AadiJo merged 1 commit into
mainfrom
solidworks-sidebar-logo
Nov 8, 2026
Merged

AadiJo merged 1 commit into
mainfrom
solidworks-sidebar-logo

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Onshape projects show the Onshape logo in the sidebar, but SolidWorks projects only had the text "SolidWorks · Assembly", so the two sources looked different at a glance.

.sldasm and .sldprt projects now show a SolidWorks logo with "Assembly" or "Part", the same way Onshape rows show their logo and model kind. STEP, IGES, and Onshape rows are unchanged.

Onshape row on top, SolidWorks row below, in the dev app at 4x:

Onshape and SolidWorks project rows

  • solidworks.svg is a new vector drawing of the SW cube. The only existing asset was a 48px PNG, which blurs when scaled. The letters are paths, so the logo does not depend on fonts.
  • Its viewBox is cropped to the cube so it fills the 12px slot the way the Onshape logo does. Both icons cover the same pixel rows next to the label.
  • A satisfies check ties the logo image map to the logo type, so a new logo kind without an image fails the build.

Checked in the dev app with a throwaway CADSENSE_HOME and a local .SLDASM project. Sidebar logic tests (116) and web typecheck pass.

Reviewed with sol-loop: 1 round with gpt-6.1-sol on high. 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 1bd0cc5 into main Nov 8, 2026
8 checks passed
@AadiJo
AadiJo deleted the solidworks-sidebar-logo branch November 26, 2026 19:52

This branch was previously deployed

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