Page MenuHomePhabricator

[Cashtab] Show token info on Send Token screen
ClosedPublic

Authored by bytesofman on May 10 2021, 22:19.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC61c70bb129ac: [Cashtab] Show token info on Send Token screen
Summary

Fetch additional token info from API when the user navigates to the Send Token screen.

If the API call fails, render the token info already saved in wallet state. The info panel is only rendered if the API call returns a validated object. Unit tests are added for validation.

Test Plan

npm start, go to the send token screen, check out the stats

Diff Detail

Repository
rABC Bitcoin ABC
Branch
show-token-info
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15677
Build 31258: Build Diffcashtab-tests
Build 31257: arc lint + arc unit