HomePhabricator
Diffusion Comm c89b46e94e74

[native] Move text state in ChatInputBar to function component

Description

[native] Move text state in ChatInputBar to function component

Summary: https://linear.app/comm/issue/ENG-8147/convert-chatinputbar-to-reanimated-2-syntax

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

Reviewers: kamil, bartek, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D14006

Details

Provenance
angelikaAuthored on Tue, Nov 19, 12:28 PM
Reviewer
ashoat
Differential Revision
D14006: [native] Move text state in ChatInputBar to function component
Parents
rCOMM17ccb83971a5: [lib] Add hook to log out on invalid CSAT
Branches
Unknown
Tags
Unknown