pingdotgg / pingdotgg/t3code

[Feature]: Make the default action for file and pull request links configurable

Open
#11,403 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs-julius via-triage
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 Code or Preferred editor
  • Pull request links: T3 Code or Default 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.