Page MenuHomePhabricator

[native] make user profile accessible from ThreadSettingsMember
ClosedPublic

Authored by ginsu on Oct 6 2023, 4:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 7, 6:32 AM
Unknown Object (File)
Tue, Jan 7, 6:32 AM
Unknown Object (File)
Tue, Jan 7, 6:32 AM
Unknown Object (File)
Tue, Jan 7, 6:31 AM
Unknown Object (File)
Tue, Jan 7, 6:29 AM
Unknown Object (File)
Sun, Jan 5, 4:41 PM
Unknown Object (File)
Sun, Jan 5, 1:53 PM
Unknown Object (File)
Wed, Dec 11, 3:11 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 ↗(On Diff #31735)

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 ↗(On Diff #31735)

Is this component not already memoized on line 256?

native/chat/settings/thread-settings-member.react.js
284–294 ↗(On Diff #31735)

Ah yeah true