Page MenuHomePhabricator

[e.cash] Open Cashtab in a new tab when user clicks Create Wallet
ClosedPublic

Authored by bytesofman on Aug 5 2024, 19:04.

Details

Summary

We should open Cashtab in a new tab and keep the landing page open when the user clicks "create wallet".

Add a new prop openInNewTab to the custom Button component so that Buttons may open links in a new tab. Implement for the "Create Wallet" button on the landing page above the fold.

Test Plan

Preview, click "Create Wallet", confirm Cashtab opens in a new tab

Confirm the "get eCash" button navigates without opening a new tab (previous behavior)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
landing-btn-newtab
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29865
Build 59265: Build Diff
Build 59264: arc lint + arc unit