Skip to content

fix(web): restore thread ID copy in the default sidebar - #4563

Open
PixPMusic wants to merge 1 commit into
pingdotgg:mainfrom
PixPMusic:pixpmusic/restore-sidebar-v2-thread-id-copy
Open

fix(web): restore thread ID copy in the default sidebar#4563
PixPMusic wants to merge 1 commit into
pingdotgg:mainfrom
PixPMusic:pixpmusic/restore-sidebar-v2-thread-id-copy

Conversation

@PixPMusic

@PixPMusic PixPMusic commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Verification

  • pnpm exec vp lint apps/web/src/components/Sidebar.tsx --report-unused-disable-directives
  • pnpm exec vp fmt --check apps/web/src/components/Sidebar.tsx
  • pnpm exec vp run --filter @t3tools/web typecheck
  • isolated test-t3-app pass: enabled default sidebar, opened a thread context menu, selected Copy Thread ID, and verified the exact thread UUID was copied with a success toast

Note

Low Risk
Clipboard-only UI with no server or auth changes; behavior mirrors existing copy-path/copy-branch actions.

Overview
Restores Copy thread ID on the shared thread context menu (buildThreadActionMenuItems), so sidebar and chat-header menus match v1 again.

Choosing the action copies the thread UUID via useCopyToClipboard and shows the same success/error toasts as copy path/branch. Wiring is duplicated in Sidebar.tsx and useThreadActionMenu.ts so both entry points handle the new menu id.

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

Note

Restore 'Copy thread ID' action in sidebar and chat header thread menus

Re-adds the copy-thread-id menu item to buildThreadActionMenuItems in threadActionMenu.logic.ts and wires up the clipboard action in both Sidebar.tsx and useThreadActionMenu.ts. Both handlers use useCopyToClipboard with success and error toasts.

Macroscope summarized 143da7b.

@coderabbitai

coderabbitai Bot commented Jul 26, 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: b79dca91-2043-4cc2-af44-86bbdb0014d7

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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:unvouched PR author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Jul 26, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 26, 2026
@macroscopeapp

macroscopeapp Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 143da7b

Restores a 'Copy thread ID' menu item using existing clipboard copy patterns. Self-contained UI change with proper test coverage and no security or schema implications.

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

@PixPMusic
PixPMusic force-pushed the pixpmusic/restore-sidebar-v2-thread-id-copy branch from 165b14f to 3d0934c Compare August 3, 2026 16:07
@macroscopeapp
macroscopeapp Bot dismissed their stale review August 3, 2026 16:07

Dismissing prior approval to re-evaluate 3d0934c

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Aug 3, 2026
@PixPMusic
PixPMusic force-pushed the pixpmusic/restore-sidebar-v2-thread-id-copy branch from 3d0934c to 143da7b Compare August 10, 2026 08:05
@macroscopeapp
macroscopeapp Bot dismissed their stale review August 10, 2026 08:05

Dismissing prior approval to re-evaluate 143da7b

@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 10, 2026
@PixPMusic PixPMusic changed the title fix(web): restore thread ID copy in sidebar v2 fix(web): restore thread ID copy in the default sidebar Aug 10, 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:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant