HomePhabricator

[Cashtab] [extension address passing p5] Add detection of Cashtab installation…

Description

[Cashtab] [extension address passing p5] Add detection of Cashtab installation to GetAddress.tsx

Summary:
T2550

Depends on D12317

GetAddress component detects if user has Cashtab installed or not. If not, button becomes a link to install Cashtab.

Test Plan:

cd web/cashtab-components
npm run storybook

The GetAddress component still displays as a button
Navigate to brave://extensions and disable your Cashtab extension(s)
Refresh the storybook
The GetAddress component button now says "Install Cashtab and refresh"

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Oct 19 2022, 17:49
bytesofmanPushed on Oct 27 2022, 17:10
Reviewer
Restricted Project
Differential Revision
D12318: [Cashtab] [extension address passing p5] Add detection of Cashtab installation to GetAddress.tsx
Parents
rABCc57341f4194d: [Cashtab] [extension address passing p4] Create GetAddress.tsx stub with stories
Branches
Unknown
Tags
Unknown