[PR #106] [MERGED] refactor: cleaned annotations #126

Closed
opened 2026-02-16 03:15:18 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: ms/cleaned-annotation


📝 Commits (7)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/chat-ui/pull/106 **Author:** [@marcusschiesser](https://github.com/marcusschiesser) **Created:** 6/2/2025 **Status:** ✅ Merged **Merged:** 6/2/2025 **Merged by:** [@thucpn](https://github.com/thucpn) **Base:** `main` ← **Head:** `ms/cleaned-annotation` --- ### 📝 Commits (7) - [`8099978`](https://github.com/run-llama/chat-ui/commit/8099978087e50ca9ed0bf2f3ee0aebeedfdbc365) refactor: cleaned annotations - [`ba8b390`](https://github.com/run-llama/chat-ui/commit/ba8b390e4b8fa6a4e6636370ef090e23c934f0e5) fix import - [`324f513`](https://github.com/run-llama/chat-ui/commit/324f5135a4ed252740adf3d0acf22f7bbd04126c) fix import - [`9016fe4`](https://github.com/run-llama/chat-ui/commit/9016fe4a3f110fed252845a134112d2d02be8926) move data interfacts to widgets - [`e9dffa4`](https://github.com/run-llama/chat-ui/commit/e9dffa40bcafe3921a6a105bb119f659c13bf0e8) fix imports - [`d175f11`](https://github.com/run-llama/chat-ui/commit/d175f1178315612c6a4d51281ef3878f664f86c1) fix import - [`3d1cbe6`](https://github.com/run-llama/chat-ui/commit/3d1cbe633192832647175effbec1535922c7424d) fix circle lint ### 📊 Changes **31 files changed** (+403 additions, -466 deletions) <details> <summary>View changed files</summary> ➕ `.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_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:15:18 -05:00
yindo closed this issue 2026-02-16 03:15:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/chat-ui#126