Page MenuHomePhabricator

[Cashtab] [Alias] Hyperlink the alias address preview
ClosedPublic

Authored by emack on Mar 13 2023, 11:48.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABCff9b66756476: [Cashtab] [Alias] Hyperlink the alias address preview
Summary

T2994

Turn the alias address preview into a hyperlink on both send and sendToken screens.

Test Plan
  • enable Alias in ticker.js
  • enter a valid alias in send, click on the rendered hyperlink and ensure a new window is opened containing the address via explorer
  • enter a valid alias in sendToken, click on the rendered hyperlink and ensure a new window is opened containing the address via explorer
  • ensure no regression to invalid aliases, valid ecash addresses and invalid ecash addresses

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emack requested review of this revision.Mar 13 2023, 11:48
bytesofman added inline comments.
web/cashtab/src/components/Send/Send.js
52 ↗(On Diff #38490)

Since TxLink appears in two components, it should be in its own file and imported here. Throw it in /common/Atoms.js

This revision now requires changes to proceed.Mar 13 2023, 17:12
emack marked an inline comment as done.

Moved TxLink to Atoms

This revision is now accepted and ready to land.Mar 14 2023, 03:48