Skip to content

Commit

Permalink
Merge pull request #183 from sendbird/feat/deprecate-super-group-reac…
Browse files Browse the repository at this point in the history
…tions-setter

feat(CLNP-3585): deprecated enableReactionsSupergroup
  • Loading branch information
OnestarLee authored Jun 11, 2024
2 parents 14c23fb + e9e321f commit 9702619
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/uikit-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@openspacelabs/react-native-zoomable-view": "^2.1.5",
"@sendbird/uikit-chat-hooks": "3.5.3",
"@sendbird/uikit-react-native-foundation": "3.5.3",
"@sendbird/uikit-tools": "0.0.1-alpha.66",
"@sendbird/uikit-tools": "0.0.1-alpha.76",
"@sendbird/uikit-utils": "3.5.3"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const SendbirdUIKit = Object.freeze({
},
});

type UnimplementedFeatures = 'threadReplySelectType' | 'replyType';
type UnimplementedFeatures = 'threadReplySelectType' | 'replyType' | 'enableReactionsSupergroup';
export type ChatOmittedInitParams = Omit<
SendbirdChatParams<[GroupChannelModule, OpenChannelModule]>,
(typeof chatOmitKeys)[number]
Expand Down Expand Up @@ -104,6 +104,10 @@ export type SendbirdUIKitContainerProps = React.PropsWithChildren<{
common: SBUConfig['common'];
groupChannel: Omit<SBUConfig['groupChannel']['channel'], UnimplementedFeatures> & {
replyType: Extract<SBUConfig['groupChannel']['channel']['replyType'], 'none' | 'quote_reply'>;
/**
* @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}
*/
enableReactionsSupergroup: never;
};
groupChannelList: SBUConfig['groupChannel']['channelList'];
groupChannelSettings: SBUConfig['groupChannel']['setting'];
Expand Down Expand Up @@ -208,7 +212,7 @@ const SendbirdUIKitContainer = (props: SendbirdUIKitContainerProps) => {
localConfigs={{
common: uikitOptions?.common,
groupChannel: {
channel: uikitOptions?.groupChannel,
channel: { ...uikitOptions?.groupChannel, enableReactionsSupergroup: undefined },
channelList: uikitOptions?.groupChannelList,
setting: uikitOptions?.groupChannelSettings,
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3389,10 +3389,10 @@
resolved "https://registry.yarnpkg.com/@sendbird/react-native-scrollview-enhancer/-/react-native-scrollview-enhancer-0.2.1.tgz#25de4af78293978a4c0ef6fddee25d822a364c46"
integrity sha512-LN+Tm+ZUkE2MBVreg/JI8SVr8SOKRteZN0YFpGzRtbKkP45+pKyPN4JQPf73eFx7qO8zDL+TUVyzz/1MOnIK7g==

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

"@sideway/address@^4.1.3":
version "4.1.4"
Expand Down

0 comments on commit 9702619

Please sign in to comment.