You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Added messageStackDirection in Constant (#405)
## Changes
-
ticket: [AC-4550]
## Additional Notes
- Added `messageStackDirection` in `Constant`
## Checklist
Before requesting a code review, please check the following:
- [ ] **[Required]** CI has passed all checks.
- [ ] **[Required]** A self-review has been conducted to ensure there
are no minor mistakes.
- [ ] **[Required]** Unnecessary comments/debugging code have been
removed.
- [ ] **[Required]** All requirements specified in the ticket have been
accurately implemented.
- [ ] Ensure the ticket has been updated with the sprint, status, and
story points.
[AC-4550]:
https://sendbird.atlassian.net/browse/AC-4550?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
---------
Co-authored-by: Hyungu Kang | Airen <gusrn1423@naver.com>
|`applicationId`|`string`| Yes | N/A| Your Sendbird application ID |
114
-
|`botId`|`string`| Yes | N/A| Your Sendbird bot ID ||
115
-
|`userNickName`|`string`| No | N/A| The nickname of the user ||
116
-
|`enableEmojiFeedback`|`boolean`| No |`true`| Enables emoji feedback functionality. |
117
-
|`enableMention`|`boolean`| No |`true`| Enables mention functionality. |
118
-
|`deviceType`|`'desktop' \| 'mobile'`| No | N/A| Device type to be used in the widget |
119
-
|`stringSet`|`{ [key: string]: string }`| No | N/A| Customizable string set. Available string sets can be found [here](https://github.com/sendbird/sendbird-uikit-react/blob/main/src/ui/Label/stringSet.ts). |
120
-
|`customRefreshComponent`|`{ icon: string, style: React.CSSProperties, width: string, height: string, onClick: () => void }`| No | N/A | Customizable refresh component. You can set properties such as `icon`, `style`, `width`, `height`, and `onClick`. |
121
-
|`userId`|`string`| No | N/A| User ID to be used in the widget connect. Must be used with `sessionToken` and `configureSession`. The example usage can be found [here](./custom-session-guide.md). |
122
-
|`sessionToken`|`string`| No | N/A| Session token to be used in the widget connect. Must be used with `userId` and `configureSession`. The example usage can be found [here](./custom-session-guide.md). |
123
-
|`configureSession`|`() => SessionHandler`| No | N/A| Session configuration function. Must be used with `userId` and `sessionToken`. The example usage can be found [here](./custom-session-guide.md). |
124
-
|`autoOpen`|`boolean`| No | N/A| Determines whether the chatbot widget automatically opens when the browser window is opened. This property is being ignored in mobile view. |
125
-
|`enableResetHistoryOnConnect`|`boolean`| No |`false`| Determines whether the chatbot widget history is reset when the user connects. |
111
+
| Prop Name | Type | Required | Default Value | Description |
|`applicationId`|`string`| Yes | N/A | Your Sendbird application ID |
114
+
|`botId`|`string`| Yes | N/A | Your Sendbird bot ID ||
115
+
|`userNickName`|`string`| No | N/A | The nickname of the user ||
116
+
|`enableEmojiFeedback`|`boolean`| No |`true`| Enables emoji feedback functionality. |
117
+
|`enableMention`|`boolean`| No |`true`| Enables mention functionality. |
118
+
|`deviceType`|`'desktop' \| 'mobile'`| No | N/A | Device type to be used in the widget |
119
+
|`stringSet`|`{ [key: string]: string }`| No | N/A | Customizable string set. Available string sets can be found [here](https://github.com/sendbird/sendbird-uikit-react/blob/main/src/ui/Label/stringSet.ts). |
120
+
|`customRefreshComponent`|`{ icon: string, style: React.CSSProperties, width: string, height: string, onClick: () => void }`| No | N/A | Customizable refresh component. You can set properties such as `icon`, `style`, `width`, `height`, and `onClick`. |
121
+
|`userId`|`string`| No | N/A | User ID to be used in the widget connect. Must be used with `sessionToken` and `configureSession`. The example usage can be found [here](./custom-session-guide.md). |
122
+
|`sessionToken`|`string`| No | N/A | Session token to be used in the widget connect. Must be used with `userId` and `configureSession`. The example usage can be found [here](./custom-session-guide.md). |
123
+
|`configureSession`|`() => SessionHandler`| No | N/A | Session configuration function. Must be used with `userId` and `sessionToken`. The example usage can be found [here](./custom-session-guide.md). |
124
+
|`autoOpen`|`boolean`| No | N/A | Determines whether the chatbot widget automatically opens when the browser window is opened. This property is being ignored in mobile view. |
125
+
|`enableResetHistoryOnConnect`|`boolean`| No |`false`| Determines whether the chatbot widget history is reset when the user connects. |
126
126
|`messageInputControls.blockWhileBotResponding`|`boolean \| number`| No | N/A | Allows to control enabled/disabled state of the message input for waiting for the bot's reply mesage. If number value is given, a timer will be set to force unblock the message input. |
127
127
|`dateLocale`|`Locale`| No |`enUS`| Locale value to be applied to string values of message timestamp and date separator. Locale values must be imported from `date-fns`. |
128
-
|`enableHideWidgetForDeactivatedUser`|`boolean`| No |`false`| Determines whether the chatbot widget is hidden when the user is deactivated. |
128
+
|`enableHideWidgetForDeactivatedUser`|`boolean`| No |`false`| Determines whether the chatbot widget is hidden when the user is deactivated. |
129
129
|`enableWidgetExpandButton`|`boolean`| No |`false`| Determines whether the expand button is displayed in the chatbot widget. |
130
+
|`messageStackDirection`|`'top' \| 'bottom'`| No |`'bottom'`| Determines direction at which message stack starts in the message list. |
0 commit comments