t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Files panel offers no way to mention selected files in chat except dragging them

Open giovanecesar opened this issue 1 month ago • 0 comments

What happened

In the Files panel I cannot select several files and mention them in chat. I expected a way to pick files and add them to the message.

Requested change: Add a "Mention in chat" item to the Files panel right-click menu. When the clicked row is part of a multi-selection, the item mentions every selected file. Also add a keyboard shortcut for the same action, so keyboard-only users can use it.

Diagnosis

Multi-select works, but the only path from a selection to the chat is drag and drop.

  • The tree library (@pierre/trees 1.0.0-beta.6, render/rowClickPlan.js) supports Cmd/Ctrl-click to toggle a row and Shift-click to select a range.
  • apps/web/src/components/files/fileTreeDragMention.ts:60 turns the whole selection into composer mentions when the user drags a selected row into the composer.
  • The right-click menu in apps/web/src/fileContextMenu.ts:59-87 has only Open, Reveal in Finder, and Open with. It has no "Mention in chat" item, and it acts on one row, not the selection.
  • No keyboard shortcut adds the selection to the composer.

The result: users who do not know about Cmd-click plus drag find no way to mention several files. Keyboard-only users have no way at all.

Steps to reproduce

  1. Open a thread in the desktop app and open the Files panel.
  2. Cmd-click two files to select both.
  3. Right-click one of the selected files. The menu has no mention action.
  4. Look for a toolbar button or shortcut to add the selection to the chat. None exists.
  5. Drag one selected file into the composer. Both files become mentions. This is the only route.

Version

0.1.6 (desktop app and local server; the latest release)

Environment

macOS (Darwin 27.0.0, arm64), Node 26.12.1, desktop app connected to its local server

Evidence

No runtime error. This is a missing feature. See the source references in Diagnosis (tag v0.1.6, commit 2359643c).

Related issues

None found. Searched for file explorer, file tree, file browser, files panel, and mention multiple files. #27028 covers menu actions on chat file chips, which is a different surface.

Fix applied or workaround

Cmd-click or Shift-click the files, then drag one of the selected rows into the composer.

Filed by

Claude Code, model claude-opus-5-5, via t3 triage

giovanecesar avatar Oct 31 '26 12:10 giovanecesar