Skip to content

feat: delegate Chat and MarkdownStream implementations to new shinychat dependency #2051

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
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: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [UNRELEASED]

### Breaking changes

* 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)

### New features

* Added `ui.insert_nav_panel()`, `ui.remove_nav_panel()`, and `ui.update_nav_panel()` to support dynamic navigation. (#90)
Expand Down
3 changes: 2 additions & 1 deletion docs/_quartodoc-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ quartodoc:
- title: Chat interface
desc: Build a chatbot interface
contents:
- express.ui.Chat
- name: express.ui.Chat
include_inherited: true
- title: Streaming markdown
desc: Stream markdown content into the UI
contents:
Expand Down
20 changes: 0 additions & 20 deletions js/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,6 @@ const opts: Array<BuildOptions> = [
entryPoints: { "spin/spin": "spin/spin.scss" },
plugins: [sassPlugin({ type: "css", sourceMap: false })],
},
{
entryPoints: {
"markdown-stream/markdown-stream": "markdown-stream/markdown-stream.ts",
},
},
{
entryPoints: {
"markdown-stream/markdown-stream": "markdown-stream/markdown-stream.scss",
},
plugins: [sassPlugin({ type: "css", sourceMap: false })],
},
{
entryPoints: {
"chat/chat": "chat/chat.ts",
},
},
{
entryPoints: { "chat/chat": "chat/chat.scss" },
plugins: [sassPlugin({ type: "css", sourceMap: false })],
},
];

(async () => {
Expand Down
186 changes: 0 additions & 186 deletions js/chat/chat.scss

This file was deleted.

Loading
Loading