Skip to content
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

Create pending tx component #418

Open
okwme opened this issue Nov 22, 2019 · 0 comments
Open

Create pending tx component #418

okwme opened this issue Nov 22, 2019 · 0 comments
Assignees

Comments

@okwme
Copy link
Member

okwme commented Nov 22, 2019

This component can store all created transactions as hashes in local storage. These transactions can be queried for their status and showin in a popin panel where they're at. Even if the user refreshed the page they'd know what the status of their different transactions were. This would be great because when you submit a claim it just site there, so now you can navigate away. We could also attach the resulting behavior to the tx component instead of the instance event. This would help to handle user action flow if they've navigated away from the view but you still want to add an action more than a notification. It would also make it possible to give them a notification even if they'd refreshed the page, restarted the tx with more gas from their wallet.

  • add peding txs to store
  • add pending tx store to local storage
  • add query to check staus
  • add compoentn to list transactions and list status and remove tx from watch
  • add action to be executed upon success and upon

maybe instead of local storage they're actually kept by the user profile on the database
we could keep a record of dapp related actions from the user that way if they wanted to review them....

@evvvritt evvvritt self-assigned this Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants