Releases: sendbird/sendbird-uikit-react
[v3.6.0] (June 28 2023)
Feat:
- Official support for Feature Configuration
- You can now configure the features of UIKit through the
uikitOptions
prop of<SendbirdProvider />
or<App />
component. You can also find the detailed sample usage from SAMPLE.md#UIKit-Configuration-Samples - The minimum
@sendbird/chat
version has been increased to 4.9.2.
- You can now configure the features of UIKit through the
<SendbirdProvider
uikitOptions={{
common: {
enableUsingDefaultUserProfile: true,
},
groupChannel: {
enableMention: false,
enableOgtag: true,
enableReaction: true,
enableTypingIndicator: true,
input: {
camera: {
enablePhoto: true,
enableVideo: true,
},
gallery: {
enablePhoto: true,
enableVideo: true,
},
enableDocument: true,
},
},
groupChannelList: {
enableTypingIndicator: true,
enableMessageReceiptStatus: true,
},
groupChannelSettings: {
enableMessageSearch: true,
},
openChannel: {
enableOgtag: true,
input: {
camera: {
enablePhoto: true,
enableVideo: true,
},
gallery: {
enablePhoto: true,
enableVideo: true,
},
enableDocument: true,
},
},
}}
/>
[v3.5.2] (June 23 2023)
Fixes:
- Allow to reduce the mobile app height
It was not able to reduce the height of the mobile app with some wrapper components - Do not display the UnreadCount(new message notification) comp when unreadSince is null
- Improve sampling and bitrate of Voice Recording
- sampling rate: 11025
- bit rate: 12000
- Move scroll every time when message height changes
It moved scroll only when the last message height changes
v3.6.0-feature-config-rc-0
[v3.5.1] (June 15 2023)
Fixes:
- Set fallback values \w global configs in App comp
- Use global config's replyType if channel one is undefined
- Use global disableUserProfile if each context's one is defined
- Clear
scrollBottom
on channel state loading - Fixes a runtime error
caused by clicking "Reply in thread" menu from a parent message - Check if the
message.type
property is empty
and return false when it is empty in the isVoiceMessage function
[v3.5.0] (June 14 2023)
Release UIKit React v3.5.0 (Mobile Web Support)
Feat:
-
Mobile Browser UX Revamp
We have revamped the UX to support mobile devices -- Revamped Modals
- Revamped Context Menu -> Long press to open context menu
- Revamped Message Input
This feature is disabled by default. To enable this feature, add the following prop to
SendBirdProvider
&App
component.breakpoint?: string | boolean
Example:
<SendBirdProvider breakpoint="768px">
const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent); return ( <SendbirdProvider breakpoint={isMobile} /> { isMobile ? <MobileChatLayout /> : <DesktopChatLayout /> } </SendbirdProvider> )
Other props:
- SendbirdProvider?.onUserProfileMessage?: (channel: GroupChannel) => void
Callback for handling when user sends a user profile message. - Channel?.onBackClick?: () => void
Callback for handling when user clicks on back button in channel.
This is only applicable for mobile devices.
-
Configure UIKit through Dashboard(not released yet)
We are doing groundwork to support configuring UIKit through
the dashboard. This will allow you to configure UIKit without
having to add props to each component. This feature will not be a
breaking change and will be backwards compatible.
Chore:
- TSC error in typescript sample
- Samples -> Upgrade vite to 4.3.9
Fixes:
- Connection
- Disconnect SDK on Sendbird provider component unmount
- Message
- Desktop - allow text select on Labels
- Remove loading placeholder on ThumbnailMessage
- OGMessage width overflow while adding reaction
- Center align & remove ellipsis from admin message
- Voice Message
- Hide download option for voice message
- Show warning when there is no voice recording permission
- Race condition in playing audio files simultaneously
- Stop voice player when recorder exits
- Pause voice when component is removed from layout
- Replies
- Quoted text alignment for reply messages
- MessageList: Triggering of random clicks while scroll to parent
- Thread
- Improve parent message detection
- Emoji reactions overflow in message
- Settings
- : Show context menu on click
- Open Channel
- OpenChannel Context menu click leak
- Vertical scroll on labels in open channel list
v3.5.0-feature-config-rc-2
The RC contains below feature config related changes
- #626: apply app attr impacted configs' value
- #630: make integrated toggle config options resettable
- #636: make sdk disconnected on Sendbird component umount
- #638: use global config's replyType if channel one is undefined
- #639: use global disableUserProfile if each context's one is defined
- #640: set fallback values \w global configs in App component
v3.5.0-mobile-web-5
- place holder
v3.5.0-mobile-rc-4
v3.5.0-mobile-rc-3
v3.5.0-mobile-rc-2
Fixes:
https://sendbird.atlassian.net/browse/UIKIT-4029
https://sendbird.atlassian.net/browse/UIKIT-4048
https://sendbird.atlassian.net/browse/UIKIT-3925
https://sendbird.atlassian.net/browse/UIKIT-4031
https://sendbird.atlassian.net/browse/UIKIT-3901
https://sendbird.atlassian.net/browse/UIKIT-3952
https://sendbird.atlassian.net/browse/UIKIT-4037
https://sendbird.atlassian.net/browse/UIKIT-4044