Show progress bar on compact view for active tasks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-03-30 09:59:09 -04:00
commit 2540617271

View file

@ -198,20 +198,23 @@ export function TaskCard(props: TaskCardProps) {
</SubtleButton>
</SummaryRow>
{progress !== undefined && isActive && (
<ProgressDisplay
progress={progress}
description={progressDescription}
/>
)}
{isExpanded && (
<Collapse in={isExpanded}>
<Stack gap="sm">
{progressDescription && (
{progressDescription && !isActive && (
<Stack gap={2}>
<DetailLabel>Status Message</DetailLabel>
<StatusMessageText>{progressDescription}</StatusMessageText>
</Stack>
)}
{progress !== undefined && (
<ProgressDisplay progress={progress} />
)}
{error && (
<Stack gap={2}>
<DetailLabel>Error</DetailLabel>