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)
Sat, Dec 7, 8:19 PM
Unknown Object (File)
Sat, Dec 7, 8:19 PM
Unknown Object (File)
Nov 8 2024, 9:53 AM
Unknown Object (File)
Nov 8 2024, 3:33 AM
Unknown Object (File)
Nov 5 2024, 2:17 AM
Unknown Object (File)
Oct 27 2024, 1:29 AM
Unknown Object (File)
Oct 27 2024, 1:29 AM
Unknown Object (File)
Oct 27 2024, 1:29 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