-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
feat(editor): Canvas chat UI & UX improvements #11924
Conversation
• Enhance chat input and layout • Add left panel slot to chat input • Update chat button labels and styles • Adjust font sizes and spacings • Improve message history navigation
• Implement createExecutionPromise function • Remove waitForExecution polling interval, add processResult • Update isLoading state management • Clean up unused code and imports
• Add close button to ChatMessagesPanel • Implement showCloseButton prop • Adjust header button styling • Emit close event from ChatMessagesPanel
- Enhance chat title and session display - Update disabled input background color - AI run content block styling - Adjust chat button appearance in node view
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OlegIvaniv unrelated to this PR: How hard would it be to stream back these steps when agent is used with different trigger (webhook, telegram, ...)? |
Thanks! Both should be addressed. Can you please re-review? |
Here we're relying on the websocket push events that we get in the editor like "afterNodeExecuted" so if we'd like to stream those, it should be doable by reusing some of the same logic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing! I would love to see just a bit more of left padding for that notice icon so it's not so flush with text edge but feel free to ignore 🙌🏻
n8n Run #8152
Run Properties:
|
Project |
n8n
|
Branch Review |
ai-474-chat-panel-improvements
|
Run status |
Passed #8152
|
Run duration | 04m 31s |
Commit |
1174d28f26: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
|
Committer | Oleg Ivaniv |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
0
|
Skipped |
0
|
Passing |
478
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
Summary
This PR introduces several improvements to the chat interface and workflow execution state handling
Changes
Chat UI Enhancements
allowedFilesMimeTypes
propertyVisual Improvements
Workflow Execution and Loading State
Related Linear tickets, Github issues, and Community forum posts
Chat_wiki_stream.mov
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)