[web] introduce avatar component
Summary:
Introduced Avatar for web. Right now the component only handles emoji and image avatars but in a follow up diff when I can better test ENS avatars I will extend the component to support ens as well
I didn't include the avatars feature flag for the web avatars rendering work because as of now the feature flag service tomek built is only available on native, and I figured since we are close to having avatars released and this avatar component considers both emoji and images, building an extra feature flag service for the web avatars would have not been a good use of time. However, if we disagree with my sentiment, I can add the feature flag to web as well. With all this said though, I won't land the rendering work in subsequent diffs until avatars is good to go
Test Plan:
Please see the screenshots to see the avatars rendered on the web client:
Emoji Avatars:
micro, small, and large:
profile:
Image Avatars:
micro, small, and large:
profile:
Reviewers: ashoat, atul
Reviewed By: atul
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D7192