fix(web): folder links from chat open in the file tree - #2
Merged
Conversation
A folder mentioned by the agent opened as a file surface, which asked the server to read a directory and showed 'Failed to read workspace file'. The file surface now recognizes a directory from the workspace listing, skips the preview pane, and expands and selects the folder in the tree. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Owner
Author
|
@coderabbitai review |
Owner
Author
|
Asset host for upstream pingdotgg#10908: streaming render of a nested fence on the fix branch (idle frames dropped). nested-fence-streaming-fast.mp4 |
Owner
Author
|
Asset host for upstream pingdotgg#10908, take two: same broad README prompt, unfixed server vs fixed server, plus the streaming clip (sped up). after-readme-streaming-fast2.mp4 |
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.


When the agent mentions a folder in chat (for example
.agents/skills), clicking it opened a file surface for that path. The server refuses to read a directory, so the preview showed "Failed to read workspace file '.agents/skills' in '/home/exedev'." and the tree did not reveal anything.The file surface now recognizes a directory from the workspace listing the tree already has. For a folder it skips the preview pane and error, and the tree expands and selects the folder instead.
Validation:
vp test run apps/web/src/components/files/FilePreviewPanel.test.ts: 10 passedtsc --noEmitin apps/web: cleanvp linton touched files: no new warningsWritten by Claude Fable 5.1 in Claude Code.
🤖 Generated with Claude Code