Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/ol_openedx_chat/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This will download the smoot-design package and copy the pre-bundled JS file to

.. code-block:: sh

npm pack @mitodl/smoot-design@^6.17.0
npm pack @mitodl/smoot-design@^6.19.0
tar -xvzf mitodl-smoot-design*.tgz
mkdir -p public/static/smoot-design
cp package/dist/bundles/* public/static/smoot-design
Expand Down Expand Up @@ -78,7 +78,7 @@ The Unit is rendered inside an Iframe and we use postMessage to communicate betw

export default config;

(Alternatively, you can import the drawer code from a CDN like kg.com/@mitodl/smoot-design@6.4.0/dist/bundles/remoteTutorDrawer.umd.js to skip Step 3. However, the steps outlined here are most similar to what we do in production.)
(Alternatively, you can import the drawer code from a CDN like kg.com/@mitodl/smoot-design@6.19.0/dist/bundles/remoteTutorDrawer.umd.js to skip Step 3. However, the steps outlined here are most similar to what we do in production.)

5. Start learning MFE by ``npm run dev``
----------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function OLChatBlock(runtime, element, init_args) {
import("https://cdn.jsdelivr.net/npm/@mitodl/smoot-design@6.18.2/dist/bundles/aiChat.es.js").then(aiChat => {
import("https://cdn.jsdelivr.net/npm/@mitodl/smoot-design@6.19.0/dist/bundles/aiChat.es.js").then(aiChat => {
const requestOpts = {
apiUrl: runtime.handlerUrl(element, 'ol_chat'),
feedbackApiUrl: init_args.chat_rating_url,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function OLChatBlock(runtime, element, init_args) {
import("https://cdn.jsdelivr.net/npm/@mitodl/smoot-design@6.18.2/dist/bundles/aiChat.es.js").then(aiChat => {
import("https://cdn.jsdelivr.net/npm/@mitodl/smoot-design@6.19.0/dist/bundles/aiChat.es.js").then(aiChat => {
var studioRuntime = new window.StudioRuntime.v1();
const requestOpts = {
apiUrl: studioRuntime.handlerUrl(element, 'ol_chat'),
Expand Down
2 changes: 1 addition & 1 deletion src/ol_openedx_chat_xblock/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ol-openedx-chat-xblock"
version = "0.4.3"
version = "0.4.4"
description = "An Open edX xBlock to add Open Learning AI chat"
readme = "README.rst"
license = {text = "BSD-3-Clause"}
Expand Down