Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 1.2.0 #93

Merged
merged 2 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## [v1.2.0] (Feb 26 2024)
#### Feat:
- Introduced mobile view support: Users can now enable mobile view compatibility using the enableMobileView prop. To enable, simply set `enableMobileView={true}`. Default value is true.
```
<ChatAiWidget
{...other props}
enableMobileView={true / false}
/>
```
- Implemented Sendbird ChatAiWidget self-service integration: Detailed instructions for self-service integration can be found at here.
- [Shopify](https://sendbird.com//docs/ai-chatbot/guide/v1/widget-integration/shopify)
- [Wix](https://sendbird.com//docs/ai-chatbot/guide/v1/widget-integration/wix)
- [Wordpress](https://sendbird.com//docs/ai-chatbot/guide/v1/widget-integration/wordpress)
- Removed `startingPage` related logic and props:
- These options, present since the early versions of the widget, have been deprecated due to extensive error pruning and lack of utilization in core functionalities. [Related PR Link](https://github.com/sendbird/chat-ai-widget/pull/92)


## [v1.1.3] (Feb 13 2024)
#### Fix:
- Changed source display indexing from the last item to the first
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/chat-ai-widget",
"version": "1.1.3",
"version": "1.2.0",
"description": "Sendbird Chat AI Widget,\n Detailed documentation can be found at https://github.com/sendbird/chat-ai-widget#readme",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/self-service/embed-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<title>Vite + React + TS</title>
<link rel="preload" href="https://fonts.cdnfonts.com/css/gellix" rel="stylesheet">
<link rel="preload" href="https://fonts.cdnfonts.com/css/sf-pro-display" rel="stylesheet">
</head>
<body>
<script>
!function(w, d, s, ...args){
var div = d.createElement('div');
Expand All @@ -17,11 +19,9 @@
j = d.createElement(s);
j.defer = true;
j.type = 'module';
j.src = 'https://aichatbot.sendbird.com/index.js/index.js';
j.src = 'https://aichatbot.sendbird.com/index.js';
f.parentNode.insertBefore(j, f);
}(window, document, 'script', 'A3E33A85-E4A7-46A4-99B1-EF6833E7DE3A', 'marketing_bot_3');
</script>
</head>
<body>
</body>
</html>
14 changes: 7 additions & 7 deletions packages/self-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/self-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"format": "npm run prettier:fix && npm run lint:fix"
},
"dependencies": {
"@sendbird/chat-ai-widget": "1.1.3-self-service-rc-8",
"@sendbird/chat-ai-widget": "^1.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/url-webdemo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/url-webdemo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@sendbird/chat-ai-widget": "1.1.3-self-service-rc-8"
"@sendbird/chat-ai-widget": "^1.2.0"
},
"devDependencies": {
"@types/react": "^18.0.37",
Expand Down