Skip to content

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

Open
Marve10s wants to merge 2 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 2 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 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 (from thread.session.provider) for running/connecting threads and for unseen Completed threads.

Replaces the generic status dot in ThreadStatusLabel with provider-specific ClaudeAI/OpenAI icons (with provider-brand coloring and pulse behavior when applicable), and expands Sidebar.logic tests 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

  • 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 0648dcc.

@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: bfa75cc7-74e4-4ef1-8895-56f39b9cb0f1

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.

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