-
Notifications
You must be signed in to change notification settings - Fork 90
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
Frontend send success #3118
base: master
Are you sure you want to change the base?
Frontend send success #3118
Conversation
The backend either returns success true or false plus aborted, or false with errorMessage and optional errorCode.
The view component already has a success icon, this adds a
Only render sendResult if available and do not cover.
Adds done and continue buttons to send result view instead of showing the success/error for 5 seconds.
So it can be called after send result
So it can be reused in send or sendresult.
ba5ec85
to
d1e7d07
Compare
- show errors in send result view instead of popups - add edit transaction if there was an error - add new transaction on success - add buy ETH if there was gasfeetoolow error
d1e7d07
to
8fb23cc
Compare
@@ -494,7 +500,6 @@ class Send extends Component<Props, State> { | |||
coinCode={account.coinCode} | |||
transactionDetails={waitDialogTransactionDetails} | |||
/> | |||
<SendResult result={sendResult} /> |
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.
I am not sure if we should do this commit, it changes the behavior as it prevents the other components from being rendered, especially FeeTargets or CoinContorl UTXOs component.
This could lead to problems when there was an error and the user goes back, the selected UTXO's in the subcomponent might not be selected anymore
I think it is cleaner this way, but it is not requierd.. need to do more testing.
</span> | ||
</p> | ||
{(proposedAmount && proposedAmount.conversions && proposedAmount.conversions[activeCurrency]) ? ( | ||
<FiatValue baseCurrencyUnit={activeCurrency} amount={proposedAmount.conversions[activeCurrency] || ''} /> |
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.
this should probably have an estimation sign unless it is a coin/token
No description provided.