Skip to content

Commit ef6649b

Browse files
authored
feat: delegate Chat and MarkdownStream implementations to new shinychat dependency (#2051)
1 parent ff471fa commit ef6649b

File tree

40 files changed

+98
-5430
lines changed

40 files changed

+98
-5430
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [UNRELEASED]
99

10+
### Breaking changes
11+
12+
* The `ui.Chat` and `ui.MarkdownStream` components are now imported from the new `shinychat` library. Future versions of `shinychat` will likely deprecate and remove some features from `Chat`. If you still want to use those features with the latest Shiny, we suggest pinning `shinychat` to it's initial release (v0.1.0). (#2051)
13+
1014
### New features
1115

1216
* Added `ui.insert_nav_panel()`, `ui.remove_nav_panel()`, and `ui.update_nav_panel()` to support dynamic navigation. (#90)

docs/_quartodoc-express.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ quartodoc:
8484
- title: Chat interface
8585
desc: Build a chatbot interface
8686
contents:
87-
- express.ui.Chat
87+
- name: express.ui.Chat
88+
include_inherited: true
8889
- title: Streaming markdown
8990
desc: Stream markdown content into the UI
9091
contents:

js/build.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,6 @@ const opts: Array<BuildOptions> = [
102102
entryPoints: { "spin/spin": "spin/spin.scss" },
103103
plugins: [sassPlugin({ type: "css", sourceMap: false })],
104104
},
105-
{
106-
entryPoints: {
107-
"markdown-stream/markdown-stream": "markdown-stream/markdown-stream.ts",
108-
},
109-
},
110-
{
111-
entryPoints: {
112-
"markdown-stream/markdown-stream": "markdown-stream/markdown-stream.scss",
113-
},
114-
plugins: [sassPlugin({ type: "css", sourceMap: false })],
115-
},
116-
{
117-
entryPoints: {
118-
"chat/chat": "chat/chat.ts",
119-
},
120-
},
121-
{
122-
entryPoints: { "chat/chat": "chat/chat.scss" },
123-
plugins: [sassPlugin({ type: "css", sourceMap: false })],
124-
},
125105
];
126106

127107
(async () => {

js/chat/chat.scss

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)