Page MenuHomePhabricator

[native] Introduce new EmojiAvatarSelection screen for registration flow
ClosedPublic

Authored by ashoat on May 31 2023, 1:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 1:46 AM
Unknown Object (File)
Thu, Apr 4, 9:10 PM
Unknown Object (File)
Thu, Apr 4, 9:10 PM
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:01 PM
Unknown Object (File)
Mar 4 2024, 10:41 PM
Unknown Object (File)
Feb 11 2024, 1:03 AM
Unknown Object (File)
Feb 11 2024, 12:22 AM
Subscribers

Details

Summary

For emoji avatar selection, our current pattern in the native app is to show another screen that handles this.

This diff continues that pattern, but introduces a new screen for the registration flow. Luckily we already have the scaffolding for this, as we needed separate screens for EmojiThreadAvatarCreation and EmojiUserAvatarCreation already.

Depends on D8042

Test Plan

This was tested in combination with the rest of the stack. I tested:

  1. ENS flow, both when user has an ENS avatar and when they don't
  2. Setting an emoji avatar
  3. Setting an image avatar via camera
  4. Setting an image avatar via media library
  5. Tested avatar update flow after being logged in to make sure I didn't regress anything

To see the UI in action, check out the video in D8049!

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/account/registration/emoji-avatar-selection.react.js
25 ↗(On Diff #27321)

This screen isn't actually used until D8047. I usually try to include callsites / usages in the same diff, but in this case I think it's more readable to separate it out

This revision is now accepted and ready to land.Jun 1 2023, 11:21 AM