HomePhabricator
Diffusion Comm 23509d20c70b

[native] Use destructuring syntax in ChatInputBar component

Description

[native] Use destructuring syntax in ChatInputBar component

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

Depends on D14018

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

Reviewers: kamil, bartek, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
angelikaAuthored on Thu, Nov 21, 3:53 PM
Reviewer
ashoat
Differential Revision
D14019: [native] Use destructuring syntax in ChatInputBar component
Parents
rCOMM55d53200394a: [native] Move render functions in ChatInputBar to function component
Branches
Unknown
Tags
Unknown