Skip to content

Promote develop → main: fix Remote Workspace icon crash (#181)#182

Merged
haowei2000 merged 2 commits into
mainfrom
develop
Jul 13, 2026
Merged

Promote develop → main: fix Remote Workspace icon crash (#181)#182
haowei2000 merged 2 commits into
mainfrom
develop

Conversation

@haowei2000

Copy link
Copy Markdown
Collaborator

Hotfix promotion. Since #180, develop gained:

Standard develop→main promotion.

🤖 Generated with Claude Code

haowei2000 and others added 2 commits July 14, 2026 00:58
…file-icon

react-material-icon-theme@1.2.0 bundles a React-19 JSX runtime that reads
`recentlyCreatedOwnerStacks` off React's internals — undefined under this
project's React 18 — so the Remote Workspace tree threw the moment it
rendered (repros in a plain renderToString). Its icon chunk loaded fine
(the 304 was a red herring); the crash was at render.

Swap it for react-file-icon, which the app already uses for chat
attachments (Seti palette, colored per-extension, React-18-safe). Folders
keep the lucide glyph. Bonus: drops the ~279 kB-gzip monolith and its lazy
chunk entirely — react-file-icon is tiny, so no lazy boundary is needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(remote-workspace): replace crashing Material icon lib with react-file-icon
@haowei2000
haowei2000 merged commit a3a08c6 into main Jul 13, 2026
11 checks passed
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