Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@
<div class="tool-empty-row">{viewModel.output.emptyLabel}</div>
{/if}

<!-- A success row only echoes the green check already in the card header, so
the footer status shows only when it adds something (failed, cancelled,
still running). -->
{#if includeStatus && viewModel.statusTone !== 'success'}
<!-- Success and in-progress rows only echo the check and clock icons already
in the card header, so the footer status shows only when it adds something
(failed, cancelled, pending). -->
{#if includeStatus && ['danger', 'cancelled', 'muted'].includes(viewModel.statusTone)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve accessible in-progress status

When an in-progress tool already has output, this allow-list removes the only textual In progress status from the expanded details. I checked the header path (ToolCallHeader.svelte passes only statusTone, and ToolStatusDot.svelte renders an unlabeled icon), so the clock remains only a visual cue and screen-reader users no longer get the running state after opening the details; if the footer is hidden, expose statusLabel in the header/dot instead.

Useful? React with 👍 / 👎.

<div
class="tool-code-status"
class:status-danger={viewModel.statusTone === 'danger'}
Expand Down