Page MenuHomePhabricator

[native] Move text update and editing logic in ChatInputBar to function component
ClosedPublic

Authored by angelika on Nov 22 2024, 4:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 2:27 PM
Unknown Object (File)
Mon, Dec 16, 2:14 AM
Unknown Object (File)
Mon, Dec 16, 2:14 AM
Unknown Object (File)
Mon, Dec 16, 2:14 AM
Unknown Object (File)
Sun, Dec 15, 12:27 PM
Unknown Object (File)
Sun, Dec 15, 9:31 AM
Unknown Object (File)
Mon, Dec 9, 9:31 AM
Unknown Object (File)
Mon, Dec 9, 6:57 AM
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

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