Page MenuHomePhabricator

[native] Move text state in ChatInputBar to function component
ClosedPublic

Authored by angelika on Nov 22 2024, 4:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 10:48 AM
Unknown Object (File)
Wed, Dec 4, 7:05 AM
Unknown Object (File)
Sat, Nov 30, 5:43 AM
Unknown Object (File)
Fri, Nov 29, 9:33 AM
Unknown Object (File)
Thu, Nov 28, 3:35 PM
Unknown Object (File)
Tue, Nov 26, 2:55 PM
Unknown Object (File)
Sat, Nov 23, 11:04 PM
Unknown Object (File)
Fri, Nov 22, 7:48 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 send button is in the correct state
  • 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