issues
search
onflow
/
kitty-items
Kitty Items: CryptoKitties Sample App
https://kitty-items.onflow.org
Apache License 2.0
409
stars
214
forks
source link
Transaction progress indicator
#229
Closed
alse
closed
2 years ago
alse
commented
2 years ago
Add global transactions indicator
https://github.com/onflow/kitty-items/issues/178
https://github.com/onflow/kitty-items/issues/223
Subscribe to new transactions with fcl
Save pending transactions to localState
On page load, subscribe to any saved transactions from localState
The last transaction to change state will flash the indicator green/red for 5 seconds
Indicator remains green/red after all transactions are completed
Indicator goes away and complete transactions are cleared after 10 seconds, unless the popup is open
localState is cleared on log out or signed in user mismatch
Remove transaction flash messages
https://github.com/onflow/kitty-items/issues/224
Link to accounts on Flowscan
https://github.com/onflow/kitty-items/issues/222
Update listing/delisting/purchasing to use the global transactions for tx status and success callbacks
Poll api for for successful listing creation/removal