fix(web): show provider icons for active and completed sidebar statuses#1888
fix(web): show provider icons for active and completed sidebar statuses#1888Marve10s wants to merge 2 commits intopingdotgg:mainfrom
Conversation
|
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 Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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: Approved Simple UI enhancement that shows provider-specific icons (Claude, OpenAI) in the sidebar instead of generic colored dots. The change is purely visual, passes through existing provider data, and includes appropriate unit tests. You can customize Macroscope's approvability policy. Learn more. |

Summary
Why
The sidebar already knows which provider is attached to a running thread, but it still renders the same generic pulse for every active session. Showing the active provider directly makes it easier to scan mixed-provider thread lists.
Validation
bun fmtbun lintbun typecheckNote
Low Risk
Low risk UI-only change that adjusts sidebar status rendering and a small status-shape addition; potential risk is limited to mismatched provider mapping causing incorrect icons.
Overview
Updates sidebar thread status pills to carry an optional
workingProvider(fromthread.session.provider) forrunning/connectingthreads and for unseenCompletedthreads.Replaces the generic status dot in
ThreadStatusLabelwith provider-specificClaudeAI/OpenAIicons (with provider-brand coloring and pulse behavior when applicable), and expandsSidebar.logictests to cover the provider exposure cases.Reviewed by Cursor Bugbot for commit 0648dcc. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Show provider-specific icons for active and completed thread statuses in the sidebar
ThreadStatusPillin Sidebar.logic.ts with an optionalworkingProviderfield, populated forrunning/connectingsessions and completed threads with unseen completions.providerStatusIconClassNamehelper in Sidebar.tsx that mapsclaudeAgentto an orange tint andcodexto the foreground color.ThreadStatusLabelwith ClaudeAI or OpenAI icons (with pulse animation when active) when aworkingProvideris present; falls back to the dot otherwise.Macroscope summarized 0648dcc.