Clicking a pull request link in a thread always opens the review in the right panel, and the only way to get it into a browser is to remember command-click. People who live in their browser for reviews have no way to make that the default.
Adds Settings → General → Open pull request links in T3 Code, a client setting that is on by default (today's behavior, unchanged). Turn it off and every pull request link — in chat, and the pull request number in the sidebar — goes straight to the browser, exactly as command-click already does. The decision lives in shouldOpenPullRequestExternally, so both the chat link handler and the sidebar handler follow the same rule, and the Pull requests page still opens reviews in panel tabs either way.
Mobile taps already open pull request links in the system browser, so nothing changes there.
Model: claude-opus-5. Harness: Claude Code in T3 Code.
Note
Add openPullRequestLinksInApp setting to control where PR links open#
- Adds a boolean
openPullRequestLinksInApp field (default true) to ClientSettingsSchema and ClientSettingsPatch in settings.ts
- Updates
shouldOpenPullRequestExternally in openPullRequestLink.ts to accept an openInApp parameter; when false, all clicks open externally (meta/ctrl still always open externally)
- Adds a toggle in Settings → General in SettingsPanels.tsx with reset-to-default support and settings search integration
- Updates
useOpenChangeRequestLink and useOpenPrLink hooks to read the setting via useClientSettings and route unmodified clicks accordingly
- Behavioral Change: existing users whose stored settings predate this field will decode to the default (
true), preserving current in-app behavior; users who opt out via the new toggle will have all unmodified PR link clicks open in the system browser
Macroscope summarized 3c4a4ab.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
bd974deb-76c9-491d-9dfa-3550bf9fd4edYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Comment `@coderabbitai help` to get the list of available commands.