-
Notifications
You must be signed in to change notification settings - Fork 277
Sam/send scene errors #5841
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
Sam/send scene errors #5841
Conversation
| if (beforeTransaction != null) await beforeTransaction() | ||
| } catch (e: unknown) { | ||
| console.error( | ||
| 'Error from before transaction route param hook: ', |
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.
Why are we not surfacing this error to the UI?
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.
Because it fails gracefully. This was the behavior. I have no idea why.
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.
Please add a comment
|
For visual changes, be sure to include a screenshot in the PR and mark which platforms were tested |
We can do this safely because unknown errors from makeSpend will result in `edgeTransaction == null`. This will allow for the slide to be enabled on errors/unknown-errors which can occur but may be intermittent.
2c653b7 to
2e64e3d
Compare
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have:
Note
Replaces SendScene2 error UI with ErrorCard and upgrades error handling (I18nError, specific cases, timeout), tweaks SafeSlider scheduling, and updates snapshots/CHANGELOG.
ErrorTilewithErrorCard; move error display outside the main card stack.unknown+I18nError; add targeted messaging (Algo recipient not activated, EOS CPU/NET/RAM, HTTP 504, insufficient funds with network context).I18nError; add logging aroundbeforeTransaction.runOnJSforscheduleOnRN; set completion state before callback.SendScene2snapshots to reflect layout/animation/icon changes and new error rendering.ErrorCardinSendScene2.Written by Cursor Bugbot for commit 2e64e3d. This will update automatically on new commits. Configure here.