The frontend TypeScript check passed without errors. (#1978)

The implementation is complete. The change removes the Bash-only restriction so that any tool with output (including MCP tools like `mcp:dev-manager:stop`) can now be clicked to view their results in the logs panel.

**Summary of changes:**
- **File:** `vibe-kanban/frontend/src/components/ui-new/NewDisplayConversationEntry.tsx`
- **Change:** Simplified `hasOutput` check in `ToolSummaryEntry` from `isBash && content && content.trim().length > 0` to just `content && content.trim().length > 0`
- **Effect:** MCP tool entries (and any other tool with output) are now clickable to view their JSON results in the logs panel
This commit is contained in:
Louis Knight-Webb
2026-01-12 17:49:52 +00:00
committed by GitHub
parent ddb92351f5
commit 7bb16a798e

View File

@@ -572,9 +572,8 @@ function ToolSummaryEntry({
}
}, [summary, expanded]);
// Only Bash tools with output should open the logs panel
const isBash = toolName === 'Bash';
const hasOutput = isBash && content && content.trim().length > 0;
// Any tool with output can open the logs panel
const hasOutput = content && content.trim().length > 0;
const handleViewContent = useCallback(() => {
viewToolContentInPanel(toolName, content, command);