HomePhabricator

[Cashtab] Added received from address to txHistory display

Description

[Cashtab] Added received from address to txHistory display

Summary: Related to T2407. Received txs now display either the 1) Name if it is present or 2) the first five characters of the sender's address (minus the prefix).

Test Plan:
cd web/cashtab && npm start
from the Tx History tab:
observe that all received Txs now show "From: [someone]" inline with the Received h3.
if no current Txs are from contacts, add one of the tx senders to your contacts,
from the Settings tab:
give tx sender's wallet a nickname and navigate back to tx history (may require hard refresh)
observe that the nickname now shows instead of the 5 digits from the replyAddress
from the settings tab:
delete a named contact and navigate back to TxHistory (may require hard refresh)
observe that the removed wallet now shows as the 5 character abbreviation

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11518

Details

Provenance
kieran709Authored on May 24 2022, 14:03
kieran709Pushed on Jun 10 2022, 00:48
Reviewer
Restricted Project
Differential Revision
D11518: [Cashtab] Added received from address to txHistory display
Parents
rABCc1c03fea26a8: Bump version to 0.25.8
Branches
Unknown
Tags
Unknown