Skip to content

feat(web): add Copy Thread ID to Sidebar V2 thread context menu - #5574

Open
UtkarshUsername wants to merge 2 commits into
pingdotgg:mainfrom
UtkarshUsername:feat/web/sidebar-v2-copy-thread-id
Open

feat(web): add Copy Thread ID to Sidebar V2 thread context menu#5574
UtkarshUsername wants to merge 2 commits into
pingdotgg:mainfrom
UtkarshUsername:feat/web/sidebar-v2-copy-thread-id

Conversation

@UtkarshUsername

@UtkarshUsername UtkarshUsername commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What Changed

Adds the 'Copy Thread ID' action to Sidebar V2's thread context menu.

Why

The original sidebar already had it. It is helpful in diagnosing issues with threads.

UI Changes

Before:
image

After:
image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes

Note

Low Risk
UI-only clipboard copy with existing toast patterns; no auth, data, or server behavior changes.

Overview
Adds Copy thread ID to the shared thread action menu so Sidebar V2 and the chat header match the legacy sidebar for support/debugging.

The new copy-thread-id item is defined in buildThreadActionMenuItems (with the other copy actions, before delete). SidebarV2 and useThreadActionMenu wire it through useCopyToClipboard and show success/error toasts with the ID in the description. Unit tests expect the item even when lifecycle capabilities are off.

Reviewed by Cursor Bugbot for commit f51734e. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add 'Copy Thread ID' option to thread context menus in SidebarV2 and chat header

Adds a copy-thread-id action to buildThreadActionMenuItems in threadActionMenu.logic.ts, placing it after existing copy actions and before the delete action. Both SidebarV2.tsx and useThreadActionMenu.ts handle the new action by copying the thread ID to the clipboard and showing a success or error toast.

Macroscope summarized f51734e.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 59babb39-7565-4e95-b958-9f4c3b72519a

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:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Aug 7, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 6f9b1b0

Simple additive UI feature that adds a 'Copy Thread ID' menu item to the thread context menu. The implementation follows existing patterns for similar copy operations already in the codebase, uses established hooks, and includes appropriate test updates.

You can customize Macroscope's approvability policy. Learn more.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Aug 7, 2026
@UtkarshUsername
UtkarshUsername force-pushed the feat/web/sidebar-v2-copy-thread-id branch from 008a37b to 6f9b1b0 Compare August 7, 2026 11:30
@macroscopeapp
macroscopeapp Bot dismissed their stale review August 7, 2026 11:30

Dismissing prior approval to re-evaluate 6f9b1b0

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant