Prevent blank tool calls when output is multi-line (vibe-kanban) (#1077)

* Done! The Oracle tool will now display "Oracle" next to its icon instead of rendering blank. All tool calls now consistently show: icon + tool name + optional inline summary.

* Done! Removed the colon separator to fix the i18n CI error. The Oracle tool will now display cleanly as "Oracle [summary]" with the existing gap spacing providing visual separation.

* Done! Now it shows either the inline summary (if available) or the tool name, not both. Oracle will display "Oracle" when there's no summary.

* tsc
This commit is contained in:
Louis Knight-Webb
2025-10-23 14:56:31 +01:00
committed by GitHub
parent fdb75dc7f4
commit 1ae94a9ef8

View File

@@ -497,16 +497,12 @@ const ToolCallCard: React.FC<{
<div className="inline-block w-full flex flex-col gap-4">
<HeaderWrapper {...headerProps} className={headerClassName}>
<span className=" min-w-0 flex items-center gap-1.5">
{entryType ? (
<span>
{getStatusIndicator(entryType)}
{getEntryIcon(entryType)}
</span>
) : (
<span className="font-normal flex">{label}</span>
)}
{showInlineSummary && (
{entryType && getStatusIndicator(entryType)}
{entryType && getEntryIcon(entryType)}
{showInlineSummary ? (
<span className="font-light">{inlineText}</span>
) : (
<span className="font-normal">{label}</span>
)}
</span>
</HeaderWrapper>