feat: attach files to a matter chat without filing them in the matter

↗ view on GitHub · Ethan Ward · 2026-08-19 · 464b7aa0

Matter chats had no attach button, so the only way to give the assistant
a file was to add it to the matter Documents list first. Now the button
is there, and a file dropped on the chat side stays with that chat -
drop it on the file list or the Documents tab to file it in the matter.

The drop panel is limited to the chat side so it no longer covers the
file list, and the backend merges chat-only attachments into a matter
chat context, which previously saw matter documents only.

Note: backend/src/lib/chat/contextBuilders.ts and routes/projectChat.ts
also carry earlier uncommitted edits from another session on this shared
tree; they are included here because they cannot be separated by path.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PoCRDAPyEq4wwBVFFbDzck
Repository wardethan2000-eng/mike
Author Ethan Ward <ethanward321@hotmail.com>
Authored
Parents ada4e2eb
Stats 5 files changed , +184 , -17
Part of Chat-only matter attachments

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-464b7aa0.md from inside the repo you want the change in.

⬇ Download capture-commit-464b7aa0.md