Page MenuHomePhabricator

[native] Add search button to chat header
ClosedPublic

Authored by inka on May 10 2023, 3:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 8:52 PM
Unknown Object (File)
Sun, Dec 1, 11:39 AM
Unknown Object (File)
Fri, Nov 29, 7:30 AM
Unknown Object (File)
Fri, Nov 29, 7:05 AM
Unknown Object (File)
Fri, Nov 29, 6:15 AM
Unknown Object (File)
Wed, Nov 27, 10:05 PM
Unknown Object (File)
Nov 25 2024, 6:40 PM
Unknown Object (File)
Nov 25 2024, 4:23 PM
Subscribers

Details

Summary
Test Plan

Opened a chat, pressed on the button, checked that is navigates to the search screen

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.May 10 2023, 4:18 AM
native/chat/chat.react.js
238 ↗(On Diff #26334)

Is disabling lint here necessary?

Address review

native/chat/chat.react.js
240 ↗(On Diff #26421)

@kuba is this better?

native/chat/chat.react.js
222 ↗(On Diff #26421)

There is no reason to define a new version of this on every function invocation. Please move it outside of messageListOptions

Move headerRightStyle out

kamil added inline comments.
native/search/search-messages-button.react.js
22–28 ↗(On Diff #26507)

shouldn't we wrap this in React.useCallback?

This revision is now accepted and ready to land.May 17 2023, 3:43 AM