Page MenuHomePhabricator

[web] Call `baseSetUserAvatar` from `onImageSelected`
ClosedPublic

Authored by atul on Aug 4 2023, 1:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 4:24 AM
Unknown Object (File)
Sat, Nov 9, 4:23 AM
Unknown Object (File)
Sat, Nov 9, 3:39 AM
Unknown Object (File)
Fri, Nov 1, 4:10 AM
Unknown Object (File)
Oct 6 2024, 4:47 PM
Unknown Object (File)
Oct 2 2024, 7:16 AM
Unknown Object (File)
Oct 2 2024, 7:16 AM
Unknown Object (File)
Oct 2 2024, 7:14 AM
Subscribers

Details

Summary

Once image is successfully uploaded, we make call to baseSetUserAvatar from EditUserAvatarContext.

As of this diff, users can set emoji, image, ENS avatars (and remove them). What's missing is ImageAvatarSelectionModal to handle cropping + some error handling. Those will be handled after the thread avatar work.


Depends on D8725

Test Plan

Works as expected:

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage