[PR #79] [MERGED] feat: code editor & document editor #101

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/chat-ui/pull/79
Author: @thucpn
Created: 5/2/2025
Status: Merged
Merged: 5/5/2025
Merged by: @thucpn

Base: mainHead: tp/code-editor


📝 Commits (10+)

📊 Changes

13 files changed (+1989 additions, -1368 deletions)

View changed files

.changeset/thin-shrimps-agree.md (+6 -0)
📝 apps/web/components/code.tsx (+0 -1)
📝 packages/chat-ui/package.json (+14 -0)
📝 packages/chat-ui/src/chat/canvas/artifacts/code.tsx (+40 -12)
📝 packages/chat-ui/src/chat/canvas/artifacts/document.tsx (+44 -5)
📝 packages/chat-ui/src/chat/canvas/context.tsx (+51 -0)
📝 packages/chat-ui/src/styles/markdown.css (+4 -0)
packages/chat-ui/src/widgets/code-editor.tsx (+27 -0)
📝 packages/chat-ui/src/widgets/codeblock.tsx (+9 -5)
packages/chat-ui/src/widgets/document-editor.tsx (+194 -0)
📝 packages/chat-ui/src/widgets/index.tsx (+2 -0)
📝 packages/config-eslint/react.js (+1 -0)
📝 pnpm-lock.yaml (+1597 -1345)

📄 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/79 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 5/2/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@thucpn](https://github.com/thucpn) **Base:** `main` ← **Head:** `tp/code-editor` --- ### 📝 Commits (10+) - [`aad60cb`](https://github.com/run-llama/chat-ui/commit/aad60cb044d6649310e6aeb83162d2e65ce3d4b5) feat: code editor - [`f559b10`](https://github.com/run-llama/chat-ui/commit/f559b107982bb003b0f420195f3bb39cd3387fdf) fix lock - [`f572d9a`](https://github.com/run-llama/chat-ui/commit/f572d9a1cecd334645e5c2c3f15f359fd997e520) fix format - [`b9fecf2`](https://github.com/run-llama/chat-ui/commit/b9fecf2f43eea2b956ba9904c893a1ff99d004f1) enhance style - [`1288ac8`](https://github.com/run-llama/chat-ui/commit/1288ac890c0cd6fde232210d8c2d2878b5580a95) use github light - [`303973e`](https://github.com/run-llama/chat-ui/commit/303973e55cadebc8334f00e2268cd573db909780) increase font-size - [`fe7caed`](https://github.com/run-llama/chat-ui/commit/fe7caed8007f6294020788212b15ccb04a74c7e7) install document editor packages - [`fbb3087`](https://github.com/run-llama/chat-ui/commit/fbb30875d0940342f98a0a84f12b3e4a3e2ea012) enhance styling of code editor - [`f591be3`](https://github.com/run-llama/chat-ui/commit/f591be3953e719cd6bc1d65290045b75373a70c1) add document editor - [`52b9823`](https://github.com/run-llama/chat-ui/commit/52b982312027d79b0f2183dea7ea236e0b28e021) add menu add setup ### 📊 Changes **13 files changed** (+1989 additions, -1368 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/thin-shrimps-agree.md` (+6 -0) 📝 `apps/web/components/code.tsx` (+0 -1) 📝 `packages/chat-ui/package.json` (+14 -0) 📝 `packages/chat-ui/src/chat/canvas/artifacts/code.tsx` (+40 -12) 📝 `packages/chat-ui/src/chat/canvas/artifacts/document.tsx` (+44 -5) 📝 `packages/chat-ui/src/chat/canvas/context.tsx` (+51 -0) 📝 `packages/chat-ui/src/styles/markdown.css` (+4 -0) ➕ `packages/chat-ui/src/widgets/code-editor.tsx` (+27 -0) 📝 `packages/chat-ui/src/widgets/codeblock.tsx` (+9 -5) ➕ `packages/chat-ui/src/widgets/document-editor.tsx` (+194 -0) 📝 `packages/chat-ui/src/widgets/index.tsx` (+2 -0) 📝 `packages/config-eslint/react.js` (+1 -0) 📝 `pnpm-lock.yaml` (+1597 -1345) </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:09 -05:00
yindo closed this issue 2026-02-16 03:15:09 -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#101