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

Showing 5 changed files with 127 additions and 0 deletions (loading 2).

x
0 of 5 viewed, 5 left
83 additions and 0 deletionsapps/web/src/components/Sidebar.logic.test.tsModified
View file
@@ -539,6 +539,51 @@
).toMatchObject({ label: "Working", pulse: true });
});
​
+ it("exposes the codex provider when a codex thread is running", () => {
+ expect(
+ resolveThreadStatusPill({
+ thread: {
+ ...baseThread,
+ session: {
+ ...baseThread.session,
+ provider: ProviderDriverKind.make("codex"),
+ status: "running",
+ },
+ },
+ }),
+ ).toMatchObject({ label: "Working", workingProvider: "codex", pulse: true });
+ });
+​
+ it("exposes the claude provider when a claude thread is running", () => {
+ expect(
+ resolveThreadStatusPill({
+ thread: {
+ ...baseThread,
+ session: {
+ ...baseThread.session,
+ provider: ProviderDriverKind.make("claudeAgent"),
+ status: "running",
+ },
+ },