Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error status for progress tasks #1475

Open
MrSmoke opened this issue Feb 22, 2024 · 0 comments
Open

Error status for progress tasks #1475

MrSmoke opened this issue Feb 22, 2024 · 0 comments

Comments

@MrSmoke
Copy link

MrSmoke commented Feb 22, 2024

Is your feature request related to a problem? Please describe.
I currently am trying to progress items but sometimes they will fail and it would be good to be able to reflect those failures in the progress widget.

Describe the solution you'd like
To be able to mark a ProgressTask as errored/failed. This should also update the styling of the ProgressBarColumn to reflect the error (red?), update PercentageColumn to something like Error and also clear the RemainingTimeColumn

Describe alternatives you've considered
I tried setting the ProgressTask.Value to -1 and handle it via custom implementations of ProgressBarColumn, PercentageColumn, RemainingTimeColumn and SpinnerColumn however they are all sealed. ProgressBar is also internal so it would all require copied those classes fully.


Please upvote 👍 this issue if you are interested in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo 🕑
Development

No branches or pull requests

1 participant