-
Notifications
You must be signed in to change notification settings - Fork 8.4k
feat: add file handling, UI enhancements, types, stores and dependencies #11276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: pr3-chat-input
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Move all message handling logic to chat-view/utils/ - Create message-event-handler.ts to handle build events - Create message-utils.ts for React Query cache operations - Update buildUtils.ts to delegate message events to chat-view - Remove MemoizedChatMessage to fix streaming updates - Simplify use-chat-history to use session cache as single source of truth - Support placeholder messages for immediate UI feedback - Handle streaming tokens with proper text accumulation
- Fix clearSessionMessages to use removeQueries instead of invalidateQueries - Prevents refetch that brings back deleted messages - Clear chat only works for default session, delete works for other sessions - Handle default session messages with null session_id (legacy)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## pr3-chat-input #11276 +/- ##
=================================================
Coverage ? 33.07%
=================================================
Files ? 1430
Lines ? 67516
Branches ? 9982
=================================================
Hits ? 22329
Misses ? 43995
Partials ? 1192
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
1f2eb55 to
99fec92
Compare
Adds file handling utilities, UI enhancements, type definitions, store updates, and dependency updates to support the chat interface.
Key Changes:
File Handling:
file-preview-display: Component for displaying file previews in messages
file-utils: Utilities for file processing, validation, and formatting
UI Enhancements:
animated-close: Enhanced animated close button component
simple-sidebar: Improved sidebar component
flow-page-sliding-container: Updated with container queries support (@container/chat-panel) for responsive design
FlowPage components: Updates to node toolbar and flow page layout
Style updates: CSS improvements for chat interface
Tailwind config: Added container queries plugin support
Type Definitions:
types/chat/index.ts: Chat-related TypeScript types (messages, sessions, etc.)
types/components/index.ts: Component prop types and interfaces
types/zustand/utility/index.ts: Zustand store utility types
Store Updates:
utilityStore.ts: Enhanced utility store with new functionality
Dependencies:
Updated package.json and package-lock.json with new dependencies needed for container queries and other features