Promote develop → main: Remote Workspace CodeMirror + Material icons (#179)#180
Merged
Conversation
The Remote Workspace file viewer (real repo source — .ts/.rs/.py/Dockerfile) was a plain <textarea>; it's the more editor-like surface than the workbench and was what the "online editor" ask was really about. Swap it for the same click-gated CodeEditor, wired to the panel's edit/dirty state and keyed by filename. To highlight arbitrary repo files, resolve languages via @codemirror/language-data by filename. markdown/json keep a synchronous fast path (no flash); every other grammar is a dynamic import that Vite code-splits into its own chunk, so only the languages a user actually opens are fetched. Load is race-guarded against fast file switches, and a failed grammar load degrades to plain text rather than crashing the editor. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…tree Replace the flat lucide File/Folder glyphs in the Remote Workspace file tree with VS Code's Material Icon Theme icons (react-material-icon-theme), resolved per filename — best-in-class file-type differentiation. The library is a ~279 kB-gzip monolith with no code-splitting or tree-shaking, so it's wrapped in a single React.lazy boundary (MaterialFsIcon) that Vite emits as its own chunk: it downloads only when the tree first renders, and each row shows the lucide glyph as the Suspense fallback until it lands. Never touches the chat critical path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…49c9c feat(remote-workspace): CodeMirror editor + multi-language + Material Icon Theme icons
This was referenced Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes develop to main. Since the last promotion (#178), develop gained:
@codemirror/language-data, per-grammar lazy chunks) + Material Icon Theme file/folder icons (lazy-isolated chunk).Standard feature→develop→main promotion. CI green on develop.
🤖 Generated with Claude Code