[Feature]: Make the default action for file and pull request links configurable
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
Area
apps/web
Problem or use case
Clicking a file link or recognized pull request link opens it in T3 Code's right panel. Opening the same target in the preferred editor or system browser requires holding Cmd/Ctrl while clicking.
I use my external editor and GitHub as the primary destinations, so holding a modifier for every link adds friction. The existing "Open links in" setting covers ordinary chat and terminal links, but does not change the primary action for file links or recognized pull request links.
Proposed solution
Make the primary click destination configurable while preserving today's behavior as the default:
- File links:
T3 CodeorPreferred editor - Pull request links:
T3 CodeorDefault browser
When an external destination is selected, plain click should open externally and Cmd/Ctrl-click should perform the alternate in-app action.
Apply the preference consistently to chat links, diff filenames, file-browser entries, and pull request links.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/web by tracing the existing link behavior and the "Open links in" setting across chat links, diff filenames, file-browser entries, and recognized pull request links. Done means the primary destinations are configurable, today’s in-app behavior remains the default, and Cmd/Ctrl-click performs the alternate action consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100