Skip to content

fix(web): show provider icons for active and completed sidebar statuses#1888

Open
Marve10s wants to merge 3 commits intopingdotgg:mainfrom
Marve10s:sidebar-provider-status-icons
Open

fix(web): show provider icons for active and completed sidebar statuses#1888
Marve10s wants to merge 3 commits intopingdotgg:mainfrom
Marve10s:sidebar-provider-status-icons

Conversation

@Marve10s
Copy link
Copy Markdown
Contributor

@Marve10s Marve10s commented Apr 10, 2026

Summary

  • replace the generic working pulse in the sidebar with provider-specific icons for active threads
  • preserve provider branding for the working icon instead of tinting it with the status color
  • cover the provider mapping in sidebar status tests

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 fmt
  • bun lint
  • bun typecheck

Note

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 workingProvider and populate it for running/connecting sessions and for Completed threads with unseen completions.

ThreadStatusLabel swaps 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 assert workingProvider is 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

  • Extends ThreadStatusPill in Sidebar.logic.ts with an optional workingProvider field, populated for running/connecting sessions and completed threads with unseen completions.
  • Adds a providerStatusIconClassName helper in Sidebar.tsx that maps claudeAgent to an orange tint and codex to the foreground color.
  • Replaces the generic colored dot in ThreadStatusLabel with ClaudeAI or OpenAI icons (with pulse animation when active) when a workingProvider is present; falls back to the dot otherwise.

Macroscope summarized 274d2c0.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 10, 2026

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

Run ID: 6f08e5b5-961f-4a55-b912-435e2b579b48

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 and usage tips.

@github-actions github-actions bot added size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 10, 2026
@Marve10s Marve10s changed the title Show provider icons for active sidebar threads Add provider icons to active sidebar thread statuses Apr 10, 2026
@Marve10s
Copy link
Copy Markdown
Contributor Author

Marve10s commented Apr 10, 2026

Easier to identify own running sessions. Works with different states. Also easier for me identify my threads while they working. I do use rename but not as much,personally this would help me more and generally it's better than just pulse icon imo

Знімок екрана 2026-04-10 о 20 55 43

@Marve10s Marve10s changed the title Add provider icons to active sidebar thread statuses fix(web): show provider icons for active and completed sidebar statuses Apr 10, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp bot commented Apr 10, 2026

Approvability

Verdict: 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
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