Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Adds a persisted preference for opening pull-request links in the browser while preserving the existing in-app default and modifier-click behavior. The change is localized to link handling and settings plumbing, with backward-compatible defaults and focused tests. Notes:
You can add or adjust custom eligibility rules. Learn more. |
e84367c to
39d5933
Compare
Adds Settings → General → "Open pull request links in T3 Code". On (the default) keeps today's behavior: a pull request link in a thread opens in the review panel beside the conversation. Off sends every click to the browser, which is what command-click already did. Model: claude-opus-5. Harness: Claude Code in T3 Code.
39d5933 to
3c4a4ab
Compare
|
Note 🤖 GPT-5.6 Sol responding on behalf of Theo We're closing this PR as we clean up the T3 Code backlog. Thank you for taking the time to put this together. We are not adding a separate preference for where pull request links open. The current destination is deterministic, and this narrow option adds settings and dispatch paths without fixing a broken flow. If you believe we closed this in error, please reopen the PR and leave a comment explaining what we missed. |
|
Clicking on a link deterministically should open a browser. If you insist opening app things - this should not be a hyperlink in the first place. |
Every upstream update re-fights the fork's edits inside upstream's busiest web files. The kept fork web features now carry their logic in fork-owned modules; upstream's files keep imports, hook calls, props, component mounts and one-line gates. No behaviour or look changes. Moved out: - inline code click-to-copy -> chat/CopyableInlineCode.tsx - composer approval row, drawer and panel -> chat/ComposerPendingApprovalPanel.tsx - composer Record control and send guard -> chat/useComposerScreenRecording.tsx - resume compaction model name -> chat/useResumeCompactionModelName.ts - Git-project banner -> chat/gitProjectBannerItem.tsx - subagent round anchor and card jump -> chat/useSubagentTimelineNavigation.ts, lib/subagentRoundNavigation.ts - pasted thread ids -> chat/threadContextDrag.ts (takePastedThreadIds); insert-into-composer -> threadContextDrag.ts; dial send sound -> lib/interfaceSounds.ts (playDeviceSendCue) - overlay presentation type and raised-composer focus -> snapShot/snapShotOverlayDock.ts - sidebar row chrome and hover actions, status chain, waiting props, working-row drags -> sidebar/SidebarThreadRowChrome.tsx, SidebarThreadRowStatus.logic.ts, sidebarRowWaiting.ts, sidebarDrag.logic.ts; model sub-provider -> chat/providerIconUtils.ts - palette Move to project, Export transcript, Champions items -> commandPalette/moveToProjectItem.tsx, exportTranscriptPaletteItem.tsx, champions/commandPaletteChampionItems.tsx - settings search entries (delegation, sounds/motion/finish, version control, overlay shortcut, agent browser) -> settings/forkSettingsSearchItems.ts; Restore-defaults labels -> settings/interfaceFeelSettings.logic.ts test-t3-app gains a short before/after comparison recipe. Count. Busiest = upstream main 470ca63's 50 most-changed source files since 2026-10-20 (unchanged from T3-731's sizing). Fork-added lines in its ten web files, against the merged upstream nightly 6927cfe: 2,808 -> 1,963 (ChatComposer 636->481, ChatView 610->537, SidebarThreadRow 519->230, MessagesTimeline 262->156, ChatMarkdown 235->174, CommandPalette 211->157, settingsSearch 196->112, Sidebar 102->88, SettingsPanels 33->24, ChatView.logic 4->4). Per listed feature (each fork hunk attributed to the feature whose identifiers most of its lines name; a hunk is what an upstream merge re-fights): delegated-work-visibility 466 -> 176 hook calls, props, the delegated request panel mount, row elapsed web-client-customisation 175 -> 109 CopyableInlineCode mount, row trigger/hover-strip mounts, machine icon, search-entry spreads, paste and send-sound calls; 39 of these are upstream's paste handler, which sits below attachThreadContexts (as before this change) so the React Compiler can compile ChatComposer snapshot-overlay 93 -> 88 presentation gates in ChatView markup and the overlay component mounts thread-transcript-export 65 -> 7 palette item and composer import lines champions 22 -> 18 palette item spread and its inputs screen-recording-video 22 -> 17 hook call and two control mounts compact-model 4 -> 13 hook call (logic left ChatView, attributed elsewhere before) shared-provider-setup 7 -> 7 sub-provider props on the row agent-policy-roles, managed-browser-roles, model-maker-icons: no remaining hunks of their own (search entries and props named above). Hunks naming no feature: 700 -> 360, mostly SidebarThreadRow (364 -> 115, row chrome and status chain moved out) and CommandPalette (94 -> 43, palette items moved out); the rest belong to out-of-scope features (no-project chats, model-selection defaults, unattended Away). Out-of-scope features' hunks: 1,254 -> 1,168. What stays for the listed features is seams: imports, hook calls, props, JSX mounts and one-line presentation gates. Script and tables: ~/runs/T3-789/tools/attrib_hunk.py, attribution-hunks.txt on peach-box. Proof: recorded tests pass unchanged (37 files, 819 tests, including settingsSearch, threadActionMenu.logic, Sidebar.logic, SubagentPanel.logic, compaction.logic, snapShotOverlayDock, ExportTranscriptDialog.logic, ChatView.logic, subagentRoundNavigation and the new SidebarThreadRowStatus.logic); web typecheck, React Compiler coverage, fmt, lint, knip and i18n:check pass. Before/after captures of 32 states on one dev server and data set (approval thread with the Approval row label and hover strip, row hover card, Replay markdown with inline code clicked, Git-project banner, lead thread with subagents, title copy hover, compacted thread with the context bar, row drag into the composer, palette with Export/Move/Champions/Away, settings search and pages, Champions, overlay) differ only in relative ages, live timers and shimmer; a fixed 3 s hover shows the same hover card on both. Claude Opus 5.5 lead with Claude Sonnet 5.5 implementers, in T3 Code. Build: pingdotgg#8335
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
openPullRequestLinksInAppsetting to control where PR links openopenPullRequestLinksInAppfield (defaulttrue) toClientSettingsSchemaandClientSettingsPatchin settings.tsshouldOpenPullRequestExternallyin openPullRequestLink.ts to accept anopenInAppparameter; whenfalse, all clicks open externally (meta/ctrl still always open externally)useOpenChangeRequestLinkanduseOpenPrLinkhooks to read the setting viauseClientSettingsand route unmodified clicks accordinglytrue), preserving current in-app behavior; users who opt out via the new toggle will have all unmodified PR link clicks open in the system browserMacroscope summarized 3c4a4ab.