HomePhabricator

[Cashtab] Improve rendering of from contact name in tx history

Description

[Cashtab] Improve rendering of from contact name in tx history

Summary:
Current .map() implementation is just bad...will give you lots of empty spaces if you have a big contact list.

Simplify this and add a test.

Throw out the overcomplicated method of determining whether or not a tx is from a known address, which allows deletion of associated function and unit tests not used anywhere else.

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Feb 20 2024, 20:28
bytesofmanPushed on Feb 21 2024, 13:02
Reviewer
Restricted Project
Differential Revision
D15498: [Cashtab] Improve rendering of from contact name in tx history
Parents
rABCfdde7b20dbba: [Cashtab] Combine app integration tests into one file
Branches
Unknown
Tags
Unknown