mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-21 03:15:21 -04:00
[PR #106] [MERGED] refactor: cleaned annotations #126
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/106
Author: @marcusschiesser
Created: 6/2/2025
Status: ✅ Merged
Merged: 6/2/2025
Merged by: @thucpn
Base:
main← Head:ms/cleaned-annotation📝 Commits (7)
8099978refactor: cleaned annotationsba8b390fix import324f513fix import9016fe4move data interfacts to widgetse9dffa4fix importsd175f11fix import3d1cbe6fix circle lint📊 Changes
31 files changed (+403 additions, -466 deletions)
View changed files
➕
.changeset/angry-peaches-post.md(+6 -0)📝
docs/chat-ui/annotations.mdx(+12 -64)📝
docs/chat-ui/widgets.mdx(+69 -72)📝
examples/fastapi/frontend/components/custom-weather-annotation.tsx(+3 -6)📝
examples/nextjs/components/custom-weather-annotation.tsx(+3 -6)➖
packages/chat-ui/src/chat/annotation.ts(+0 -225)➕
packages/chat-ui/src/chat/annotations/annotations.ts(+37 -0)➕
packages/chat-ui/src/chat/annotations/artifacts.ts(+43 -0)➕
packages/chat-ui/src/chat/annotations/data.ts(+9 -0)➕
packages/chat-ui/src/chat/annotations/index.ts(+4 -0)➕
packages/chat-ui/src/chat/annotations/sources.ts(+37 -0)📝
packages/chat-ui/src/chat/canvas/actions.tsx(+3 -3)➕
packages/chat-ui/src/chat/canvas/artifact-card.tsx(+76 -0)📝
packages/chat-ui/src/chat/canvas/artifacts/code.tsx(+1 -1)📝
packages/chat-ui/src/chat/canvas/artifacts/document.tsx(+1 -1)📝
packages/chat-ui/src/chat/canvas/card.tsx(+3 -3)📝
packages/chat-ui/src/chat/canvas/context.tsx(+1 -1)📝
packages/chat-ui/src/chat/chat-annotations.tsx(+26 -50)📝
packages/chat-ui/src/chat/chat-message.tsx(+3 -4)📝
packages/chat-ui/src/hook/use-file.tsx(+1 -1)...and 11 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.