Page MenuHomePhabricator

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

Authored by atul on Aug 4 2023, 1:22 AM.
Tags
None
Referenced Files
F3195987: D8726.id29557.diff
Sat, Nov 9, 4:24 AM
F3195985: D8726.id29530.diff
Sat, Nov 9, 4:23 AM
F3195649: D8726.diff
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable