HomePhabricator

[Cashtab] Replace antd notifications and pop-up modals with react-toastify

Description

[Cashtab] Replace antd notifications and pop-up modals with react-toastify

Summary:
T2207

Implement a non-antd notification component for Cashtab

Went with react-toastify as

  • it looks great
  • it is well supported
  • it "just works" out of the box, with the same API as antd
  • A custom notification component actually is a pretty big job if you want it to look good. No need to reinvent the wheel.

I'm sure toastify will have things I dislike but it won't consume the entire app like antd has.

Test Plan:
npm test

This diff is deployed at https://cashtab-local-dev.netlify.app/

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Mar 23 2024, 13:22
bytesofmanPushed on Mar 24 2024, 13:42
Reviewer
Restricted Project
Differential Revision
D15769: [Cashtab] Replace antd notifications and pop-up modals with react-toastify
Parents
rABC0a5b61cb244e: [chronik-client] Add timeout failure to ws connections
Branches
Unknown
Tags
Unknown