mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-22 11:45:34 -04:00
[PR #122] [MERGED] Improve file component #140
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/122
Author: @leehuwuj
Created: 6/5/2025
Status: ✅ Merged
Merged: 6/6/2025
Merged by: @thucpn
Base:
main← Head:lee/remove-limit-file-extension📝 Commits (4)
e1c449bRefactor file upload handling to use a checkExtension function instead of allowedExtensions. Removed unused constants and improved type handling for document files. Updated related components to reflect these changes.74e7382right alignment for user message filebbc9e4eupdate changeset and add back allowedExtensions50689e3enhance code📊 Changes
9 files changed (+35 additions, -54 deletions)
View changed files
➕
.changeset/rare-spoons-invent.md(+5 -0)📝
apps/web/app/demo/custom/page.tsx(+0 -1)📝
packages/chat-ui/src/chat/chat-annotations.tsx(+3 -1)📝
packages/chat-ui/src/chat/chat-input.tsx(+1 -3)📝
packages/chat-ui/src/hook/use-file.tsx(+2 -11)📝
packages/chat-ui/src/widgets/chat-files.tsx(+9 -2)📝
packages/chat-ui/src/widgets/document-info.tsx(+5 -12)📝
packages/chat-ui/src/widgets/file-uploader.tsx(+7 -14)📝
packages/chat-ui/src/widgets/markdown.tsx(+3 -10)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.