Repository navigation
Files panel context menu has no Copy path, and copied mentions break in other projects #31525
giovanecesar
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
What happened
Right-clicking a file in the Files panel shows Open, Reveal in Finder, Open with, Copy mention, and Add to chat. It has no Copy path.
This causes two problems:
Proposal
Add "Copy full path" and "Copy relative path" to the Files panel context menu, using the same logic as chat file links. As an option, make Copy mention use the absolute path when it is pasted into a thread from a different project.
Diagnosis
apps/web/src/components/files/FileBrowserPanel.tsx:198-204adds onlycopy-mentionandadd-to-chatafter the shared file menu items.panelPath()(line 147) returns the relative path unless the panel shows a host folder, so the mention has no project root.Other menus already have path actions: chat file links (
MarkdownFileLink.logic.ts, "Copy full path" and "Copy relative path"), the sidebar and the right panel tabs ("Copy path"). The Files panel is the exception.Steps to reproduce
Version
Desktop app 0.1.7 (T3 Code Beta). Triage CLI 0.1.7.
Environment
macOS 27.2.0, arm64. The desktop app connects to a local server.
Evidence
A screenshot of the context menu (attached after creation). Source checked at tag `v0.1.7`.Related issues
Fix applied or workaround
Use Reveal in Finder, then copy the path from Finder (Option+Cmd+C).
Filed by
Drafted by Claude Code (Claude Opus 5.5) with
t3 triage.All reactions