Open kostko opened 1 year ago
After talking with @lukaw3d we thought we could agree on updating the iconography by adding (and switching) the status icons.
So we’d have the success state (we’d invert the colours for the icons), and we’d add the partial success pill (which uses the current success colour scheme). Each would have its dedicated hover. @lukaw3d, during our chat you had a better text for the partial success hover, but I can’t recall it.
@donouwens with current API we can not tell if "but the deposit failed" (an event in the next block). If we could tell then I would argue for red color schema.
more accurate message example:
I think a "question mark" would be more appropriate in this case. So here the first step will almost always succeed, so as the message (which should be revamped) says the second step's result is actually the important one. Once nexus is able to determine the outcome, we should show this as failed (e.g. red/yellow/orange) or show everything together and say that the operation failed or similar.
Thank you for the feedback @kostko and @lukaw3d
It makes total sense what you are saying. My only concern is that we’d be reusing the question (if in grey) which would lead to us using the same component to communicate two different messages. The user would not be able to see a distinction between them until they trigger the hover. Therefore, I’d like to propose using an orange (warning-like) question mark in this case.
For the hover, we could perhaps say: “The first step of the deposit was successful, but the second step is unknown.”
Any thoughts?
I think this looks ok. For the message it would be great if we could say (for deposits): "Deposit has started, final result will be known in the next block." or similar. Then instead of "Partial success" it could also say "Started" or similar.
Is there an existing issue for this?
SUMMARY
When a consensus deposit fails, the explorer does not indicate that.
STEPS TO REPRODUCE
oasis account deposit 10000
.EXPECTED BEHAVIOR
Some indication that the deposit itself failed even though the transaction succeeded.