GeezerVison is showing github.com — feat(web): copy paths, branches, titles or IDs of every selected thread by crafael23 · Pull Request #29952 · pingdotgg/t3code
Conversation
crafael23
commented
Nov 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem
When I select several threads in the sidebar, I often want their IDs, branches, or worktree paths to paste into a script, an agent prompt, or a note. The multi-select menu only has Settle, Snooze, Regenerate titles, Mark unread and Delete, so I have to open each thread's menu and copy one at a time.
Change
The multi-select menu gets a Copy (N) submenu with the same entries as the single-thread Copy menu, plus Titles: Paths, Branches, Threads, Titles, Thread IDs.
- Each entry copies one line per selected thread. Branches and paths shared by several threads appear once, and threads without one are skipped.
- Threads copies one thread link per line, the same link Copy → Thread copies for a single thread. They paste back into a composer as one chip per thread, including threads from different environments.
threadChipCopyTarget now calls a new threadChipsCopyTarget, so the single-thread copy produces the same output as before.
- Copying works for read-only clients, like the single-thread Copy menu, and keeps the selection so you can copy several fields in a row.
This touches web and desktop. Mobile has no multi-select.
Scope and approval
Requested in Ideas discussion #19863 ("Copy Threads ID bulk option on multiple thread select menu"). No maintainer has approved that discussion yet. It's a small extension of the existing single-thread Copy submenu to the multi-select menu, but I understand this needs a maintainer's go-ahead before review.
Verification
threadReference.test.ts: several threads, across two environments, produce chips whose fragment decodes back to every record and whose plain text is one link per thread that pastes back as those records.
Sidebar.logic.test.ts: each copy action's text, count and noun, including shared-branch dedupe and the case with nothing to copy.
vp run check:changed passes: format, lint, knip, typecheck, the tests next to the changes, and React Compiler.
- Ran the dev build on isolated state with four Replay threads (three in worktrees with branches, one in the project folder). Selected all four and clicked each Copy entry: 4 IDs, 4 paths, 3 branches (the project-folder thread has none) and 4 titles went to the clipboard with an "N … copied" toast. Pasting Threads into a composer produced four thread chips.
- Above 200 selected threads (the clipboard's record limit), Threads is disabled and labeled "Threads (up to 200)"; the other entries still work. Titles with line breaks are copied on one line. Both have cases in
Sidebar.logic.test.ts.
- Not checked: the packaged Electron desktop app (it uses the same sidebar).
Before: no Copy entry in the multi-select menu.

After: Copy (4) with Paths, Branches, Threads, Titles and Thread IDs.

After: Threads pasted into a composer as four chips.

Reviewed with sol-loop: 2 rounds with gpt-6.1-sol. Sol verdict: approved.
Created with Claude Opus 5.5 in T3 Code (Claude Code harness).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 3afba3d
Macroscope's review found this PR approvable — Adds bulk copying of selected threads’ paths, branches, titles, IDs, and composer references. Copying remains explicitly user-triggered through existing clipboard handling, without changing stored data or product defaults.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Important
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
57d907d5-eeaa-4df2-8c93-a7ce24879317
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Warning
.coderabbit.config.ts has a parsing error
The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.
Parsing errors: 1
-
Error while evaluating .coderabbit.config.ts
Configuration instructions
-
- Please see the configuration documentation for more information.
- You can also validate your configuration using the online YAML validator.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Walkthrough
-
The sidebar adds bulk-copy options for selected threads. The client runtime creates clipboard references containing multiple thread records. The sidebar reports clipboard copy results with success or error toasts.
Changes: Bulk thread copying
| Layer / File(s) |
Summary |
Bulk-copy options and formatting apps/web/src/components/Sidebar.logic.ts, apps/web/src/components/Sidebar.logic.test.ts |
The menu conditionally includes path and branch options. Text generation joins values with newlines, normalizes title line breaks, deduplicates paths and branches, and returns null when no values are available. Tests cover these actions and the 200-entry limit for thread copying. |
Multi-thread clipboard references packages/client-runtime/src/threadReference.ts, packages/client-runtime/src/threadReference.test.ts |
threadChipsCopyTarget builds clipboard references for multiple thread chips. The test checks references from different environments and their context IDs. |
Selected-thread menu and clipboard handling apps/web/src/components/Sidebar.tsx |
The sidebar builds copy entries from selected threads and adds the bulk-copy menu item. It sends thread references or formatted values to the clipboard and displays a success or error toast. |
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Feature
Sequence Diagram(s)
sequenceDiagram
participant Sidebar
participant ThreadCopyTarget
participant Clipboard
participant Toast
Sidebar->>ThreadCopyTarget: Send selected thread chips or formatted text
ThreadCopyTarget->>Clipboard: Write clipboard content
Clipboard-->>Sidebar: Return copy result
Sidebar->>Toast: Show success or error status
Loading
Possibly related issues
Possibly related PRs
- pingdotgg/t3code#31545: Adds thread-reference copying to search-result context menus, related to the multi-thread reference-copy behavior here.
Suggested reviewers: juliusmarminge
Merge Risk: Minimal · previous review ff96e
-
Bulk copy remains available within the clipboard’s record limit, and oversized selections cannot trigger the Threads action through the menu. No actionable merge-blocking risk remains after normal checks.
Pre-merge checks: 3 · 1
-
Failed checks: 1 warning
| Check name |
Status |
Explanation |
Resolution |
| Description check |
 |
The description covers the problem, changes, verification, and UI screenshots. However, the Scope and approval section says discussion #19863 has no maintainer approval, and the change is not presente… |
Obtain maintainer approval for the direction and scope in discussion #19863, then link the approval comment in this section. If relying on the small, obvious bug exception instead, explain why this change qualifies without prior approval. |
Passed checks: 3 passed
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title clearly describes the main change: adding bulk copy options for selected threads. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Description check
-
Explanation
The description covers the problem, changes, verification, and UI screenshots. However, the Scope and approval section says discussion #19863 has no maintainer approval, and the change is not presented as a fix for an obvious bug. The required approval evidence is missing.
Resolution
Obtain maintainer approval for the direction and scope in discussion #19863, then link the approval comment in this section. If relying on the small, obvious bug exception instead, explain why this change qualifies without prior approval.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fix comments: Fix CodeRabbit comments on this PR
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
commented
Nov 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified unchanged head f18a54d59428887c662bd72fe92e33f79372d071 on this linux boat vm using the real dev web app, repository playwright, and /usr/bin/google-chrome.
- reproduced on
github/main (cefb544af3c9): selecting two threads has no copy action.
- created the project and threads through the app. both threads completed real codex
gpt-6.1-sol turns. reused this app-created data on the pr with isolated state and one dev server at a time.
- all five bulk actions work. paths and branches shared by both threads copy once; titles and ids copy two lines. checked actual browser clipboard values and success counts. selection stays available for successive copy actions.
- threads paste as two composer chips. submitted the references to codex, then asked it to read both threads. the app shows “read 2 threads” and the correct original markers,
BULK_ALPHA_OK and BULK_BETA_OK.
- neighboring behavior: single-thread copy still pastes one chip; continuing the original thread works. a separate read-only session, granted only orchestration/read and filesystem/read, successfully bulk-copies both ids.
- blacksmith
vp run check:changed 61c3794c32b0eeebfac09add43e403618c65d2d7 passed: format, lint, knip, typecheck (7 packages), tests (5 files), and react compiler. installed the worker's missing chromium and fetched the pr history before the successful run. existing pr ci reports 29 successful checks.
before, with the same two real threads:

after:




Not verified
packaged electron, macos/windows clipboard implementations, native ios/android, remote or multi-environment selections, and the 201-thread limit in a real client. this vm exercised linux chrome against one local environment. the existing automated cases for multi-environment fragments, multiline titles, and the 201-thread limit passed; no fixtures or mocked provider turns were used for runtime verification.
no code changes or pushes were needed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR conflicts with main. Rebase it or merge main into it. If it still conflicts after 7 days with no activity, it will be closed automatically.
See the conflict window.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR conflicts with main. Rebase it or merge main into it. If it still conflicts after 7 days with no activity, it will be closed automatically.
See the conflict window.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks for this. It is not something the project wants to take on: Niche; idea never approved.
Closing this pull request.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
needs-rebase
Conflicts with its base branch. Closes after 7 days with no activity.
size:L
100-499 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|