Title: fix(emcn): normalize the folder icon family to the house geometry by waleedlatif1 · Pull Request #6262 · simstudioai/sim · GitHub
Open Graph Title: fix(emcn): normalize the folder icon family to the house geometry by waleedlatif1 · Pull Request #6262 · simstudioai/sim
X Title: fix(emcn): normalize the folder icon family to the house geometry by waleedlatif1 · Pull Request #6262 · simstudioai/sim
Description: Folder and FolderCode both carried a fill-based construction in a tight viewBox with a hairline stroke, while FolderOpen was the house-standard stroke outline. Measured at size-[14px]:
icon
glyph
stroke
standard (pencil)
10.8px
0.90px
baseline
folder-open
10.9px
0.90px
✅ already correct
folder (before)
20.6px
0.28px
❌ ~2× size, ⅓ weight
folder-code (before)
19.9px
0.28px
❌ ~2× size, ⅓ weight
Both now measure 10.1px / 0.90px.
Why it was visible
Folder vs FolderOpen toggle in place in the sidebar folder rows — expanding a folder visibly shrank its icon.
FolderCode renders in Chat's TOOL_ICONS map for glob/mv/mkdir, directly beside standard-geometry Search, File, and Database.
Neither appeared before the lucide migration — lucide shipped all three as matched 24-boxes.
Fix
Folder is redrawn as FolderOpen's own body outline closed along the bottom-right; FolderCode reuses that body path byte-identically and insets code brackets centred on the body (x 9.125, y 11.25). The family now shares one silhouette and one weight by construction.
Call-site safety
Changing a viewBox is never a one-file change. All 19
Open Graph Description: Folder and FolderCode both carried a fill-based construction in a tight viewBox with a hairline stroke, while FolderOpen was the house-standard stroke outline. Measured at size-[14px]: icon glyp...
X Description: Folder and FolderCode both carried a fill-based construction in a tight viewBox with a hairline stroke, while FolderOpen was the house-standard stroke outline. Measured at size-[14px]: icon glyp...
Opengraph URL: https://github.com/simstudioai/sim/pull/6262
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b66e73e-bd1b-7153-ca68-11d3f2766e64 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DAB4:9464C:ADCECB:EDD7E8:6AFB50A9 |
| html-safe-nonce | c7706ee5a73dcb56b72ef150bcf9eec71b391b20d2bacff7948dea0bb061b7b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUI0Ojk0NjRDOkFEQ0VDQjpFREQ3RTg6NkFGQjUwQTkiLCJ2aXNpdG9yX2lkIjoiMjEyNjQxNjk4OTgyNjc5NzczNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c199ab367e2a9d88e8cf10b7f6541e0c00893688a37137179d881ba156f250ad |
| hovercard-subject-tag | pull_request:4206765827 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6262/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Folder and FolderCode both carried a fill-based construction in a tight viewBox with a hairline stroke, while FolderOpen was the house-standard stroke outline. Measured at size-[14px]: icon glyp... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width