Skip to content

fix(web): restore sidebar v2 thread actions and terminal icon - #4712

Merged
maria-rcks merged 1 commit into
pingdotgg:mainfrom
Noojuno:t3code/restore-sidebar-thread-actions
Jul 30, 2026
Merged

fix(web): restore sidebar v2 thread actions and terminal icon#4712
maria-rcks merged 1 commit into
pingdotgg:mainfrom
Noojuno:t3code/restore-sidebar-thread-actions

Conversation

@Noojuno

@Noojuno Noojuno commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

What Changed

  • Show the active-terminal status indicator on sidebar v2 card and slim thread rows, with the running process count in the existing thread-details tooltip.
  • Restore Copy path and Copy branch to the sidebar v2 thread context menu.

Why

Sidebar v2 had regressed functionality available in v1: users could no longer see when a thread had an active terminal or copy a thread's workspace path and branch from its context menu.

UI Changes

The existing terminal status treatment is now rendered in sidebar v2, with the running process count included in the thread-details tooltip. The terminal icon remains a status indicator instead of opening a second tooltip, and the context menu includes sentence-case Copy path and Copy branch actions.

Verified locally in the live web app:

  • Active terminal status appears and clears with terminal processes.
  • The thread-details tooltip reports singular and plural running-process counts.
  • The terminal icon does not open a separate tooltip.
  • Copy actions write the exact workspace path and branch.
  • The v2 menu renders Copy path and Copy branch.
image image image image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • Video is not applicable; this change adds no animation

Note

Low Risk
UI-only parity work in the sidebar: reuses existing terminal-session and clipboard utilities with no auth, data, or server contract changes.

Overview
Brings sidebar v2 back in line with v1 for two missing affordances.

Running terminals: Each thread row subscribes to useThreadRunningTerminalIds and maps that through the shared terminalStatusFromRunningIds helper. When processes are running, a terminal icon (with optional pulse) appears on card and slim rows; the existing thread-details tooltip also lists how many terminal processes are running. The icon is status-only (no extra tooltip).

Context menu: Thread right-click menus gain Copy path (worktree path, else project workspace root, with an error toast if missing) and Copy branch when the thread has a branch. Clipboard hooks are split into path vs branch copy with matching success toasts; project-settings path copy uses the renamed path helper.

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

Note

Restore thread context menu actions and terminal status indicators in SidebarV2

  • Adds 'Copy path' and 'Copy branch' context menu items to sidebar thread rows, copying the respective values to the clipboard with success/error toasts.
  • Thread rows now display a colored terminal status icon (with pulse animation when active) when terminal processes are running for that thread.
  • The thread tooltip is extended to show a terminal icon and a 'N terminal process(es) running' label when applicable.

Macroscope summarized ef03e7a.

@coderabbitai

coderabbitai Bot commented Jul 28, 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: 2bbd46ed-9a31-4f34-9417-096875f222d6

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:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Jul 28, 2026
@Noojuno
Noojuno force-pushed the t3code/restore-sidebar-thread-actions branch 2 times, most recently from 5763084 to 157092a Compare July 28, 2026 23:51
@Noojuno
Noojuno marked this pull request as ready for review July 28, 2026 23:51
@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Jul 28, 2026
@Noojuno
Noojuno force-pushed the t3code/restore-sidebar-thread-actions branch from 3998d7c to cc8a0df Compare July 28, 2026 23:54
@macroscopeapp

macroscopeapp Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

This PR restores missing sidebar UI functionality - terminal status icons and copy path/branch context menu actions. Changes are self-contained, use existing state/utilities, and present minimal runtime risk.

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

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 28, 2026
@Noojuno
Noojuno force-pushed the t3code/restore-sidebar-thread-actions branch from cc8a0df to d71af87 Compare July 29, 2026 00:08
@macroscopeapp
macroscopeapp Bot dismissed their stale review July 29, 2026 00:08

Dismissing prior approval to re-evaluate d71af87

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Jul 29, 2026
@Noojuno Noojuno changed the title fix(web): restore sidebar v2 thread actions fix(web): restore sidebar v2 thread actions and terminal icon Jul 29, 2026
@juliusmarminge

Copy link
Copy Markdown
Member
CleanShot 2026-07-29 at 02 10 45@2x

terminal icon should be left of PR badge no? feels like that would cause less shifting UI

