status-im / ens-usernames

DApp to register usernames for Status Network
MIT License
19 stars 11 forks source link

"Name is unavailable" on free ENS name screen when closing 'Send transaction' #10

Open Serhy opened 6 years ago

Serhy commented 6 years ago

User search for a valid free ENS name, then taps "Register with transaction" but then closes the 'Send transaction' wallet screen. In that case user sees 'Name is unavailable' screen. Also, it's visible for a very short time after "Register with transaction" that 'Nice! The name is yours.... screen already has ready to be shown.

We need to keep the screen with 'Register with transaction' button until user successfully signs a transaction. To reproduce:

1) Navigate to ENS Dapp 2) Search for valid unregistered username (e.g. ensguru) 3) Tap 'Register with transaction' button 4) On the opened 'Send transaction' screen tap cross icon at top-left (or 'Back' Android device button) Actual result: ensguru.stateofus.eth Name is unavailable screen displayed

screen shot 2018-09-12 at 18 17 16

Expected result: Register with transaction screen displayed

screen shot 2018-09-12 at 18 17 25
rachelhamlin commented 5 years ago

When I close out of a registration transaction, I get a blank screen and am stuck:

image