-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Feat/playground messages #10800
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: feat/chat-header-feature
Are you sure you want to change the base?
Feat/playground messages #10800
Conversation
|
Important Review skippedDraft detected. 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 |
…ge components - Extract BotMessage component with memo for bot/AI responses - Extract UserMessage component with memo for user messages - Simplify chat-message.tsx as thin routing wrapper - Treat empty messages as bot messages - Update avatar styling (4px border radius, Langflow logo for bot, profile icon for user)
bce4d30 to
6b9db37
Compare
Changes
-> Add Messages component with chat history display
-> Split ChatMessage into separate UserMessage and BotMessage components
-> Add ErrorView component for error message display
-> Add message utilities: sortSenderMessages, convertFiles, formatFileName
-> Add useChatHistory hook for fetching and managing messages
-> Update message design: remove sender name labels, update avatar styling
-> Add tests for ChatMessage component
-> Replace any types with proper TypeScript types