Page MenuHomePhabricator

[native] render thread avatar in CHANNEL AVATAR thread settings section
ClosedPublic

Authored by ginsu on Mar 21 2023, 10:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 4:05 PM
Unknown Object (File)
Fri, Nov 8, 6:52 PM
Unknown Object (File)
Fri, Nov 8, 6:49 PM
Unknown Object (File)
Fri, Nov 8, 3:24 PM
Unknown Object (File)
Fri, Nov 8, 3:23 PM
Unknown Object (File)
Fri, Nov 8, 9:20 AM
Unknown Object (File)
Fri, Nov 8, 3:14 AM
Unknown Object (File)
Fri, Nov 8, 1:43 AM
Subscribers

Details

Summary

Introduce CHANNEL AVATAR section in thread settings and render thread avatar in this new section


Depends on D7134

Test Plan

Please take a look at the screenshots to see the changes I made:

staff user:

Screenshot 2023-03-22 at 3.34.29 AM.png (1×1 px, 816 KB)

non staff user:

Screenshot 2023-03-22 at 3.34.54 AM.png (1×1 px, 611 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu edited the test plan for this revision. (Show Details)

update prop types for thread settings avatar

ashoat added inline comments.
native/chat/settings/thread-settings-avatar.react.js
19

You could skip this memo and even improve performance slightly by just wrapping the whole component in React.memo

This revision is now accepted and ready to land.Mar 22 2023, 12:29 PM

address feedback