Show exact amounts and address titles in transaction detail
All checks were successful
check / check (push) Successful in 5s
All checks were successful
check / check (push) Successful in 5s
- Display full-precision amount (no 4-decimal truncation) in the transaction detail view, with native quantity (wei/base units) below - Both amount and native quantity are click-copyable - Show wallet/address title above from/to when the address is ours - Update README Display Consistency to document the exception
This commit is contained in:
20
README.md
20
README.md
@@ -118,12 +118,20 @@ click it.
|
||||
#### Display Consistency
|
||||
|
||||
The same data must be formatted identically everywhere it appears. Token and ETH
|
||||
amounts are always displayed with exactly 4 decimal places (e.g. "1.0500 ETH",
|
||||
"17.1900 USDT") — in balance lists, transaction lists, transaction details, send
|
||||
confirmations, and any other context. Timestamps include both an ISO datetime
|
||||
and a humanized relative age wherever shown. If a formatting rule applies in one
|
||||
place, it applies in every place. Users should never see the same value rendered
|
||||
differently on two screens.
|
||||
amounts are displayed with exactly 4 decimal places (e.g. "1.0500 ETH", "17.1900
|
||||
USDT") in balance lists, transaction lists, send confirmations, and approval
|
||||
screens. Timestamps include both an ISO datetime and a humanized relative age
|
||||
wherever shown. If a formatting rule applies in one place, it applies in every
|
||||
place. Users should never see the same value rendered differently on two
|
||||
screens.
|
||||
|
||||
**Exception — Transaction Detail view:** The transaction detail screen is the
|
||||
authoritative record of a specific transaction and shows the exact, untruncated
|
||||
amount with all meaningful decimal places (e.g. "0.00498824598498216 ETH"). It
|
||||
also shows the native quantity (e.g. "4988245984982160 wei") below it. Both are
|
||||
click-copyable. Truncating to 4 decimals in summary views is acceptable for
|
||||
scannability, but the detail view must never discard precision — it is the one
|
||||
place the user goes to verify exact figures.
|
||||
|
||||
#### Language & Labeling
|
||||
|
||||
|
||||
Reference in New Issue
Block a user