Skip to content

Conversation

@Jamessukanto
Copy link

Hi! This PR tackles a UX issue I hit while exploring the visualizer.

UX pain point:

The most important content to parse -Conversation and its corresponding Code Blocks & Sub-LM Calls - gets relatively little screen real estate, while a lot of colors and icons compete for attention.

I did:

  • Modify LogViewerSummary layout so it’s less visually noisy and draws attention more naturally to the right places
  • Added selected iteration header (SelectedIterationInfo)
    • Detail like Iteration x of y was duplicated in LogViewerMainContent → added selected iteration header to consolidate
  • Simplify IterationTimeline section
    • Display execution time and token counts on a single line in the timeline cards
  • Simplify LogViewerMainContent section
    • Standardize names e.g. 'Codes' -> 'Code Blocks'
    • Streamline UI/UX
  • Preserve existing visualizer behavior; changes are layout/UX-only

Before:
before

After:
after

Move demo logs preview fetching logic from Dashboard component
into a reusable custom hook for better separation of concerns.
- Fix CodeBlock horizontal scrolling by constraining CollapsibleContent
  expansion with width: 0; minWidth: 100% wrapper
- Fix LogViewerMainContent cutoff by replacing h-screen with flex-1
  to properly account for header/footer height
- Ensure ResizablePanelGroup fills available vertical space
- Create reusable StatsRow component for label-value pairs
- Replace duplicated stat rows in LogViewer with StatsRow
- Follow StatsCard naming convention for consistency
- Hide LogViewerFooter. Currently, its only job is to display navigation hints. - Use kbd elements for better visual styling
- Change 'to navigate' → 'prev/next' and 'back' → 'back to files'
@alexzhang13
Copy link
Owner

Cool yeah I'll test this out when I get the time but it looks nicer :)

@alexzhang13 alexzhang13 self-requested a review January 29, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants