Use descriptive progress message in task stories

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-04-20 13:37:30 -04:00
commit 6261a7e270
3 changed files with 7 additions and 3 deletions

View file

@ -63,7 +63,11 @@ const cancelledTask: Task = {
export const Working: Story = { export const Working: Story = {
args: { args: {
task: workingTask, task: workingTask,
progress: { progress: 650, total: 1000, message: "Processing records..." }, progress: {
progress: 650,
total: 1000,
message: "Processing records 650 of 1000...",
},
}, },
}; };

View file

@ -57,7 +57,7 @@ export const Mixed: Story = {
d0b22eba71fa36229ce5c4dfadeaa7de: { d0b22eba71fa36229ce5c4dfadeaa7de: {
progress: 650, progress: 650,
total: 1000, total: 1000,
message: "Processing records...", message: "Processing records 650 of 1000...",
}, },
}, },
}, },

View file

@ -581,7 +581,7 @@ export const TasksActive: Story = {
d0b22eba71fa36229ce5c4dfadeaa7de: { d0b22eba71fa36229ce5c4dfadeaa7de: {
progress: 650, progress: 650,
total: 1000, total: 1000,
message: "Processing records...", message: "Processing records 650 of 1000...",
}, },
}} }}
onRefresh={fn()} onRefresh={fn()}