Page MenuHomePhabricator

[native] Don't show loading spinner during avatar server call in registration screen
AbandonedPublic

Authored by ashoat on Jun 8 2023, 6:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 1:36 AM
Unknown Object (File)
Thu, Dec 5, 1:36 AM
Unknown Object (File)
Nov 5 2024, 9:14 AM
Unknown Object (File)
Nov 5 2024, 9:14 AM
Unknown Object (File)
Oct 27 2024, 2:48 AM
Unknown Object (File)
Oct 14 2024, 10:48 PM
Unknown Object (File)
Oct 2 2024, 6:33 AM
Unknown Object (File)
Oct 2 2024, 6:28 AM
Subscribers

Details

Reviewers
atul
ginsu
Summary

We already have a loading spinner on the button, and it feels unexpected for the avatar spinner to randomly appear some time after the user presses the button (after the registration server call concludes and the avatar one starts).

Depends on D8150

Test Plan

The whole stack was tested as follows:

  1. Try creating an account with the default avatar
  2. Try creating an account with an emoji avatar
  3. Try creating an account with an image avatar (that needs to be uploaded)
  4. Try creating an Ethereum account with an ENS avatar

I made sure of the following:

  1. Loading spinner appeared on the button, not on the avatar, and was present throughout
  2. After the RegistrationNavigator is dismissed, the avatar that appears for the user's PRIVATE chat in the ChatThreadList is correct
  3. Subsequent delete-account-and-then-register-again worked correctly
  4. Various error cases are triggered correctly

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage