mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-21 11:25:22 -04:00
[PR #75] [MERGED] feat: support canvas #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/chat-ui/pull/75
Author: @thucpn
Created: 4/21/2025
Status: ✅ Merged
Merged: 4/24/2025
Merged by: @thucpn
Base:
main← Head:tp/support-canvas📝 Commits (10+)
d65ef4cuse light theme for code block704633denhance codeblock style to compatity with new white UI864844bfeat: move canvas to chat-ui42cb745fix: format09c638efix importsac55441copy markdown styles before run dev7aa3c1bCreate swift-flies-breathe.mdce6486cshow ArtifactAnnotations by default8221f53add canvas demofd82e49make it responsive📊 Changes
23 files changed (+1967 additions, -27 deletions)
View changed files
➕
.changeset/swift-flies-breathe.md(+6 -0)➕
apps/web/app/demo/canvas/page.tsx(+586 -0)📝
apps/web/app/page.tsx(+6 -0)📝
packages/chat-ui/package.json(+6 -2)📝
packages/chat-ui/src/chat/annotation.ts(+46 -1)➕
packages/chat-ui/src/chat/canvas/actions.tsx(+218 -0)➕
packages/chat-ui/src/chat/canvas/artifacts/code.tsx(+63 -0)➕
packages/chat-ui/src/chat/canvas/artifacts/document.tsx(+44 -0)➕
packages/chat-ui/src/chat/canvas/card.tsx(+76 -0)➕
packages/chat-ui/src/chat/canvas/context.tsx(+190 -0)➕
packages/chat-ui/src/chat/canvas/index.tsx(+45 -0)📝
packages/chat-ui/src/chat/chat-annotations.tsx(+20 -0)📝
packages/chat-ui/src/chat/chat-message.tsx(+4 -0)📝
packages/chat-ui/src/chat/chat-section.tsx(+2 -1)📝
packages/chat-ui/src/chat/chat.interface.ts(+4 -0)📝
packages/chat-ui/src/index.tsx(+2 -0)📝
packages/chat-ui/src/styles/markdown.css(+1 -1)➕
packages/chat-ui/src/ui/accordion.tsx(+56 -0)➕
packages/chat-ui/src/ui/badge.tsx(+38 -0)➕
packages/chat-ui/src/ui/popover.tsx(+48 -0)...and 3 more files
📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.