Skip to content
Source
Sign inSign up
pingdotgg/t3code

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

ClosedMarve10s(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/1888/headopened View on GitHub

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 UI-only sidebar status rendering and pure logic helpers; no auth, data, or API changes in this diff.

Overview Sidebar thread status pills now carry an optional workingProvider from the session when a thread is Working, Connecting, or Completed with an unseen completion, so the UI can distinguish mixed-provider lists.

ThreadStatusLabel swaps the generic colored dot for provider-specific icons (Claude, Codex/OpenAI, Cursor, OpenCode) when that field is set, keeps brand tinting via a new providerBrandClassNames helper (including alias normalization for cursor/opencode CLI variants), and still falls back to the dot for unrecognized or missing providers. Compact and full layouts both use the same icon-or-dot behavior, with pulse on the icon for active sessions.

Tests cover resolveThreadStatusPill provider propagation and static markup for Cursor/OpenCode status icons.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 108d8736f37b09037a933e7a9c9fd35b87c3c412. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Show provider-specific icons for active and completed thread statuses in the sidebar

  • ThreadStatusLabel now renders a provider-specific icon (Claude, OpenAI, Cursor, OpenCode) instead of a generic colored dot when status.workingProvider maps to a known provider; the icon pulses when status.pulse is true.
  • resolveThreadStatusPill is extended to include workingProvider on pills for running/connecting sessions, and for completed threads with unseen completions when a provider is available.
  • A new providerBrandClassNames.ts module adds normalizeProviderBrandKey (normalizes aliases like opencode variants) and providerIconClassName (returns brand color classes) utilities.
Macroscope summarized 108d873.

Refs #1813

    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      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: 79b4064b-8a2c-4954-a34b-30585e768bc7

      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.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. Marve10s(GitHub profile, opens in a new tab) changed the title

    4. Marve10s(GitHub profile, opens in a new tab)commented

      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
    5. Marve10s(GitHub profile, opens in a new tab) changed the title

    6. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Approved

      This PR adds provider-specific icons to sidebar status indicators, replacing generic dots with branded icons for Claude, OpenAI, Cursor, and OpenCode providers. The changes are purely visual, self-contained to UI components, and include comprehensive test coverage.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    7. Cursor Bugbot has reviewed your changes and found 2 potential issues.

      Fix All in Cursor ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot). Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 181008a4b42541432804538deb5071a29a1c8527. Configure [here](https://www.cursor.com/dashboard/bugbot).
    8. Yo @juliusmarminge should I close this? PR is older than me

    9. V2 has icons so yes

    10. juliusmarminge closed this

Sign in to join this conversation.