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
[UI] Chat workflow better error handling #12406
Conversation
Review comments from the other PR:
|
All resolved. |
Fixed. (Note: the way the canceltoken is passed through should be really simplified, but didn't want to start a refactoring in this PR) |
WalletWasabi.Fluent/ViewModels/Wallets/Buy/Workflows/Workflow.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cACK. Did not test it and I won't have time until Monday. Can someone else?
WalletWasabi.Fluent/ViewModels/Wallets/Buy/Workflows/Workflow.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/Wallets/Buy/Workflows/Workflow.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, did not get the chance to test it yet. If you are sure you can merge.
Waiting for review and test from a @zkSNACKs/ui-team member. |
tACK. Code is also OK, except for this, which I would resolve by deriving from I think we can merge this PR and make this specific change later on. |
I put a dummy exception into |
That is exactly what we need. It keeps trying to execute the step without bothering the user with any error (meanwhile the chat window is busy).
It's working, even if the dialog is closed it should still try to execute the step. The cancel token is only called when the order is deleted, or reset. In those cases, the step will be aborted. |
Unusual, but let it be like that. It works and we do not have more time before the release. P.S. |
This PR fixes it #12433 |
Fixes #12403
Fixes #12156
Relevant commit from #12391. It got merged when the original PR was merged.