Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): give lineage subagent hovers the thread hover card #12842

Mergedmaria-rcksmerged 3 commits intot3code/codex-turn-mapping fromrefs/pull/12842/headmerged by maria-rcks View on GitHub

Showing 7 changed files with 81 additions and 19 deletions (loading 4).

x
0 of 7 viewed, 7 left
4 additions and 1 deletionapps/web/src/components/chat/MessagesTimeline.test.tsxModified
View file
@@ -1914,7 +1914,10 @@
expect(child()).toHaveLength(0);
await act(() => group().props.onClick());
expect(child()).toHaveLength(1);
- const content = JSON.stringify(renderer!.toJSON());
+ const content = renderer!.root
+ .findAll((node) => typeof node.type === "string")
+ .flatMap((node) => node.children.filter((child) => typeof child === "string"))
+ .join("");
expect(content).toContain(preview);
expect(content).not.toContain("Inspect the package");
if (result?.trim() && result !== preview) expect(content).not.toContain(result);
76 additions and 17 deletionsapps/web/src/components/chat/SubagentTooltipContent.tsxModified
View file
@@ -2,17 +2,33 @@
OrchestrationV2ThreadShell,
OrchestrationProjectShell,
ServerProvider,
+ ProviderDriverKind,
} from "@t3tools/contracts";
import { fileBasename } from "@t3tools/client-runtime/markdown-links";
import { formatModelSlugName, resolveSelectableModel } from "@t3tools/shared/model";
import { getTriggerDisplayModelName } from "./providerIconUtils";
-import { Fragment } from "react";
+import type { ReactNode } from "react";
+import {
+ BotIcon,
+ CheckIcon,