Use descriptive progress message in task stories
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
475da3027e
commit
6261a7e270
3 changed files with 7 additions and 3 deletions
|
|
@ -63,7 +63,11 @@ const cancelledTask: Task = {
|
|||
export const Working: Story = {
|
||||
args: {
|
||||
task: workingTask,
|
||||
progress: { progress: 650, total: 1000, message: "Processing records..." },
|
||||
progress: {
|
||||
progress: 650,
|
||||
total: 1000,
|
||||
message: "Processing records 650 of 1000...",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ export const Mixed: Story = {
|
|||
d0b22eba71fa36229ce5c4dfadeaa7de: {
|
||||
progress: 650,
|
||||
total: 1000,
|
||||
message: "Processing records...",
|
||||
message: "Processing records 650 of 1000...",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -581,7 +581,7 @@ export const TasksActive: Story = {
|
|||
d0b22eba71fa36229ce5c4dfadeaa7de: {
|
||||
progress: 650,
|
||||
total: 1000,
|
||||
message: "Processing records...",
|
||||
message: "Processing records 650 of 1000...",
|
||||
},
|
||||
}}
|
||||
onRefresh={fn()}
|
||||
|
|
|
|||
Loading…
Reference in a new issue