sendbird-uikit-react icon indicating copy to clipboard operation
sendbird-uikit-react copied to clipboard

feat: Support form message

Open chohongm opened this issue 1 year ago • 1 comments

Fixes AC-3068

Note

Not tested yet. Need to test in no2 region. Do not release unless server is released to all prod regions.

Changelogs

UIKit now supports form message! message with messageForm will be displayed as form message.

Features:

  • Added enableFormTypeMessage global option
    • How to use?
    <App
      appId={appId}
      userId={userId}
      uikitOptions={{
        groupChannel: {
          // Below turns on the `FormMessage` feature. Default value is false.
          enableFormTypeMessage: true,
        }
      }}
    />
    
  • MessageInput is now being disabled if channel.lastMessage.messageForm exists and channel.lastMessage.extendedMessagePayload['disable_chat_input'] is true
  • Added FormMessageItemBody, and FormInput

Screenshots

Screenshot 2024-07-10 at 4 58 11 PM Screenshot 2024-07-10 at 4 58 28 PM Screenshot 2024-07-10 at 4 58 40 PM Screenshot 2024-07-10 at 4 58 50 PM Screenshot 2024-07-10 at 4 59 22 PM

chohongm avatar Jul 09 '24 08:07 chohongm

Deploy Preview for sendbird-uikit-react ready!

Name Link
Latest commit 0d3691c97f6548261c86b0f3d0d9a8345ab6a1a4
Latest deploy log https://app.netlify.com/sites/sendbird-uikit-react/deploys/66cfe584efd6110008e4eb32
Deploy Preview https://deploy-preview-1168--sendbird-uikit-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jul 09 '24 08:07 netlify[bot]