Page MenuHomePhabricator

[native] Move navigation related callbacks in ChatInputBar to function component
ClosedPublic

Authored by angelika on Fri, Nov 22, 4:39 AM.
Tags
None
Referenced Files
F3400431: D14013.id46117.diff
Mon, Dec 2, 7:18 AM
F3398167: D14013.id46030.diff
Sun, Dec 1, 9:27 PM
F3396027: D14013.id.diff
Sun, Dec 1, 9:56 AM
Unknown Object (File)
Sun, Dec 1, 6:23 AM
Unknown Object (File)
Sat, Nov 30, 4:55 PM
Unknown Object (File)
Sat, Nov 30, 2:55 AM
Unknown Object (File)
Sat, Nov 30, 2:39 AM
Unknown Object (File)
Fri, Nov 29, 4:42 PM
Subscribers

Details

Summary
Test Plan

Tested this diff stack by playing around with ChatInputBar on both iOS simulator and Android device:

  • focus the text input and verify the keyboard is up and the camera buttons are animated correctly
  • try to send the message, verify the send button is animated correctly
  • verify the text input can be unfocused and keyboard is hidden
  • verify the draft works: write text, navigate from the chat, navigate into the chat again, verify the text is kept and the $
  • verify the edit mode works by editing a message
  • try to close the chat while editing a message - the alert should be shown
  • try to join a thread
  • try to select typed text

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat added inline comments.
native/chat/chat-input-bar.react.js
1350–1358 ↗(On Diff #45953)

Would it make sense to define this right before unblockNavigation?

1404 ↗(On Diff #45953)

Nit: I think this has the same effect

This revision is now accepted and ready to land.Sun, Nov 24, 6:31 PM