-
-
Notifications
You must be signed in to change notification settings - Fork 589
Description
Is your feature request related to a problem? Please describe.
When performing multiple parallel tasks, it's likely that some of them may fail without stopping the entire process. It would be nice if there was a way to signal to the user that a task has failed.
Describe the solution you'd like
Currently, ProgressTask
exposes a method called StopTask()
. The least intrusive solution I see is to add an overload called StopTask(bool isError)
.
If the task is stopped with an error, we can apply some kind of ErrorStyle
, which would make the progress bar appear red. Additionally, we can make it so a failed task displays an X
in the PercentageColumn
.
Describe alternatives you've considered
I considered writing something to the console myself, but it breaks the progress reporting.
Additional context
Here's how it currently looks:
One of the tasks has failed, but its progress remains at 0 with no visual indication that it crashed. As a user, it's not clear whether it's just stuck at 0% or failed.
Please upvote 👍 this issue if you are interested in it.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status