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:
committed by
GitHub
parent
ddb92351f5
commit
7bb16a798e
@@ -572,9 +572,8 @@ function ToolSummaryEntry({
|
|||||||
}
|
}
|
||||||
}, [summary, expanded]);
|
}, [summary, expanded]);
|
||||||
|
|
||||||
// Only Bash tools with output should open the logs panel
|
// Any tool with output can open the logs panel
|
||||||
const isBash = toolName === 'Bash';
|
const hasOutput = content && content.trim().length > 0;
|
||||||
const hasOutput = isBash && content && content.trim().length > 0;
|
|
||||||
|
|
||||||
const handleViewContent = useCallback(() => {
|
const handleViewContent = useCallback(() => {
|
||||||
viewToolContentInPanel(toolName, content, command);
|
viewToolContentInPanel(toolName, content, command);
|
||||||
|
|||||||
Reference in New Issue
Block a user