-
Notifications
You must be signed in to change notification settings - Fork 445
Fix #6606: added UI to handle tx different statuses #6960
Conversation
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.
A couple initial comments
Sources/BraveWallet/Crypto/Transaction Confirmations/PendingTransactionView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/PendingTransactionView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/PendingTransactionView.swift
Outdated
Show resolved
Hide resolved
3f68f77
to
29dc327
Compare
There's a bug if you have a pending request that is lower priority than Simulator.Screen.Recording.-.iPad.Pro.11-inch.3rd.generation.-.2023-02-21.at.09.51.52.mp4STR:
We may need a special check when |
Some state issues if the transaction modal is dismissed when showing the transaction status with the latest changes, previous commit it would re-open and show the error state... In earlier testing of this PR would show the transaction status as it was previously shown 🤔. Simulator.Screen.Recording.-.iPad.Pro.11-inch.3rd.generation.-.2023-02-21.at.13.08.21.mp4 |
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/StaticTextView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionConfirmationView.swift
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, nice work on getting through bugs with the changes here 🎉
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
Sources/BraveWallet/Crypto/Transaction Confirmations/TransactionStatusView.swift
Outdated
Show resolved
Hide resolved
…on is being submitted to network
…ity request canceled/confirmed. make tx status view overlay on tx confirmation view.
8d59b95
to
6d1a4dc
Compare
Summary of Changes
For each transaction user clicks confirm in the transaction confirmation screen, it will always have UI to handle the changing of the states. It includes when tx is in loading/submitting, tx has been submitted or signed, tx has been confirmed/completed.
This pull request fixes #6606 #6861
Submitter Checklist:
NSLocalizableString()
Test Plan:
Test regular transaction status changes:
0
. save itTest signed transaction:
Signed
Signed
transaction should beConfirmed
after a whileScreenshots:
Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-02-15.at.23.58.11.mp4
Reviewer Checklist:
QA/(Yes|No)
bug
/enhancement