feat(chatui): add tabbed workspace and PDF previews - #10022
Open
Soulter wants to merge 1 commit into
Open
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
astrbot-docs | c62c408 | Commit Preview URL Branch Preview URL |
Sep 10 2026, 09:34 AM |
Soulter
added this pull request to stack #10032
September 10, 2026 14:07
Soulter
removed this pull request from stack #10032
September 10, 2026 14:48
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.
Workspace files currently use a single preview area and cannot display PDFs. This change adds a tabbed file workspace with an embedded PDF viewer, so users can browse files and read documents alongside their conversation.
Stacked on #10021. The base branch is
codex/chatui-settings-and-reading; this PR contains only the workspace changes. Merge the parent PR first, then retarget this PR tomaster.Modifications
Rename the workspace entry to Files, place previews to the left of the file tree, and add a tree visibility toggle and larger preview dialog.
Add closable file tabs with keyboard navigation. Single-clicking files reuses an italic temporary tab; interacting with its preview or double-clicking the file/tab keeps it open.
Add a lazily loaded PDF.js canvas viewer with continuous scrolling, nearby-page rendering, bounded canvas buffers, and floating zoom controls. Preserve reading position when resizing or switching to the larger preview.
Bundle the PDF worker and versioned character maps, fonts, WebAssembly, and color profiles locally for development and production.
Cancel obsolete PDF downloads and handle oversized files, password-protected documents, and rendering failures while keeping downloads available. PDF previews are limited to 50 MB.
Update Chinese, English, Japanese, and Russian labels. No backend routes or API schemas change.
This is NOT a breaking change.
Screenshots or Test Results
pnpm buildpassed, including Vue/TypeScript checking and production asset bundling.ruff format .,ruff check ., andgit diff --checkpassed.Checklist
pdfjs-dist, is recorded indashboard/package.jsonanddashboard/pnpm-lock.yaml.Summary by Sourcery
Replace the single-file workspace preview with a tabbed Files experience that supports browsing code and reading PDFs within the chat interface.
New Features:
Bug Fixes:
Enhancements:
Build:
Chores: