fix(artifacts): premium split panel + docx/pdf/xlsx in files view#17
Merged
Conversation
Three related fixes for the right-side artifact/preview UI so it feels like Claude's split layout instead of a cramped, leaky surface: - ArtifactPanel: collapse the redundant tabs + head + actions rows into a single 48px header — icon + title + type pill on the left, icon-only Source/Copy/Download/Publish + Close on the right. Tab strip now only appears when 2+ artifacts are open. SidePanel drops its duplicate "Artifacts" header so the panel owns its full-height chrome. - artifacts.ts: stop promoting long shell stdout into "Code" artifacts. Commands like `pip install …` and `python3 -c "…"` were producing pinned artifact cards keyed on their command string; they now stay as expandable tool-call chips inline. - ProjectFilesView: docx/doc/xlsx/xls/pdf were being requested as UTF-8 text and dumped into a <pre>, rendering binary gibberish. They now go through the existing DocxRenderer / XlsxRenderer / PdfRenderer components and the preview pane was rebuilt with the same premium bar the artifact panel uses (wider column, full-bleed body, icon-only reload/delete/close). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
OmGuptaIND
added a commit
that referenced
this pull request
Apr 30, 2026
### Features - auto-activated skills + builtin document-creation packages (#19) ### Other - fix(attachments): persist images on disk + lazy-load chips on demand (#20) - feat(chat): collapsible turn progress + per-turn source cards (#18) - fix(artifacts): premium split panel + render docx/pdf/xlsx in files view (#17) - fix(ask-user): commit answers only on explicit submit (#16) - docs(spec): session log architecture — append-only log + multi-client channel (#15)
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.
Summary
Three related fixes so the right-side artifact/preview UI feels like Claude's split layout instead of a cramped, leaky surface.
SidePaneldrops its duplicate generic "Artifacts" header so the panel owns its full chrome.Files
Test plan
🤖 Generated with Claude Code