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:
parent
a1c894f72f
commit
2540617271
1 changed files with 8 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue