Skip to content

fix max height for card content on traces conversation page#1905

Merged
shagun-singh-inkeep merged 7 commits intomainfrom
TI-7
Feb 10, 2026
Merged

fix max height for card content on traces conversation page#1905
shagun-singh-inkeep merged 7 commits intomainfrom
TI-7

Conversation

@shagun-singh-inkeep
Copy link
Collaborator

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2026

🦋 Changeset detected

Latest commit: 1e7d2ee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@inkeep/agents-manage-ui Patch
@inkeep/agents-api Patch
@inkeep/agents-cli Patch
@inkeep/agents-core Patch
@inkeep/agents-manage-mcp Patch
@inkeep/agents-mcp Patch
@inkeep/agents-sdk Patch
@inkeep/agents-work-apps Patch
@inkeep/ai-sdk-provider Patch
@inkeep/create-agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agents-api Ready Ready Preview, Comment Feb 10, 2026 7:17pm
agents-docs Ready Ready Preview, Comment Feb 10, 2026 7:17pm
agents-manage-ui Ready Ready Preview, Comment Feb 10, 2026 7:17pm

Request Review

@shagun-singh-inkeep shagun-singh-inkeep changed the title Ti 7 fix max height for card content on traces conversation page Feb 10, 2026
@inkeep
Copy link
Contributor

inkeep bot commented Feb 10, 2026

No docs changes detected — this PR contains internal UI styling fixes (max-height adjustments for card components) that don't require documentation updates.

Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review Summary

0 Key Findings | Risk: Low

This PR correctly implements max-height constraints on the summary cards in the conversation trace detail page, preventing content overflow. The changes are straightforward CSS styling improvements that follow existing flexbox patterns in the codebase.

🔴❗ Critical (0) ❗🔴

None.

🟠⚠️ Major (0) 🟠⚠️

None.

🟡 Minor (0) 🟡

None.

💭 Consider (2) 💭

  • 💭 Consider: page.tsx:318 Scrollbar styling for consistency

💭 1) page.tsx, mcp-breakdown-card.tsx Standardize overflow patterns across all four summary cards

Issue: The four summary cards in the grid use different internal overflow strategies. Duration and Alerts cards have no CardContent overflow handling, AI Calls uses overflow-y-auto directly on CardContent, and MCPBreakdownCard uses overflow-hidden + nested scrollable div.

Why: While this works correctly (Duration/Alerts content is unlikely to overflow), consistent patterns make maintenance easier and future-proof the cards if content grows.

Fix: This is a stylistic consideration. The current approach (only adding scroll behavior where content can grow unbounded) is pragmatic. If desired, standardize by adding flex-shrink-0 to all CardHeaders and flex-1 min-h-0 overflow-y-auto to all CardContents.

Refs:


✅ APPROVE

Summary: Clean, focused UI fix that achieves its goal. The max-h-[280px] flex flex-col pattern is applied consistently to all four summary cards, and scroll behavior is correctly added where content can grow unbounded (AI Calls, MCP Tool Calls). The Consider items are minor consistency refinements that can be addressed in a follow-up if desired. Ship it! 🚀

Discarded (2)
Location Issue Reason Discarded
mcp-breakdown-card.tsx:103 Nested scroll pattern differs from AI Calls card Both patterns work correctly; this is a low-confidence style preference with no functional impact
page.tsx:262,373 Duration/Alerts cards lack overflow handling Intentional design — these cards have fixed-height content that won't overflow
Reviewers (3)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-standards 0 0 0 0 0 0 0
pr-review-consistency 2 0 1 0 1 0 0
pr-review-frontend 2 0 0 0 0 0 2
Total 4 0 1 0 1 0 2

<MessageSquare className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>
<CardContent className="flex-1 min-h-0 overflow-y-auto">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 Consider: Scrollbar styling for consistency

Issue: This scrollable CardContent doesn't include the scrollbar styling classes used elsewhere in the traces components.

Why: The codebase has an established pattern of styled scrollbars (scrollbar-thin scrollbar-thumb-muted-foreground/30 scrollbar-track-transparent dark:scrollbar-thumb-muted-foreground/50) for a more refined look. Adding them here would match the pattern in activity-details-sidepane.tsx and tool-calls-by-server-card.tsx.

Fix: Consider adding scrollbar classes:

<CardContent className="flex-1 min-h-0 overflow-y-auto scrollbar-thin scrollbar-thumb-muted-foreground/30 scrollbar-track-transparent dark:scrollbar-thumb-muted-foreground/50">

Refs:

@github-actions github-actions bot deleted a comment from claude bot Feb 10, 2026
@shagun-singh-inkeep shagun-singh-inkeep merged commit 5b0b1f1 into main Feb 10, 2026
10 checks passed
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.

1 participant