Page MenuHomePhabricator

[native] Fix pending state in ExistingEthereumAccount for identity auth
ClosedPublic

Authored by ashoat on Apr 26 2024, 11:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 1:14 PM
Unknown Object (File)
Tue, Nov 12, 1:07 PM
Unknown Object (File)
Tue, Nov 12, 10:54 AM
Unknown Object (File)
Tue, Nov 12, 8:29 AM
Unknown Object (File)
Oct 11 2024, 7:13 AM
Unknown Object (File)
Oct 11 2024, 7:13 AM
Unknown Object (File)
Oct 11 2024, 7:13 AM
Unknown Object (File)
Oct 11 2024, 7:13 AM
Subscribers

Details

Summary

Noticed while working on the stack ending in D11806 that the pending state here is only handled for the legacy auth.

Changed it here and did some corresponding reworking of the logic.

Depends on D11806

Test Plan

Careful reading of the code

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka added inline comments.
native/account/registration/existing-ethereum-account.react.js
39–41

The RegistrationButton button is disabled when variant === 'disabled' || variant === 'loading', so this is not needed, but I suppose it's safer

This revision is now accepted and ready to land.Apr 30 2024, 8:51 AM