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

refactor: mark deprecated in legacy configs where marks are missing

Open bang9 opened this issue 1 year ago • 2 comments

  • We agreed with the team to deprecate legacy configs, but since they were not handled, I've deprecated them.
  /** @deprecated Please use `common.enableUsingDefaultUserProfile` instead * */
  disableUserProfile: boolean;
  /** @deprecated Please use `groupChannel.enableReactions` instead * */
  isReactionEnabled: boolean;
  /** @deprecated Please use `groupChannel.enableMention` instead * */
  isMentionEnabled: boolean;
  /** @deprecated Please use `groupChannel.enableVoiceMessage` instead * */
  isVoiceMessageEnabled?: boolean;
  /** @deprecated Please use `groupChannel.replyType` instead * */
  replyType: ReplyType;
  /** @deprecated Please use `groupChannelSettings.enableMessageSearch` instead * */
  showSearchIcon?: boolean;
  /** @deprecated Please use `groupChannelList.enableTypingIndicator` instead * */
  isTypingIndicatorEnabledOnChannelList?: boolean;
  /** @deprecated Please use `groupChannelList.enableMessageReceiptStatus` instead * */
  isMessageReceiptStatusEnabledOnChannelList?: boolean;
  /** @deprecated Please use setCurrentTheme instead * */
  setCurrenttheme: (theme: 'light' | 'dark') => void;
SendbirdProvider App
스크린샷 2024-04-22 오전 11 50 01 스크린샷 2024-04-22 오전 11 49 48
  • Below, legacy configs are being transformed as follows: legacy configs -> uikit mapper -> uikit configs -> config(sdk state) Thus, there's no need to use legacy configs in the config anymore. I've removed the parts of the code using them.

bang9 avatar Apr 22 '24 04:04 bang9

Deploy Preview for sendbird-uikit-react ready!

Name Link
Latest commit 4889e39e9e5896e1d2d152e789a60d58e1faf63b
Latest deploy log https://app.netlify.com/sites/sendbird-uikit-react/deploys/66306b569eb377000876a74b
Deploy Preview https://deploy-preview-1072--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 Apr 23 '24 04:04 netlify[bot]

@AhyoungRyu @HoonBaek review please!

bang9 avatar Apr 29 '24 00:04 bang9