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)
Thu, May 2, 3:07 AM
Unknown Object (File)
Sun, Apr 28, 7:30 PM
Unknown Object (File)
Sat, Apr 27, 11:54 PM
Unknown Object (File)
Sat, Apr 27, 11:53 PM
Unknown Object (File)
Sat, Apr 27, 11:53 PM
Unknown Object (File)
Sat, Apr 27, 11:53 PM
Unknown Object (File)
Sat, Apr 27, 11:53 PM
Unknown Object (File)
Sat, Apr 27, 11:50 PM
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
No Lint Coverage
Unit
No Test Coverage

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