-
Notifications
You must be signed in to change notification settings - Fork 3.3k
feat(chat): add 'add inputs' button to chat window #2057
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@waleedlatif1 for the add inputs, can you add the sockets events to chat.tsx? All throwaway code is commented in that file, but the UI conditional render portion is correct. |
Greptile Summary
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Chat
participant ChatResize
participant ChatStore
participant WorkflowExecution
User->>Chat: Open chat modal
Chat->>ChatStore: Get chat position and dimensions
ChatStore-->>Chat: Return position (x, y, width=330, height=286)
Chat->>Chat: Render chat at position
User->>Chat: Drag resize handle
Chat->>ChatResize: handleMouseMove(event)
ChatResize->>ChatResize: Calculate deltaX and deltaY
ChatResize->>ChatResize: Clamp deltas to viewport boundaries
ChatResize->>ChatStore: Update position and dimensions
ChatStore-->>Chat: Updated position applied
User->>Chat: Select workflow output
Chat->>ChatStore: setSelectedWorkflowOutput(workflowId, outputs)
User->>Chat: Send message
Chat->>WorkflowExecution: Execute workflow with input
WorkflowExecution-->>Chat: Return execution results
Chat->>Chat: Display messages
|
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.
7 files reviewed, 1 comment
Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format
063b7f0 to
bbd9111
Compare
Summary
Fixes chat dragging UX and workflow block UI improvement.
Chat has button to add inputs to start block.
Type of Change
Testing
Checklist