HomePhabricator

[Cashtab] Add OrderBook (with no icon) to token info page

Description

[Cashtab] Add OrderBook (with no icon) to token info page

Summary:
Add OrderBook component to Token info page. Render it below the summary table and without an icon, as there is no icon.

Add conditional rendering to OrderBook so it can handle the case of no active offers.

Add dedicated component testing for OrderBook to confirm its behavior.

Test Plan:
npm test

this diff is live at https://cashtab-local-dev.netlify.app/

image.png (545×468 px, 73 KB)

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Nov 2 2024, 23:18
bytesofmanPushed on Nov 3 2024, 12:58
Reviewer
Restricted Project
Differential Revision
D17064: [Cashtab] Add OrderBook (with no icon) to token info page
Parents
rABC5bdba03f6cbc: [ecash-herald] Implement typescript
Branches
Unknown
Tags
Unknown