Closed thucpn closed 1 month ago
Latest commit: d3c9f2624fb8c1e261706c4aa86ec07fc93668f5
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The recent updates primarily focus on reorganizing import paths and refactoring file handling logic across various components in a Next.js project. Key changes include updating import paths for several hooks and components, refactoring file upload handling in chat-input.tsx
, and ensuring consistency in import paths throughout the project.
Files | Change Summary |
---|---|
templates/types/streaming/express/package.json |
Modified dev script to use nodemon --watch dist/index.js instead of nodemon -q dist/index.js . |
.../nextjs/app/components/chat-section.tsx |
Updated import path for useClientConfig to a new location. |
.../nextjs/app/components/ui/chat/chat-input.tsx |
Refactored file upload handling, added readRawContent function, updated useCsv import path. |
.../nextjs/app/components/ui/chat/chat-message/chat-events.tsx |
Updated import paths for Button , Collapsible , and EventData . |
.../nextjs/app/components/ui/chat/chat-message/chat-image.tsx |
Updated import path for ImageData from "./index" to "../index" . |
.../nextjs/app/components/ui/chat/chat-message/chat-sources.tsx |
Reorganized import paths for various components and utilities. |
.../nextjs/app/components/ui/chat/chat-message/chat-tools.tsx |
Updated import paths for ToolData , WeatherCard , and WeatherData . |
.../nextjs/app/components/ui/chat/chat-message/codeblock.tsx |
Updated import paths for Button and useCopyToClipboard . |
.../nextjs/app/components/ui/chat/chat-message/csv-content.tsx |
Reorganized import statements for CsvData and UploadCsvPreview . |
.../nextjs/app/components/ui/chat/chat-message/index.tsx |
Reorganized imports and adjusted import paths for various components. |
.../nextjs/app/components/ui/chat/chat-messages.tsx |
Updated import path for useClientConfig to a new location within the hooks directory. |
.../nextjs/app/components/ui/chat/hooks/use-csv.ts |
Updated import statement for CsvFile to point to the ../chat directory. |
In the code where changes flow,
Paths realigned, imports now glow.
With hooks and files in harmony,
Components dance, refactored and free.
A rabbit's touch, a coder's dream,
Together we enhance the stream.
🌟✨🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit