Closed virgile-dev closed 6 years ago
Transaction status:
This was actually already implemented in #54. The UI still doesn't show the transaction progress. I'm not sure how to make that work @AlexJupiter @LucasIsasmendi
@AlexJupiter @LucasIsasmendi should we leave the "transaction in progress" to be implemented in this issue?
@aecc, I believe so yes. It isn't recorded in any other ticket.
ok, I leave this to you guys because I have no idea how to do it. The ideal scenario would be that the modal is not blocking, and that after clicking "submit", the progress is in the background (meanwhile you can browse) and some kind of notification is obtained when the transaction is done (remember we are talking about minutes in the main net) I wonder, is this how we envisioned it in the UX design initially? is this part of the scope of dapp 0.2 ? Or should we do a "blocking" modal for this iteration? I lean more towards the last option.
Closing this issue, to celebrate that this task has been done, and then going to open a new issue just related to the transaction statuses.
Related issue: https://github.com/DemocracyEarth/dapp/issues/90
When user selects chooses an option (
yes
orno
) and then clicks on thevote
button it triggers a metamask transaction. Vote function parameters are vote(aremsg.sender, ballotId, voteOption)