[Cashtab] [Alias] - Alias address preview upon valid input
Summary:
T2989
Upon input of a valid alias in send xec and send token components, the parsed address is displayed beneath the address input as a preview for the user for verification purposes.
Test Plan:
- navigate to Send, input a valid alias and ensure the address preview message is displayed This alias resolves to...
- add one extra character to invalidate the alias input and ensure the address preview is cleared and Invalid address is displayed
- remove the one extra character from above and ensure address preview is displayed again
- replace the alias input with a valid ecash address and ensure no address preview nor error is displayed
- use an invalid ecash address and ensure Invalid address is displayed
- enter a valid alias and send a normal XEC transaction. Ensure upon successful broadcast the address preview message is cleared
- repeat the above for sendToken
Reviewers: bytesofman, #bitcoin_abc
Reviewed By: bytesofman, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D13295