Repository navigation
feat(chat): show a transcript file reference in its folder - #2219
Merged
Merged
Conversation
Users asked to jump from a file named in the conversation straight to its location on disk. The right-click menu only offered copy actions since the HTML open-with change, so the reference had to be copied and located by hand. Every local reference now offers Show in folder. It resolves through the same completion a click uses and reveals that exact absolute path through the contained fs/reveal IPC; a missing reference or a refused reveal reports itself, and remote workspaces keep the copy actions only.
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.
Adds Show in folder (zh-CN: 在文件夹中打开) to the transcript file-reference context menu for local sessions. It resolves the reference through the same completion as a click and reveals the resolved absolute path via
fs/reveal. Missing references and refused reveals show an error toast; remote workspaces keep copy actions only.Tests:
apps/desktop/test/chat-file-open-with-menu.test.mjs(17/17), i18n catalogs (31/31). Specs updated.