HomePhabricator

[Cashtab] Update SendXec with direct calls to antd notifications

Description

[Cashtab] Update SendXec with direct calls to antd notifications

Summary:
This diff deprecates sendXecNotification and updates SendXec.js to call on the antd component directly.

Notification unit test already covered under SendXec.test.js' Clicking "Send" will send a valid tx with op_return_raw after entry of a valid address and bip21 query string with valid amount and op_return_raw params to Send To field test.

Test Plan:

  • grep -r sendXecNotification src/ with no output
  • npm test
  • npm start
  • success notif: send a one to one XEC tx (no change to notification UI)
  • error notif: send a one to many XEC tx with an amount larger than balance

image.png (290×403 px, 17 KB)

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

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

Details

Provenance
emackAuthored on Feb 1 2024, 12:23
emackPushed on Feb 2 2024, 00:56
Reviewer
Restricted Project
Differential Revision
D15360: [Cashtab] Update SendXec with direct calls to antd notifications
Parents
rABC6365e967b97f: [Cashtab] Upgrade webpack
Branches
Unknown
Tags
Unknown