Skip to content

Enable dragging workspace files into chat context#45

Merged
BunsDev merged 1 commit into
mainfrom
okcode/drag-tree-files-into-chat
Mar 28, 2026
Merged

Enable dragging workspace files into chat context#45
BunsDev merged 1 commit into
mainfrom
okcode/drag-tree-files-into-chat

Conversation

@BunsDev

@BunsDev BunsDev commented Mar 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Add drag-and-drop support from the workspace tree into the chat composer.
  • Distinguish dragged workspace paths from image/file drops and insert tree paths as @ context mentions at the cursor.
  • Update the composer drop affordance to show context-specific feedback for workspace path drags.

Testing

  • Not run (PR description generated from code diff only).
  • Verified the change touches ChatView drag handling and WorkspaceFileTree drag start payloads.

- Make file tree rows draggable with a custom tree-path payload
- Accept tree-path drops in the composer and insert them as @mentions
- Update the drag overlay copy for files vs. tree paths
@vercel

vercel Bot commented Mar 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 28, 2026 2:52am

@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 28, 2026
@BunsDev BunsDev merged commit 5dbaeb8 into main Mar 28, 2026
8 of 9 checks passed
@BunsDev BunsDev deleted the okcode/drag-tree-files-into-chat branch March 31, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant