feat(web): project favicon and workspace icons in command subtitles - #6330
Conversation
Replace the plain project · #branch text in command palette thread rows with the real project favicon, local/worktree icons, and harness icon so threads scan like the sidebar. Co-authored-by: Cursor <cursoragent@cursor.com>
|
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:
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. Comment |
ApprovabilityVerdict: Needs human review 1 blocking correctness issue found. This PR adds visual icons to command palette thread subtitles - a presentational feature. However, there is an unresolved Medium-severity finding about provider entries potentially resolving incorrectly for remote threads, showing wrong or missing provider icons. You can customize Macroscope's approvability policy. Learn more. |
Look up provider instances from each thread's own environment config so remote threads no longer inherit the primary server's harness icon (or show none). Co-authored-by: Cursor <cursoragent@cursor.com>
- PullRequestDetailPanel takes main's #6039 rework wholesale (reactions, update-branch, auto-merge, in-place editing); the thread-details action hooks stay in usePullRequestActions with label maps extended for the new action variants - CommandPalette #6330 provider subtitles adapted to the v2 shell (session -> runtime for provider instance and display name) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
## What's Changed * fix(web): cmd+click sidebar PR numbers open in the browser by @t3dotgg in pingdotgg/t3code#6378 * feat(web): project favicon and workspace icons in command subtitles by @gsimone in pingdotgg/t3code#6330 * web/settings: fix source control scan on relay environments by @dominic-r in pingdotgg/t3code#6230 * fix(web): make reset zoom hover visible by @t3-code[bot] in pingdotgg/t3code#6385 * fix(web): keep the typed prompt when a draft changes repo by @t3dotgg in pingdotgg/t3code#6393 ## New Contributors * @gsimone made their first contribution in pingdotgg/t3code#6330 * @dominic-r made their first contribution in pingdotgg/t3code#6230 **Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260812.1079...v0.0.34-nightly.20260813.1081 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260813.1081
Ported from t3code ac1264e (pingdotgg#6330). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- PullRequestDetailPanel takes main's #6039 rework wholesale (reactions, update-branch, auto-merge, in-place editing); the thread-details action hooks stay in usePullRequestActions with label maps extended for the new action variants - CommandPalette #6330 provider subtitles adapted to the v2 shell (session -> runtime for provider instance and display name) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- PullRequestDetailPanel takes main's #6039 rework wholesale (reactions, update-branch, auto-merge, in-place editing); the thread-details action hooks stay in usePullRequestActions with label maps extended for the new action variants - CommandPalette #6330 provider subtitles adapted to the v2 shell (session -> runtime for provider instance and display name) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- PullRequestDetailPanel takes main's #6039 rework wholesale (reactions, update-branch, auto-merge, in-place editing); the thread-details action hooks stay in usePullRequestActions with label maps extended for the new action variants - CommandPalette #6330 provider subtitles adapted to the v2 shell (session -> runtime for provider instance and display name) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds project favicon and model icon to threads in the command palette
Summary
project · #branchtext for the subtitleFolder/FolderGit2), branch label, and harness/provider iconTHREAD_COMMAND_SUBTITLE_VARIANTwhile iterating (favicon-workspace-harnessdefault)Test plan
mainthread vs a worktree thread iconMade with Cursor
Note
Add project favicons and provider icons to command palette thread subtitles
ThreadCommandSubtitle, a new component that renders thread items in the command palette with project favicon, workspace/branch icon, provider icon, and a 'Current thread' marker.buildThreadActionItemsinCommandPalette.logic.tswith an optionalrenderDescriptioncallback so callers can supply rich React subtitles instead of plain text.CommandPalette.tsxand passes them toThreadCommandSubtitlevia the new callback.CommandPaletteResults.tsxfromtruncatetomin-w-0so nested rich content can manage its own truncation.Macroscope summarized 0c9200d.