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
F3408668: D8043.diff
Wed, Dec 4, 12:22 PM
Unknown Object (File)
Sun, Nov 10, 1:59 PM
Unknown Object (File)
Oct 27 2024, 8:19 AM
Unknown Object (File)
Oct 22 2024, 2:57 PM
Unknown Object (File)
Oct 15 2024, 4:44 PM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 28 2024, 4:06 PM
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