HomePhabricator

[Cashtab][Alias] Check Alias function

Description

[Cashtab][Alias] Check Alias function

Summary:
Simplified and more efficient version of D14666 where a Check Alias button is added which leverages the existing registration input field and validation logic.
Results from the check are rendered via UI notifications.

Clicking Check Alias on an alias with pending registrations

image.png (387×599 px, 90 KB)

Clicking Check Alias on an alias with no pending registrations

image.png (408×599 px, 94 KB)

When an invalid alias is entered, the Check Alias button is also disabled

image.png (398×547 px, 40 KB)

Test Plan:
npm test
npm start
Check on a registered, unregistered and pending alias and observe the UI notifications on their status
Input an invalid alias and ensure the Check Alias button is disabled

Reviewers: bytesofman, Fabien, #bitcoin_abc

Reviewed By: bytesofman, Fabien, #bitcoin_abc

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

Details

Provenance
emackAuthored on Oct 31 2023, 13:49
emackPushed on Nov 3 2023, 14:55
Reviewer
Restricted Project
Differential Revision
D14713: [Cashtab][Alias] Check Alias function
Parents
rABCf3f146792991: refactor: replace RecursiveMutex m_cs_callbacks_pending with Mutex (and rename)
Branches
Unknown
Tags
Unknown