HomePhabricator

[Cashtab Extension] Close open pop-ups before opening a new one

Description

[Cashtab Extension] Close open pop-ups before opening a new one

Summary:
Depends on D14692

T3312

Before opening an extension pop-up window, close any existing extension popup windows

This prevents a user issue experienced now that PayButton is live, where a user may wish to complete multiple transactions, and end up with multiple identical small windows open.

Test Plan:
npm run extension
load unpacked extension into brave or chrome
visit components.cashtab.com
Click on different Cashtab Badge buttons and observe that you do not have more than one popup open at any given time

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Oct 26 2023, 22:34
bytesofmanPushed on Oct 30 2023, 16:54
Reviewer
Restricted Project
Differential Revision
D14696: [Cashtab Extension] Close open pop-ups before opening a new one
Parents
rABCf3e86163c920: [Cashtab Extension] Migrate to v3 manifest
Branches
Unknown
Tags
Unknown