Page MenuHomePhabricator

[web] render user avatars in chat thread composer
ClosedPublic

Authored by ginsu on Mar 27 2023, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 5:31 AM
Unknown Object (File)
Thu, Mar 28, 7:58 AM
Unknown Object (File)
Thu, Mar 28, 7:58 AM
Unknown Object (File)
Thu, Mar 28, 7:58 AM
Unknown Object (File)
Thu, Mar 28, 7:58 AM
Unknown Object (File)
Thu, Mar 28, 7:58 AM
Unknown Object (File)
Thu, Mar 28, 7:58 AM
Unknown Object (File)
Thu, Mar 28, 7:51 AM
Subscribers

Details

Summary

render user avatas in chat thread composer

This diff won't be landed until avatars is given the green light to be released

Depends on D7205

Test Plan

Please see the screenshots to see the changes I made

Before:

Screenshot 2023-03-27 at 6.57.11 PM.png (2×3 px, 823 KB)

After:

Screenshot 2023-03-27 at 6.57.21 PM.png (2×3 px, 839 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Mar 27 2023, 4:14 PM
web/chat/chat-thread-composer.react.js
99–121 ↗(On Diff #24245)

I personally don't love seeing logic inline in JSX like this... can we move this out above line 97?

(Please address @ashoat's feedback before landing)

This revision is now accepted and ready to land.Mar 28 2023, 1:20 PM
ginsu edited the test plan for this revision. (Show Details)

replace Avatar with UserAvatar

removed inline JSX logic