Skip to content

Commit 9702619

Browse files
authored
Merge pull request #183 from sendbird/feat/deprecate-super-group-reactions-setter
feat(CLNP-3585): deprecated enableReactionsSupergroup
2 parents 14c23fb + e9e321f commit 9702619

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

packages/uikit-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@openspacelabs/react-native-zoomable-view": "^2.1.5",
6363
"@sendbird/uikit-chat-hooks": "3.5.3",
6464
"@sendbird/uikit-react-native-foundation": "3.5.3",
65-
"@sendbird/uikit-tools": "0.0.1-alpha.66",
65+
"@sendbird/uikit-tools": "0.0.1-alpha.76",
6666
"@sendbird/uikit-utils": "3.5.3"
6767
},
6868
"devDependencies": {

packages/uikit-react-native/src/containers/SendbirdUIKitContainer.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const SendbirdUIKit = Object.freeze({
6464
},
6565
});
6666

67-
type UnimplementedFeatures = 'threadReplySelectType' | 'replyType';
67+
type UnimplementedFeatures = 'threadReplySelectType' | 'replyType' | 'enableReactionsSupergroup';
6868
export type ChatOmittedInitParams = Omit<
6969
SendbirdChatParams<[GroupChannelModule, OpenChannelModule]>,
7070
(typeof chatOmitKeys)[number]
@@ -104,6 +104,10 @@ export type SendbirdUIKitContainerProps = React.PropsWithChildren<{
104104
common: SBUConfig['common'];
105105
groupChannel: Omit<SBUConfig['groupChannel']['channel'], UnimplementedFeatures> & {
106106
replyType: Extract<SBUConfig['groupChannel']['channel']['replyType'], 'none' | 'quote_reply'>;
107+
/**
108+
* @deprecated Currently, this feature is turned off by default. If you wish to use this feature, contact us: {@link https://dashboard.sendbird.com/settings/contact_us?category=feedback_and_feature_requests&product=UIKit}
109+
*/
110+
enableReactionsSupergroup: never;
107111
};
108112
groupChannelList: SBUConfig['groupChannel']['channelList'];
109113
groupChannelSettings: SBUConfig['groupChannel']['setting'];
@@ -208,7 +212,7 @@ const SendbirdUIKitContainer = (props: SendbirdUIKitContainerProps) => {
208212
localConfigs={{
209213
common: uikitOptions?.common,
210214
groupChannel: {
211-
channel: uikitOptions?.groupChannel,
215+
channel: { ...uikitOptions?.groupChannel, enableReactionsSupergroup: undefined },
212216
channelList: uikitOptions?.groupChannelList,
213217
setting: uikitOptions?.groupChannelSettings,
214218
},

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3389,10 +3389,10 @@
33893389
resolved "https://registry.yarnpkg.com/@sendbird/react-native-scrollview-enhancer/-/react-native-scrollview-enhancer-0.2.1.tgz#25de4af78293978a4c0ef6fddee25d822a364c46"
33903390
integrity sha512-LN+Tm+ZUkE2MBVreg/JI8SVr8SOKRteZN0YFpGzRtbKkP45+pKyPN4JQPf73eFx7qO8zDL+TUVyzz/1MOnIK7g==
33913391

3392-
"@sendbird/[email protected].66":
3393-
version "0.0.1-alpha.66"
3394-
resolved "https://registry.yarnpkg.com/@sendbird/uikit-tools/-/uikit-tools-0.0.1-alpha.66.tgz#5328f1768c130b15cdec9f0ab9f21d2da269ba62"
3395-
integrity sha512-IE8HHqTcAVunnVhcfsxQCRmOoCNHx3c8ZP3eZeqYJB876DrnM38ne5TZVao2ZFSmbiZZQ7xc9DClEiZuZUgvnQ==
3392+
"@sendbird/[email protected].76":
3393+
version "0.0.1-alpha.76"
3394+
resolved "https://registry.yarnpkg.com/@sendbird/uikit-tools/-/uikit-tools-0.0.1-alpha.76.tgz#7f293aaa61089b644a9f4ca5f7929ce4f0d8885f"
3395+
integrity sha512-YbKsbpacI1OIvTGviUwuAAu7HPb/BeCxlo2AW6kyvRbNglocVxxcqvHW8Oe31r2oq98spEt7TPLMDuNyNNM5AA==
33963396

33973397
"@sideway/address@^4.1.3":
33983398
version "4.1.4"

0 commit comments

Comments
 (0)