Closed thucpn closed 2 weeks ago
Latest commit: 42d61f8399b124a8259d911bc8e4e8c0540bbc34
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
In the ChatInput
component of the Next.js application, enhancements have been made to the FileUploader
component. This includes a new configuration object that specifies which file extensions are allowed (jpg
, png
, jpeg
, csv
) and ensures the uploader is disabled when the isLoading
property is true. This aims to improve user experience and streamline file handling during chat interactions.
File | Change Summary |
---|---|
.../templates/types/streaming/.../chat-input.tsx |
Updated FileUploader component with new allowedExtensions list and disabled state based on props.isLoading . |
In our chat, a change we see, Files now flow with joyous glee. 📂✨ PNGs and JPGs, a welcome sight, While loading times pause the flight. Uploader shines with purpose clear, Enhancing our chat, bringing cheer! 🐇🎉
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?
@thucpn i guess we can close this for #140 ? if not feel free to reopen
Thank you @marcusschiesser . Can close it
Summary by CodeRabbit
New Features
Improvements