v3.10.0
[v3.10.0] (Jan 19, 2024)
Features:
Feedback message feature
Now we are supporting Feedback Message feature!
Feedback message feature can be turned on through enableFeedback option. When turned on, feedback feature is applied to messages with non default myFeedbackStatus values.
- Added
enableFeedbackglobal option- How to use?
<App appId={appId} userId={userId} uikitOptions={{ groupChannel: { // Below turns on the feedback message feature. Default value is false. enableFeedback: true, } }} />
Others
- Added
labelType, andlabelColorprops toButtonProps - Added
renderMessageContentinChannelUIProps- Now you can customize
MessageContentthroughChannelin two ways:- Customize with
renderMessage
<Channel renderMessage={(props) => ( <Message {...props} renderMessageContent={(props) => ( <MessageContent {...props} /> )} /> )} />
- [Simpler] Customize with
renderMessageContent
<Channel renderMessageContent={(props) => ( <MessageContent {...props} /> )} />
- Customize with
- Now you can customize
Fixes:
- Fixed a bug in mobile view where channel view is displaying a default channel when there is no channel in channel list
- Added missing props renderMessageContent in Channel
- Fixed a bug where center alignment of
BadgeandButtoncomponents breaking in FireFox browser - Fixed a bug where messages sent by bot member in group channel are not triggering the expected hooks