@Noojuno
Noojuno force-pushed the t3code/restore-sidebar-thread-actions branch from d71af87 to ef03e7a Compare July 29, 2026 00:15
@Noojuno

Noojuno commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

@juliusmarminge good call, done

image

@maria-rcks
maria-rcks merged commit 35a6840 into pingdotgg:main Jul 30, 2026
15 checks passed
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Jul 30, 2026
## What's Changed
* fix(mobile): reduce thread feed scroll jank by @gabrielelpidio in pingdotgg/t3code#4874
* fix(web): restore sidebar v2 thread actions and terminal icon by @Noojuno in pingdotgg/t3code#4712
* fix(web): settle button now works on hover, not just right-click by @t3dotgg in pingdotgg/t3code#4905
* fix(clients): disable add project while disconnected by @StiensWout in pingdotgg/t3code#4834
* fix(composer): hide default Codex service tier by @maxktz in pingdotgg/t3code#4784

## New Contributors
* @gabrielelpidio made their first contribution in pingdotgg/t3code#4874

**Full Changelog**: pingdotgg/t3code@v0.0.32-nightly.20260729.951...v0.0.32-nightly.20260730.953

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.32-nightly.20260730.953
tarik02 added a commit to tarik02-org/t3code that referenced this pull request Jul 30, 2026
* fix(desktop): restore T3 Connect sign-in (pingdotgg#4809)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Simplify files panel header (pingdotgg#4828)

* build(desktop): reduce installed app size by ~300MB (pingdotgg#4824)

* Update model version from claude-opus-4-8 to claude-opus-5 (pingdotgg#4832)

* Preserve the thread shell while detail loads (pingdotgg#4830)

* Reduce idle work and disk churn with native resource diagnostics (pingdotgg#2679)

Co-authored-by: codex <codex@users.noreply.github.com>

* fix(server): detect repositories after initialization (pingdotgg#4848)

* perf(server): merge separate staged/unstaged numstat calls into single diff HEAD --numstat (pingdotgg#4843)

* fix(git): disable external diff for review diff previews (pingdotgg#4854)

* Fix editable file focus and live syntax highlighting (pingdotgg#3979)

* fix(web): remember the rendered-markdown choice across threads (pingdotgg#4853)

Co-authored-by: Simon Doba <simon.doba@orbit.de>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

* chore(release): prepare v0.0.31

* fix(mobile): reduce thread feed scroll jank (pingdotgg#4874)

* fix(web): restore sidebar v2 thread actions and terminal icon (pingdotgg#4712)

* fix(web): settle button now works on hover, not just right-click (pingdotgg#4905)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(clients): disable add project while disconnected (pingdotgg#4834)

* fix(composer): hide default Codex service tier (pingdotgg#4784)

* docs: link iOS and Android app store downloads (pingdotgg#4902)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(web): align remote server update action (pingdotgg#4731)

* fix(connect): suggest a serve command that matches how you ran connect (pingdotgg#4897)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(mobile): stop shared content errors in Personal Team builds (pingdotgg#4943)

* perf(mobile): sends respond instantly, thread opens stop freezing (pingdotgg#4882)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(web): show Codex fast mode as a bolt (pingdotgg#4947)

* docs: seed worktrees with a copy of real userdata instead of banning it (pingdotgg#4949)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(mobile): support dragged images in the composer (pingdotgg#4953)

* fix(mobile): stop long iOS threads from jumping while scrolling up (pingdotgg#4867)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(web): keep worktree default when switching a draft's machine (pingdotgg#4964)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* perf(mobile): reconnect environments immediately on resume (pingdotgg#4878)

* feat(web): pasting a huge screenshot now compresses it instead of erroring (pingdotgg#4967)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* feat(web): regenerate thread titles from sidebar (pingdotgg#4810)

* fix(web): show server update progress through reconnect (pingdotgg#4903)

---------

Co-authored-by: Alex <me@pixp.cc>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: wukko <me@wukko.me>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: ohbentos <72638975+ohbentos@users.noreply.github.com>
Co-authored-by: Jake Leventhal <jakeleventhal@me.com>
Co-authored-by: Simon Doba <simon.doba@hotmail.de>
Co-authored-by: Simon Doba <simon.doba@orbit.de>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Gabriel De Andrade <30420087+gabrielelpidio@users.noreply.github.com>
Co-authored-by: Jono Kemball <Noojuno@users.noreply.github.com>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Max Katz <me@maxkatz.me>
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.

3 participants