HomePhabricator
Diffusion Comm 5b611906f78c

[native] Migrate ChatInputBar component to Reanimated v2 API

Description

[native] Migrate ChatInputBar component to Reanimated v2 API

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

Depends on D14019

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/D14020

Details

Provenance
angelikaAuthored on Thu, Nov 21, 5:20 PM
Reviewer
ashoat
Differential Revision
D14020: [native] Migrate ChatInputBar component to Reanimated v2 API
Parents
rCOMM23509d20c70b: [native] Use destructuring syntax in ChatInputBar component
Branches
Unknown
Tags
Unknown