Add compact Codex tool-call icons and details to the chat timeline #988
Mergedzortos293(GitHub profile, opens in a new tab)merged 13 commits into
main fromrefs/pull/988/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelssize:XL
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:XL
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
juliusmarminge reviewed
apps/web/src/components/chat/MessagesTimeline.logic.test.ts line 144OutdatedResolvedby zortos293(GitHub profile, opens in a new tab)@@ -133,3 +133,12 @@133133 expect(computeMessageDurationStart([])).toEqual(new Map());134134 });135135 });136+137+describe("normalizeCompactToolLabel", () => {138+ it("renames command run labels to ran command", () => {139+ expect(normalizeCompactToolLabel("Command run")).toBe("Ran command");140+ expect(normalizeCompactToolLabel("Command run complete")).toBe("Ran command");141+ });142+143+ it("removes trailing completion wording from other labels", () => {144+ expect(normalizeCompactToolLabel("File read completed")).toBe("File read");juliusmarminge reviewed
apps/web/src/components/chat/MessagesTimeline.logic.test.ts line 139OutdatedResolvedby zortos293(GitHub profile, opens in a new tab)@@ -133,3 +133,7 @@133133 expect(computeMessageDurationStart([])).toEqual(new Map());134134 });135135 });136+137+describe("normalizeCompactToolLabel", () => {138+ it("renames command run labels to ran command", () => {139+ expect(normalizeCompactToolLabel("Command run")).toBe("Ran command");juliusmarminge approved these changes
juliusmarminge requested changes
apps/web/src/components/ChatView.tsx lines 3281 to 3284OutdatedResolvedby zortos293(GitHub profile, opens in a new tab)@@ -3278,3 +3278,7 @@32783278 completionSummary={completionSummary}32793279 turnDiffSummaryByAssistantMessageId={turnDiffSummaryByAssistantMessageId}32803280 nowIso={nowIso}3281+ enableCodexToolCallUi={3282+ sessionProvider === "codex" ||3283+ (sessionProvider === null && selectedProvider === "codex")3284+ }apps/web/src/session-logic.test.ts line 403OutdatedResolvedby zortos293(GitHub profile, opens in a new tab)@@ -400,4 +400,4 @@400400 makeActivity({401401 id: "tool-complete",402402 createdAt: "2026-02-23T00:00:02.000Z",403- summary: "Command run complete",403+ summary: "Ran command complete",apps/web/src/session-logic.ts lines 40 to 47OutdatedResolvedby zortos293(GitHub profile, opens in a new tab)@@ -36,3 +36,12 @@3636 command?: string;3737 changedFiles?: ReadonlyArray<string>;3838 tone: "thinking" | "tool" | "info" | "error";39+ toolTitle?: string;40+ itemType?:41+ | "command_execution"42+ | "file_change"43+ | "mcp_tool_call"44+ | "dynamic_tool_call"45+ | "collab_agent_tool_call"46+ | "web_search"47+ | "image_view";juliusmarminge merged this64dc07a
juliusmarminge closed this
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
790bf180-b1dd-4cd6-b8d4-7c8d1ccdc8e0You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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