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 3 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. |
…atus-icons # Conflicts: # apps/web/src/components/Sidebar.logic.ts

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 extends sidebar status data and rendering; main risk is minor visual/regression in status pill display for running/connecting/completed threads.
Overview
Sidebar thread status pills now include an optional
workingProviderand populate it forrunning/connectingsessions and forCompletedthreads with unseen completions.ThreadStatusLabelswaps the generic status dot for provider-specific icons (ClaudeAI/OpenAI) with provider-specific coloring (and pulsing when active), falling back to the dot when no provider is available. Tests were updated to assertworkingProvideris exposed for running and unseen-completion cases.Reviewed by Cursor Bugbot for commit 274d2c0. 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 274d2c0.