Thread progressByTaskId through TaskListPanel and TasksScreen

Progress notifications arrive separately from the Task object, so the
parent provides a map of progress data keyed by taskId. TaskListPanel
and TasksScreen accept an optional progressByTaskId prop and pass the
matching entry to each TaskCard.

Updated Mixed story and ConnectedView TasksActive story to demonstrate
the progress bar on the active "working" task.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-04-20 11:07:43 -04:00
commit f9f239c8c7

View file

@ -577,6 +577,13 @@ export const TasksActive: Story = {
statusMessage: "Timeout waiting for tool response after 30s",
},
]}
progressByTaskId={{
d0b22eba71fa36229ce5c4dfadeaa7de: {
progress: 650,
total: 1000,
message: "Processing records...",
},
}}
onRefresh={fn()}
onClearCompleted={fn()}
onCancel={fn()}