Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Feature]: Open View PR externally with modifier click #7250

Closedstephenjason89(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/web

Problem or use case

The View PR quick action and dropdown action are rendered as buttons. A normal click correctly opens the pull request in T3 Code's right panel, but Command-click or Control-click cannot preserve the familiar link behavior of opening the pull request externally.

Proposed solution

Keep plain-click behavior unchanged and route Command-click or Control-click through the external pull request opener for both View PR entry points.

Why this matters

Users can keep the current thread visible while opening its pull request in their browser, matching modifier-click behavior elsewhere in T3 Code.

Smallest useful scope

Support Command-click and Control-click on the existing View PR quick action and dropdown item without changing their visual design or plain-click behavior.

Alternatives considered

Users can first open the pull request in the side panel and then open it externally, but that adds an unnecessary step and replaces the current thread panel.

Risks or tradeoffs

The modifier event must be forwarded through button handlers explicitly because these controls do not receive native anchor behavior.

Examples or references

Implemented in #7099.

Contribution

  • I would be open to helping implement this.

Sign in to join this conversation.