Page MenuHomePhabricator

[native] make user profile accessible from ThreadSettingsMember
ClosedPublic

Authored by ginsu on Oct 6 2023, 4:07 AM.
Tags
None
Referenced Files
F3884776: D9388.id31893.diff
Fri, Jan 24, 12:11 AM
F3873625: D9388.diff
Thu, Jan 23, 9:12 AM
Unknown Object (File)
Mon, Jan 20, 7:04 AM
Unknown Object (File)
Mon, Jan 20, 7:04 AM
Unknown Object (File)
Mon, Jan 20, 7:04 AM
Unknown Object (File)
Sat, Jan 11, 5:42 PM
Unknown Object (File)
Thu, Jan 9, 3:14 AM
Unknown Object (File)
Tue, Jan 7, 6:32 AM
Subscribers

Details

Summary

This diff makes ThreadSettingsMember into a touchable that will navigate to the user profile whenever onPress is triggered

Depends on D9387

Test Plan

Please see the demo video below

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu added reviewers: atul, inka.
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Oct 6 2023, 4:24 AM
atul added inline comments.
native/chat/settings/thread-settings-member.react.js
284–294

Wouldn't hurt to memoize this?

This revision is now accepted and ready to land.Oct 9 2023, 12:49 PM
native/chat/settings/thread-settings-member.react.js
284–294

Is this component not already memoized on line 256?

native/chat/settings/thread-settings-member.react.js
284–294

Ah yeah true