Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add compact Codex tool-call icons and details to the chat timeline #988

Mergedzortos293(GitHub profile, opens in a new tab)merged 13 commits intomain fromrefs/pull/988/headmerged by juliusmarminge View on GitHub

What Changed

  • Added icons to Codex tool-call rows in the chat timeline; previously these work-log entries had no icons.
  • Added a compact, Codex-only tool-call UI with stable white icons, tighter rows, and collapsible details for commands, outputs, and changed files.
  • Enriched work-log/session parsing so tool entries can carry command text, output, exit codes, tool status/title, request kind, item type, and structured changed-file paths when Codex provides them.
  • Cleaned up the copy and behavior to better match the older compact UI: removed trailing complete/completed, renamed command rows to Ran command, and removed the extra row/chip motion that made file updates feel jumpy.

Why

The previous work-log UI was plain and harder to scan because tool-call entries had no icons, bulky labels, and inconsistent presentation. This approach improves readability while keeping scope tight by limiting the richer rendering to Codex-oriented metadata and reusing the existing timeline flow instead of changing provider-wide UI behavior.

UI Changes

  • Before: Codex tool-call/work-log rows had no icons and used a more generic, bulkier text-only presentation.
  • After: Codex tool-call rows now show compact white icons, cleaner labels, and expandable details for command/output/file metadata.

Before

image

After

image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Add compact tool-call icons and details to the Codex chat timeline

  • Replaces flat work log rendering with SimpleWorkEntryRow, a compact single-line component showing a contextual icon, normalized heading, and preview text (command, detail, or changed files).
  • Extends WorkLogEntry in session-logic.ts with toolTitle, itemType, and requestKind fields; strips trailing <exited with exit code N> from detail strings.
  • Adds normalizeCompactToolLabel in MessagesTimeline.logic.ts to strip trailing 'complete'/'completed' from tool labels.
  • Moves isToolLifecycleItemType to a shared type guard in contracts/providerRuntime.ts and removes the local duplicate in the server ingestion layer.
  • Renames command execution label from 'Command run' to 'Ran command' across the adapter, fixtures, and tests.
Macroscope summarized a4b6782.
    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: 790bf180-b1dd-4cd6-b8d4-7c8d1ccdc8e0

      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
      • Post copyable unit tests in a comment
      📝 Coding Plan
      • Generate coding plan for human review comments

      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. Clearing up some unnecessary stuff that wont be called anyway

    4. I removed the dropdown because we do not consistently receive enough useful detail to justify an expanded view, so it added complexity without meaningful value.

    5. juliusmarminge reviewed

    6. juliusmarminge reviewed

    7. juliusmarminge approved these changes

    8. juliusmarminge requested changes

    9. Fixed all the issues related with the tests and moved itemtype to contracts

    10. @macroscope-app review this

    11. juliusmarminge merged this64dc07a

    12. juliusmarminge closed this

    13. I hugely appreciate this change, this is much nicer ❤️

    14. I hugely appreciate this change, this is much nicer ❤️

      ❤️

Sign in to join this conversation.