near-explorer icon indicating copy to clipboard operation
near-explorer copied to clipboard

Make the transaction descriptions easier to reason about

Open frol opened this issue 3 years ago • 0 comments

when a transaction is failed, change the icon to a big fat X regardless of what type of transaction there is. It's really hard to tell at a glance if a tx failed so it's easy to tell yourself it succeeded since the verbal phrasing of the tx is eg "transferred XN to foo.near.org", which implies success, even though the faint word "failed" is written off to the right. It should be much more clear in the verbiage and the icon that it failed so people can more easily debug.

Originally posted by @eriktrautman in https://github.com/near/near-explorer/discussions/467#discussioncomment-123211

NOTE: We should have 4 statuses a given transaction can be in: “in progress”, “failed” (all the execution outcomes failed), “partially succeeded” (some of the execution outcomes failed), “succeeded” (all the execution outcomes succeed). We should reflect these statuses with an icon and appropriate text description instead of the separate status label on the right

While we improve on this, we should also improve the navigation as we received a feedback that it was unclear how to navigate to the transaction details page (people expect to click on the row instead of the specific transaction hash on the right)

frol avatar Nov 06 '20 18:11 frol