Skip to content

Commit

Permalink
Merge pull request #93 from sendbird/release/v1.2.0
Browse files Browse the repository at this point in the history
release: 1.2.0
  • Loading branch information
luke-cha authored Feb 26, 2024
2 parents 63ea427 + 9c1bac3 commit ce21423
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 20 deletions.
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

0 comments on commit ce21423

Please sign in to comment.