[PR #121] [MERGED] refactor: structure fe components #273

Closed
opened 2026-02-15 19:17:00 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/121
Author: @thucpn
Created: 6/10/2024
Status: Merged
Merged: 6/10/2024
Merged by: @marcusschiesser

Base: mainHead: refactor/structure-fe-components


📝 Commits (8)

  • c40757c fix: express server restart when cache changed
  • 65edc14 fix: ignore cache
  • eda6b3b use --watch
  • 873d057 structure fe components
  • 7b73644 fix: lint
  • 1ba5a58 refactor: detach read raw content function
  • 0de6cc8 fix: use read as text for other file types except image
  • d3c9f26 rename function

📊 Changes

17 files changed (+46 additions, -38 deletions)

View changed files

📝 templates/components/ui/html/chat/hooks/use-config.ts (+0 -0)
📝 templates/types/streaming/express/package.json (+1 -1)
📝 templates/types/streaming/nextjs/app/components/chat-section.tsx (+1 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx (+14 -10)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-avatar.tsx (+0 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-events.tsx (+3 -3)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-image.tsx (+1 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-sources.tsx (+9 -5)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-tools.tsx (+2 -2)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/codeblock.tsx (+2 -2)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/csv-content.tsx (+2 -2)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/index.tsx (+9 -9)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/markdown.tsx (+0 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx (+1 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-config.ts (+0 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-copy-to-clipboard.tsx (+0 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-csv.ts (+1 -1)

📄 Description

Summary by CodeRabbit

  • Refactor
    • Improved file upload handling in the chat input component to better process image and text files.
    • Updated various import paths to reflect new project structure for better maintainability.

🔄 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/create-llama/pull/121 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 6/10/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `refactor/structure-fe-components` --- ### 📝 Commits (8) - [`c40757c`](https://github.com/run-llama/create-llama/commit/c40757cbb7be077d9e2e23b78d38a2521aef1ea2) fix: express server restart when cache changed - [`65edc14`](https://github.com/run-llama/create-llama/commit/65edc14c15cf9f16cf1af4f17ad54172f0b07741) fix: ignore cache - [`eda6b3b`](https://github.com/run-llama/create-llama/commit/eda6b3be230012b4011ed4c5386057575f4cbbe5) use --watch - [`873d057`](https://github.com/run-llama/create-llama/commit/873d057f8905608e1160319b60319c9fe0503069) structure fe components - [`7b73644`](https://github.com/run-llama/create-llama/commit/7b736448aeb3b637a031fc446b480accc18bab50) fix: lint - [`1ba5a58`](https://github.com/run-llama/create-llama/commit/1ba5a585f00489fca6a6b55ee13a12e402a45a08) refactor: detach read raw content function - [`0de6cc8`](https://github.com/run-llama/create-llama/commit/0de6cc86a06006f7a5b4a3a5be865792a3364669) fix: use read as text for other file types except image - [`d3c9f26`](https://github.com/run-llama/create-llama/commit/d3c9f2624fb8c1e261706c4aa86ec07fc93668f5) rename function ### 📊 Changes **17 files changed** (+46 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `templates/components/ui/html/chat/hooks/use-config.ts` (+0 -0) 📝 `templates/types/streaming/express/package.json` (+1 -1) 📝 `templates/types/streaming/nextjs/app/components/chat-section.tsx` (+1 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx` (+14 -10) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-avatar.tsx` (+0 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-events.tsx` (+3 -3) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-image.tsx` (+1 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-sources.tsx` (+9 -5) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-tools.tsx` (+2 -2) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/codeblock.tsx` (+2 -2) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/csv-content.tsx` (+2 -2) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/index.tsx` (+9 -9) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/markdown.tsx` (+0 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx` (+1 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-config.ts` (+0 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-copy-to-clipboard.tsx` (+0 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-csv.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved file upload handling in the chat input component to better process image and text files. - Updated various import paths to reflect new project structure for better maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <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-15 19:17:00 -05:00
yindo closed this issue 2026-02-15 19:17:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#273